govuk_app_config 4.5.0 → 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +5 -0
- data/govuk_app_config.gemspec +3 -3
- data/lib/govuk_app_config/govuk_error/configuration.rb +1 -0
- data/lib/govuk_app_config/govuk_error.rb +4 -0
- data/lib/govuk_app_config/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb1a459de6e7028eb9a6c9a4aa50d8dfcb50f51366e6dacb3a0f30b20fd86f2e
|
4
|
+
data.tar.gz: 3f80116c1a62f95049f70868608f1adb45ca854cf8d9944be5b5db4d61011e19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1f267792e9cda26e31e5582dcc4a16a2c57e671f1ce61ff11365c2836d4320d980aa3a9092caa121110f44c93411d8b8fbc3e59ff43a98962aa9a4cc9f68550
|
7
|
+
data.tar.gz: f68be43db0fde35ee87bca4542893781833ce0fb67056d3b5462ad474caff8cd316845a85b786e25f04efbd21b2177e2d77059711898101763708f5dcb8cb093
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.7.
|
1
|
+
2.7.6
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
# 4.6.0
|
2
|
+
|
3
|
+
- Add a warning for apps using GovukError with Sidekiq that don't have sentry-sidekiq installed ([#241](https://github.com/alphagov/govuk_app_config/pull/241)).
|
4
|
+
- Add internal Sidekiq exception "Sidekiq::JobRetry::Skip" to excluded exceptions ([#241](https://github.com/alphagov/govuk_app_config/pull/241)).
|
5
|
+
|
1
6
|
# 4.5.0
|
2
7
|
|
3
8
|
- Add lux.speedcurve.com to connect_src for GOV.UK Content Security Policy ([#232](https://github.com/alphagov/govuk_app_config/pull/232))
|
data/govuk_app_config.gemspec
CHANGED
@@ -23,8 +23,8 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_dependency "logstasher", "~> 2.1"
|
24
24
|
spec.add_dependency "prometheus_exporter", "~> 2.0"
|
25
25
|
spec.add_dependency "puma", "~> 5.6"
|
26
|
-
spec.add_dependency "sentry-rails", "~> 5.
|
27
|
-
spec.add_dependency "sentry-ruby", "~> 5.
|
26
|
+
spec.add_dependency "sentry-rails", "~> 5.3"
|
27
|
+
spec.add_dependency "sentry-ruby", "~> 5.3"
|
28
28
|
spec.add_dependency "statsd-ruby", "~> 1.5"
|
29
29
|
spec.add_dependency "unicorn", "~> 6.1"
|
30
30
|
|
@@ -35,6 +35,6 @@ Gem::Specification.new do |spec|
|
|
35
35
|
spec.add_development_dependency "rake", "~> 13.0"
|
36
36
|
spec.add_development_dependency "rspec", "~> 3.10"
|
37
37
|
spec.add_development_dependency "rspec-its", "~> 1.3"
|
38
|
-
spec.add_development_dependency "rubocop-govuk", "4.
|
38
|
+
spec.add_development_dependency "rubocop-govuk", "4.4.0"
|
39
39
|
spec.add_development_dependency "webmock"
|
40
40
|
end
|
@@ -34,6 +34,10 @@ module GovukError
|
|
34
34
|
def self.configure
|
35
35
|
raise GovukError::AlreadyInitialised if is_configured?
|
36
36
|
|
37
|
+
if defined?(Sidekiq) && !defined?(Sentry::Sidekiq)
|
38
|
+
warn "Warning: GovukError is not configured to track Sidekiq errors, install the sidekiq-sentry gem to track them."
|
39
|
+
end
|
40
|
+
|
37
41
|
Sentry.init do |sentry_config|
|
38
42
|
config = Configuration.new(sentry_config)
|
39
43
|
yield config if block_given?
|
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: 4.
|
4
|
+
version: 4.6.0
|
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: 2022-
|
11
|
+
date: 2022-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstasher
|
@@ -58,28 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '5.
|
61
|
+
version: '5.3'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '5.
|
68
|
+
version: '5.3'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: sentry-ruby
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '5.
|
75
|
+
version: '5.3'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '5.
|
82
|
+
version: '5.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: statsd-ruby
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,14 +212,14 @@ dependencies:
|
|
212
212
|
requirements:
|
213
213
|
- - '='
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: 4.
|
215
|
+
version: 4.4.0
|
216
216
|
type: :development
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
220
|
- - '='
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: 4.
|
222
|
+
version: 4.4.0
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: webmock
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -296,7 +296,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
296
296
|
- !ruby/object:Gem::Version
|
297
297
|
version: '0'
|
298
298
|
requirements: []
|
299
|
-
rubygems_version: 3.3.
|
299
|
+
rubygems_version: 3.3.13
|
300
300
|
signing_key:
|
301
301
|
specification_version: 4
|
302
302
|
summary: Base configuration for GOV.UK applications
|