govuk_app_config 2.1.1 → 2.1.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 -1
- data/lib/govuk_app_config/configure.rb +7 -2
- data/lib/govuk_app_config/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00db6acb8d6b3c6f2682914794f02ff946e3ced2dccde8ae5c999d06814327c6
|
4
|
+
data.tar.gz: 897ae29ceea331b4f66fe2d247e7e61f1d87c518d994e9515f81e3f229b9be2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 963bd2ee9b438f29988b85d9ae1a8c4e5fdbe198fe6221b963b66782011acd270654640280eaefcc133626dde8a85750a407cb016a511b749a09530863dd366e
|
7
|
+
data.tar.gz: 40658b4718d1f74d864d5d6ac26753b6a18906fcb72669d04787e5ff56ccc805d2c348d14282108cc92cc99bcc941a88333446e1a475579c365240bda3fc38f5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
+
# 2.1.2
|
2
|
+
|
3
|
+
* Add missing ActiveRecord rescue_responses (https://github.com/alphagov/govuk_app_config/pull/142)
|
4
|
+
|
1
5
|
# 2.1.1
|
2
6
|
|
3
|
-
* Revert using
|
7
|
+
* Revert using sentry option of rails_report_rescued_exceptions (https://github.com/alphagov/govuk_app_config/pull/140)
|
4
8
|
|
5
9
|
# 2.1.0
|
6
10
|
|
@@ -8,7 +8,7 @@ GovukError.configure do |config|
|
|
8
8
|
config.silence_ready = !Rails.env.production? if defined?(Rails)
|
9
9
|
|
10
10
|
config.excluded_exceptions = [
|
11
|
-
#
|
11
|
+
# Default ActionDispatch rescue responses
|
12
12
|
"ActionController::RoutingError",
|
13
13
|
"AbstractController::ActionNotFound",
|
14
14
|
"ActionController::MethodNotAllowed",
|
@@ -24,7 +24,12 @@ GovukError.configure do |config|
|
|
24
24
|
"ActionController::ParameterMissing",
|
25
25
|
"Rack::QueryParser::ParameterTypeError",
|
26
26
|
"Rack::QueryParser::InvalidParameterError",
|
27
|
-
#
|
27
|
+
# Default ActiveRecord rescue responses
|
28
|
+
"ActiveRecord::RecordNotFound",
|
29
|
+
"ActiveRecord::StaleObjectError",
|
30
|
+
"ActiveRecord::RecordInvalid",
|
31
|
+
"ActiveRecord::RecordNotSaved",
|
32
|
+
# Additional items
|
28
33
|
"ActiveJob::DeserializationError",
|
29
34
|
"CGI::Session::CookieStore::TamperedWithCookie",
|
30
35
|
"GdsApi::HTTPIntermittentServerError",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_app_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstasher
|