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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9adf3a7bee21ade140141a007885695bba39c0f968216960f0b7736cdc995ab4
4
- data.tar.gz: 9d32f18cdd2517bd50456b2d5824ecfb01f1ba5de9752c5d7b43f42b3341f2df
3
+ metadata.gz: eb1a459de6e7028eb9a6c9a4aa50d8dfcb50f51366e6dacb3a0f30b20fd86f2e
4
+ data.tar.gz: 3f80116c1a62f95049f70868608f1adb45ca854cf8d9944be5b5db4d61011e19
5
5
  SHA512:
6
- metadata.gz: 8a4d51406523a7c93a59c49cf6ebb65af9e1659c3188ac2772f8a664a332be9c5608af669a48b23fb33d5e780d4a548a8e5b75fd3b82a8a79ff69661c76f485e
7
- data.tar.gz: 1e70b03b2026eba3e77ea20d570edbc9728140d88b6e0448f9290c762c2cb8fbf7b28bbcc1efce39e168244ac6e703aed843652aa4ca47acb85265205b09a785
6
+ metadata.gz: d1f267792e9cda26e31e5582dcc4a16a2c57e671f1ce61ff11365c2836d4320d980aa3a9092caa121110f44c93411d8b8fbc3e59ff43a98962aa9a4cc9f68550
7
+ data.tar.gz: f68be43db0fde35ee87bca4542893781833ce0fb67056d3b5462ad474caff8cd316845a85b786e25f04efbd21b2177e2d77059711898101763708f5dcb8cb093
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.5
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))
@@ -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.2"
27
- spec.add_dependency "sentry-ruby", "~> 5.2"
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.3.0"
38
+ spec.add_development_dependency "rubocop-govuk", "4.4.0"
39
39
  spec.add_development_dependency "webmock"
40
40
  end
@@ -53,6 +53,7 @@ module GovukError
53
53
  "Mongoid::Errors::DocumentNotFound",
54
54
  "Sinatra::NotFound",
55
55
  "Slimmer::IntermittentRetrievalError",
56
+ "Sidekiq::JobRetry::Skip",
56
57
  ]
57
58
 
58
59
  # This will exclude exceptions that are triggered by one of the ignored
@@ -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?
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "4.5.0".freeze
2
+ VERSION = "4.6.0".freeze
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: 4.5.0
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-04-08 00:00:00.000000000 Z
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.2'
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.2'
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.2'
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.2'
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.3.0
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.3.0
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.11
299
+ rubygems_version: 3.3.13
300
300
  signing_key:
301
301
  specification_version: 4
302
302
  summary: Base configuration for GOV.UK applications