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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/govuk_app_config/govuk_error/configure.rb +0 -6
- data/lib/govuk_app_config/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1a08f51ba88f28b8694fd0f40f94a92ac053a424b25e860b5795e96da7431b7
|
4
|
+
data.tar.gz: 6dd0f7061f779450c5fdc029002dc5474070306daa5acf3de5f78a9867667c93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|