govuk_app_config 2.1.0 → 2.1.1
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/govuk_app_config.gemspec +1 -1
- data/lib/govuk_app_config/configure.rb +23 -12
- data/lib/govuk_app_config/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 92b9d378095e01342301249ba34628694fbc7784a59db98d7850e9a46decdd7e
|
|
4
|
+
data.tar.gz: 43fde858563d2083fd913df8f273e152ec0b371d6e9f5f391f37a4c3a49cbfeb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 462cbe5e3a37df178cdafb4528f812329219559b42305cb6ad425ecfcf541308ca3a5a00a0a62ba923f333757440acd5d35818ccfb498822c0218731a912ea2b
|
|
7
|
+
data.tar.gz: 50c79c8cd7d3c53dd4cdd9d55dff59b548a4aebc2916b9c3f49097741557363e3707827917fc14d619614761542c352b0f924708ca81d749dc9fbc837a64dded
|
data/CHANGELOG.md
CHANGED
data/govuk_app_config.gemspec
CHANGED
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
|
23
23
|
spec.require_paths = %w[lib]
|
|
24
24
|
|
|
25
25
|
spec.add_dependency "logstasher", ">= 1.2.2", "< 1.4.0"
|
|
26
|
-
spec.add_dependency "sentry-raven", ">= 2.7.1", "<
|
|
26
|
+
spec.add_dependency "sentry-raven", ">= 2.7.1", "< 3.1.0"
|
|
27
27
|
spec.add_dependency "statsd-ruby", "~> 1.4.0"
|
|
28
28
|
spec.add_dependency "unicorn", ">= 5.4", "< 5.6"
|
|
29
29
|
|
|
@@ -8,14 +8,29 @@ GovukError.configure do |config|
|
|
|
8
8
|
config.silence_ready = !Rails.env.production? if defined?(Rails)
|
|
9
9
|
|
|
10
10
|
config.excluded_exceptions = [
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
11
|
+
# default Rails rescue responses
|
|
12
|
+
"ActionController::RoutingError",
|
|
13
|
+
"AbstractController::ActionNotFound",
|
|
14
|
+
"ActionController::MethodNotAllowed",
|
|
15
|
+
"ActionController::UnknownHttpMethod",
|
|
16
|
+
"ActionController::NotImplemented",
|
|
17
|
+
"ActionController::UnknownFormat",
|
|
18
|
+
"Mime::Type::InvalidMimeType",
|
|
19
|
+
"ActionController::MissingExactTemplate",
|
|
20
|
+
"ActionController::InvalidAuthenticityToken",
|
|
21
|
+
"ActionController::InvalidCrossOriginRequest",
|
|
22
|
+
"ActionDispatch::Http::Parameters::ParseError",
|
|
23
|
+
"ActionController::BadRequest",
|
|
24
|
+
"ActionController::ParameterMissing",
|
|
25
|
+
"Rack::QueryParser::ParameterTypeError",
|
|
26
|
+
"Rack::QueryParser::InvalidParameterError",
|
|
27
|
+
# additional items
|
|
28
|
+
"ActiveJob::DeserializationError",
|
|
29
|
+
"CGI::Session::CookieStore::TamperedWithCookie",
|
|
30
|
+
"GdsApi::HTTPIntermittentServerError",
|
|
31
|
+
"GdsApi::TimedOutException",
|
|
32
|
+
"Mongoid::Errors::DocumentNotFound",
|
|
33
|
+
"Sinatra::NotFound",
|
|
19
34
|
]
|
|
20
35
|
|
|
21
36
|
# This will exclude exceptions that are triggered by one of the ignored
|
|
@@ -26,8 +41,4 @@ GovukError.configure do |config|
|
|
|
26
41
|
config.transport_failure_callback = Proc.new {
|
|
27
42
|
GovukStatsd.increment("error_reports_failed")
|
|
28
43
|
}
|
|
29
|
-
|
|
30
|
-
# This stops exceptions rescued by rails from appearing in Sentry.
|
|
31
|
-
# See https://www.rubydoc.info/gems/sentry-raven/1.2.2/Raven%2FConfiguration:rails_report_rescued_exceptions
|
|
32
|
-
config.rails_report_rescued_exceptions = false
|
|
33
44
|
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.
|
|
4
|
+
version: 2.1.1
|
|
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-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logstasher
|
|
@@ -39,7 +39,7 @@ dependencies:
|
|
|
39
39
|
version: 2.7.1
|
|
40
40
|
- - "<"
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
|
-
version:
|
|
42
|
+
version: 3.1.0
|
|
43
43
|
type: :runtime
|
|
44
44
|
prerelease: false
|
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -49,7 +49,7 @@ dependencies:
|
|
|
49
49
|
version: 2.7.1
|
|
50
50
|
- - "<"
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
|
-
version:
|
|
52
|
+
version: 3.1.0
|
|
53
53
|
- !ruby/object:Gem::Dependency
|
|
54
54
|
name: statsd-ruby
|
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|