govuk_app_config 9.23.9 → 9.23.11

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: 8f051f8f922ce9d488a41fec6fadb061481325266a2b6e8f2cb66e2b604b3316
4
- data.tar.gz: 245e669207f16f32cd0a810904c7040e06215e096eaa6c04615452fcf8bd843e
3
+ metadata.gz: 54e785d934529723a806a02358645b31c8c03bd72e251a643513d047bb7ef452
4
+ data.tar.gz: 12925b7c541b557d566d6f2bb528b0f6de678f75d006418c0bfac5320c492eac
5
5
  SHA512:
6
- metadata.gz: 5e670b32b2d4d86b1ccda4f5ff6c76dfe0b70aeb4b6f5812fbe3d5b52fe21e3de270f9b3526e8812f556cb54edd6c74b7428130b38dfde595f942b1b3b00501c
7
- data.tar.gz: 857dec3b9eb73e61a641f434c1e86e38471ac009974bc33b2aa66ee0ffb6af6b340dd0f632d1599a8f26acaa9e248b7522b08dd40a1f733ee73cb3aa41b634c5
6
+ metadata.gz: 20d67876f5fc6314e810ad606dd7e81ebb48bb77ce1f0ec4bceef2c628a81733af662a3e9e9600008ff1cf4256ea0497d8fea6408fd2260c96c3ea8991764215
7
+ data.tar.gz: 485813b2a9ef2366e0fa2f1ec761a613b85418fec78b12107274812f7a85f7ac7d2189245f3aa0e0ad4df1956a036b9bddad8df5ff764133926404aa93d41e94
@@ -1,10 +1,16 @@
1
+ ---
1
2
  version: 2
2
3
  updates:
3
4
  - package-ecosystem: bundler
4
- directory: "/"
5
+ directory: /
5
6
  schedule:
6
7
  interval: daily
7
- - package-ecosystem: "github-actions"
8
- directory: "/"
8
+ cooldown:
9
+ default-days: 10
10
+ - package-ecosystem: github-actions
11
+ directory: /
9
12
  schedule:
10
13
  interval: daily
14
+ cooldown:
15
+ default-days: 10
16
+ ...
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ # 9.23.11
2
+
3
+ * Fix dual boot of Logstasher configuration
4
+ * Add request_uri to rails log fields
5
+
6
+ # 9.23.10
7
+
8
+ * Set dependency cooldowns in Dependabot
9
+
1
10
  # 9.23.9
2
11
 
3
12
  * Fix Logstasher JSON logger initialisation problems in Rails apps
@@ -16,6 +16,10 @@ module GovukJsonLogging
16
16
  end
17
17
 
18
18
  def self.configure(&block)
19
+ return if @configured
20
+
21
+ @configured = true
22
+
19
23
  # Fixes the monkey patch from the logstasher gem to support Rails 7
20
24
  config = Rails.application.config.logstasher
21
25
  if (!config.controller_monkey_patch && config.controller_monkey_patch != false) || config.controller_monkey_patch == true
@@ -52,6 +56,7 @@ module GovukJsonLogging
52
56
  # Mirrors Nginx request logging, e.g. GET /path/here HTTP/1.1
53
57
  fields[:request] = "#{request.request_method} #{request.fullpath} #{request.headers['SERVER_PROTOCOL']}"
54
58
 
59
+ fields[:request_uri] = request.fullpath
55
60
  fields[:govuk_request_id] = request.headers["GOVUK-Request-Id"]
56
61
  fields[:varnish_id] = request.headers["X-Varnish"]
57
62
  fields[:govuk_app_config] = GovukAppConfig::VERSION
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "9.23.9".freeze
2
+ VERSION = "9.23.11".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.9
4
+ version: 9.23.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev