govuk_app_config 4.0.0.pre.1 → 4.0.0.pre.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b08ba5468f1f0639c3dab2c7067d7a3acff2169ce85a246ceb2a976b04686a7
4
- data.tar.gz: ce9d8876d37175726d4aa81633e4b11232975dd3d65d24bca6ac58b219248b09
3
+ metadata.gz: b1a08f51ba88f28b8694fd0f40f94a92ac053a424b25e860b5795e96da7431b7
4
+ data.tar.gz: 6dd0f7061f779450c5fdc029002dc5474070306daa5acf3de5f78a9867667c93
5
5
  SHA512:
6
- metadata.gz: a0eb71467c7fa26805e5606bec9f96312c6bb5e0f0d0ef3b93e1a8cfa5d556164f5ac537c9606416724eb93acbef298f57163a16876ddb5ba48b5dea05c94227
7
- data.tar.gz: cae07877f651a180c2c62a7fd32a15714421e2dfee5c7fda5957d7601d5cd99c57e110c3b2071d7d5a4dac62c924e662c1dc70379f206b5de849ac373999d3e4
6
+ metadata.gz: 47c5d3a3da84267ef909d3de765bd60a0af8587bc6712523ee8ca44ccb9bc74f7fc76a0b21b413437f2ea7d35829acb77589b8f29c86904876dd88ad23a0845d
7
+ data.tar.gz: 7ebb2c404c7abde0e16c1b22c63d523491ff70465161e806c3a91a3911e6cddebb406b7b774add5668aaf793a2dab6659f1629eb2c9bc575ba0c782927544cc9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 4.0.0.pre-2
2
+
3
+ - Fix default Sentry configuration ([#202](https://github.com/alphagov/govuk_app_config/pull/202)).
4
+ - BREAKING: this means no more `silence_ready` or `transport_failure_callback` options.
5
+
1
6
  # 4.0.0.pre-1
2
7
 
3
8
  - BREAKING: upgrades Sentry gem from `sentry-raven` to `sentry-ruby` ([#199](https://github.com/alphagov/govuk_app_config/pull/199)). There is a **[migration guide](https://docs.sentry.io/platforms/ruby/migration/)** you should follow before upgrading to this version of govuk_app_config.
@@ -1,6 +1,4 @@
1
1
  GovukError.configure do |config|
2
- config.silence_ready = !Rails.env.production? if defined?(Rails)
3
-
4
2
  # These are the environments (described by the `SENTRY_CURRENT_ENV`
5
3
  # ENV variable) where we want to capture Sentry errors. If
6
4
  # `SENTRY_CURRENT_ENV` isn't in this list, or isn't defined, then
@@ -61,8 +59,4 @@ GovukError.configure do |config|
61
59
  config.before_send = lambda { |error_or_event, _hint|
62
60
  error_or_event
63
61
  }
64
-
65
- config.transport_failure_callback = proc {
66
- GovukStatsd.increment("error_reports_failed")
67
- }
68
62
  end
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "4.0.0.pre.1".freeze
2
+ VERSION = "4.0.0.pre.2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_app_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.pre.1
4
+ version: 4.0.0.pre.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev