govuk_app_config 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92b9d378095e01342301249ba34628694fbc7784a59db98d7850e9a46decdd7e
4
- data.tar.gz: 43fde858563d2083fd913df8f273e152ec0b371d6e9f5f391f37a4c3a49cbfeb
3
+ metadata.gz: 00db6acb8d6b3c6f2682914794f02ff946e3ced2dccde8ae5c999d06814327c6
4
+ data.tar.gz: 897ae29ceea331b4f66fe2d247e7e61f1d87c518d994e9515f81e3f229b9be2a
5
5
  SHA512:
6
- metadata.gz: 462cbe5e3a37df178cdafb4528f812329219559b42305cb6ad425ecfcf541308ca3a5a00a0a62ba923f333757440acd5d35818ccfb498822c0218731a912ea2b
7
- data.tar.gz: 50c79c8cd7d3c53dd4cdd9d55dff59b548a4aebc2916b9c3f49097741557363e3707827917fc14d619614761542c352b0f924708ca81d749dc9fbc837a64dded
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 Sentry option of rails_report_rescued_exceptions (https://github.com/alphagov/govuk_app_config/pull/140)
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
- # default Rails rescue responses
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
- # additional items
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",
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
  end
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.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-17 00:00:00.000000000 Z
11
+ date: 2020-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstasher