govuk_app_config 9.23.2 → 9.23.3

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: c38ac458e8f9a487fe3474b2eea286497051e62618fb8ca9d90d52e82f60fc41
4
- data.tar.gz: fbe86aba2f645474a17377768f18c7a127bf44a6de23d7e3855bf31b8aac7345
3
+ metadata.gz: 7e29d39990d8324b9a6db15d6e8434101e8ff8855dbdf3e63b80421b6281d0f2
4
+ data.tar.gz: edd4afffee867ab94b7718c2ec3fc5eaf3ccdbd289d3076fde05d3479a754ca8
5
5
  SHA512:
6
- metadata.gz: 1f01217c32079264ebdb686615893131d5f6d8acc164f1975bc5702fff6f39691f757b35382ec72460bf43f5e1188ca8722b3c2e6599dcf589b7c0ccd90fa4cf
7
- data.tar.gz: 1b3e22b4ca8c36caf1a41576e68cd9a5984553244866b49c5750728736fe9039d2b09dc986317a770c7c5cf01597c0f3207ec344e23c7e40a1b92d2a0737ab1e
6
+ metadata.gz: efd14d2baa6b0cdaf5b99bbcfb5a55cce03c7e98407de24c665d18ba2586282b73778dddfa466b7b7de811a526f076a73c5659beac3ae1723e7885ef543ee129
7
+ data.tar.gz: 7e78c23e09ae1e7a389aa0c0a1d8956d04afc21c0ee60c0cae1a80b4325a2e44bf302b0b45ce934c7e8e4ad048bafc11e6673ff10c93f984c69d42ee45538e55
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 9.23.3
2
+
3
+ * Fix crash on boot for Rails 8.1 apps by delaying `GovukJsonLogging` configuration to `after_initialize`. This ensures it runs after Logstasher is initialized.
4
+
1
5
  # 9.23.2
2
6
 
3
7
  * Allow sentry-ruby 6.x
@@ -31,11 +31,8 @@ module GovukAppConfig
31
31
  GovukTimezone.configure(app.config)
32
32
  end
33
33
 
34
- config.before_initialize do
35
- GovukJsonLogging.configure if ENV["GOVUK_RAILS_JSON_LOGGING"]
36
- end
37
-
38
34
  config.after_initialize do
35
+ GovukJsonLogging.configure if ENV["GOVUK_RAILS_JSON_LOGGING"]
39
36
  GovukError.configure unless GovukError.is_configured?
40
37
  end
41
38
  end
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "9.23.2".freeze
2
+ VERSION = "9.23.3".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_app_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.23.2
4
+ version: 9.23.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev