Skip to content

Commit

Permalink
Merge pull request #12 from alphagov/bump-raven
Browse files Browse the repository at this point in the history
Bump Sentry client to 2.7.0
  • Loading branch information
tijmenb authored Oct 11, 2017
2 parents 2ba3980 + 8197f82 commit e7e3e6e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.0
2.4.2
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog

* Add Unicorn (our web server) as a dependency. Make sure to drop `gem 'unicorn'` from your Gemfile after upgrading.
* Use version [2.7.0 of the Sentry client][sentry-270].

[sentry-270]: https://github.com/getsentry/raven-ruby/commit/ef623824cb0a8a2f60be5fb7e12f80454da54fd7

## 0.3.0

Expand Down
2 changes: 1 addition & 1 deletion govuk_app_config.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

spec.add_dependency "statsd-ruby", "~> 1.4.0"
spec.add_dependency "sentry-raven", "~> 2.6.3"
spec.add_dependency "sentry-raven", "~> 2.7.0"
spec.add_dependency "unicorn", "~> 5.3.1"

spec.add_development_dependency "bundler", "~> 1.15"
Expand Down
3 changes: 0 additions & 3 deletions lib/govuk_app_config/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
end

GovukError.configure do |config|
# We need this until https://github.com/getsentry/raven-ruby/pull/736 is released
config.current_environment = ENV["SENTRY_CURRENT_ENV"]

# We're misusing the `should_capture` block here to hook into raven until
# there's a better way: https://github.com/getsentry/raven-ruby/pull/750
config.should_capture = Proc.new {
Expand Down

0 comments on commit e7e3e6e

Please sign in to comment.