Skip to content

Commit

Permalink
upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
markushausammann committed Jul 27, 2017
1 parent 69f50ec commit 1e32405
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ protected function setupExceptionLogging(MvcEvent $event)
protected function setupJavascriptLogging(MvcEvent $event)
{
$viewHelper = $event->getApplication()->getServiceManager()->get('ViewHelperManager')->get('headscript');
$viewHelper->offsetSetFile(0, '//cdn.ravenjs.com/3.8.0/raven.min.js');
$viewHelper->offsetSetFile(0, '//cdn.ravenjs.com/3.17.0/raven.min.js');
$publicApiKey = $this->convertKeyToPublic($this->config['zend-sentry']['sentry-api-key']);
$viewHelper->offsetSetScript(1, sprintf("Raven.config('%s').install()", $publicApiKey));
}
Expand All @@ -238,4 +238,6 @@ private function convertKeyToPublic($key)

return $publicKey;
}


}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
A Zend Framework 2 module that lets you log exceptions, errors or whatever you wish to the Sentry service.
A Zend Framework module that lets you log exceptions, errors or whatever you wish to the Sentry service.

Scrutizier analysis: [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/cloud-solutions/zend-sentry/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/cloud-solutions/zend-sentry/?branch=master) [![Build Status](https://scrutinizer-ci.com/g/cloud-solutions/zend-sentry/badges/build.png?b=master)](https://scrutinizer-ci.com/g/cloud-solutions/zend-sentry/build-status/master)

ZendSentry is released under the New BSD License.

The current version of ZendSentry for ZF3 is `3.1.1`. It supports Zend Framework >= 3.0. For other versions see tags in the 1.* series as well as 2.* series.
The current version of ZendSentry for ZF3 is `3.2.0`. It supports Zend Framework >= 3.0. For other versions see tags in the 1.* series as well as 2.* series.

#Latest Changes
- possibility to add extra context to the log event
Expand Down Expand Up @@ -50,7 +50,7 @@ In your project's `composer.json` use:

{
"require": {
"cloud-solutions/zend-sentry": "3.1.1"
"cloud-solutions/zend-sentry": "3.2.0"
}

Run `php composer.phar update` to download it into your vendor folder and setup autoloading.
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "cloud-solutions/zend-sentry",
"description": "A Zend Framework 2 module that lets you log to the Sentry service.",
"description": "A Zend Framework module that lets you log to the Sentry service.",
"keywords": ["log", "logging", "sentry", "raven", "zend-framework"],
"homepage": "https://github.com/cloud-solutions/zend-sentry",
"type": "library",
"version": "3.1.1",
"version": "3.2.0",
"license": "New BSD License",
"authors": [
{
Expand All @@ -14,7 +14,7 @@
],
"require": {
"php": "^5.5 || ^7.0",
"sentry/sentry": "1.5.0"
"sentry/sentry": "^1.7.0"
},
"conflict": {
"zendframework/zendframework": "<3.0.0"
Expand Down

0 comments on commit 1e32405

Please sign in to comment.