govuk_app_config 5.0.0 → 5.1.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: 0bc71cc5bd08fd8564de90311775a22d6c9b6a11bfbda2924c8782be3c265ff9
4
- data.tar.gz: 6d28205894b18a2b5ceaaed55967d8a55aaf7ab4e375979b1366cf42fbcd98c7
3
+ metadata.gz: 043f58b5ab2db86cab41a12db947c9a22985a0cab93a0a673a313c026f9df172
4
+ data.tar.gz: 94ad0af53466f3cafcb59e967c69eafae770ed2abb4f75efca92b4f382d13044
5
5
  SHA512:
6
- metadata.gz: 87122fbe05b408cb3578e3b983e99451f5fe0898316f31f8e87107d4a09b50f0205ea803620af3a40dc2a0459015fcb67a898359a66aa998b092a9c2d143b2cd
7
- data.tar.gz: b4fe9f24dfe1f98efd3d5988f46f147b48bf869eb3e3901634efc4ceb6089d9735588d92a4574d822c68bfe9e8c219a572d69cab971c688a864b2f4e640d2052
6
+ metadata.gz: 334c9ea1a036cf06dde586d86af5a6d3bfbc89e22ea10e329c4f043341939815cab56eb1a8ede54eab398fc44c1cce08f04736d32a21bff74909b8590fccb55f
7
+ data.tar.gz: 3fad672d0d868f84ebe91db228f983b00818793b916f3ce503a28428d62fcf2568350978b235b81b6e01cbd0453628885c8d779e8f25e041bd0f773334d8df9d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 5.1.0
2
+
3
+ * Add support to force-load the GovukPrometheusExporter by setting `GOVUK_PROMETHEUS_EXPORTER` to `force`. ([#282](https://github.com/alphagov/govuk_app_config/pull/282))
4
+
1
5
  # 5.0.0
2
6
 
3
7
  * Forbid base elements in the Content Security Policy
@@ -37,6 +37,6 @@ Gem::Specification.new do |spec|
37
37
  spec.add_development_dependency "rake", "~> 13.0"
38
38
  spec.add_development_dependency "rspec", "~> 3.10"
39
39
  spec.add_development_dependency "rspec-its", "~> 1.3"
40
- spec.add_development_dependency "rubocop-govuk", "4.9.0"
40
+ spec.add_development_dependency "rubocop-govuk", "4.10.0"
41
41
  spec.add_development_dependency "webmock"
42
42
  end
@@ -1,6 +1,9 @@
1
1
  module GovukPrometheusExporter
2
2
  def self.should_configure
3
- if File.basename($PROGRAM_NAME) == "rake" ||
3
+ # Allow us to force the Prometheus Exporter for persistent Rake tasks...
4
+ if ENV["GOVUK_PROMETHEUS_EXPORTER"] == "force"
5
+ true
6
+ elsif File.basename($PROGRAM_NAME) == "rake" ||
4
7
  defined?(Rails) && (Rails.const_defined?("Console") || Rails.env == "test")
5
8
  false
6
9
  else
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "5.0.0".freeze
2
+ VERSION = "5.1.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: 5.0.0
4
+ version: 5.1.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: 2023-01-26 00:00:00.000000000 Z
11
+ date: 2023-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstasher
@@ -252,14 +252,14 @@ dependencies:
252
252
  requirements:
253
253
  - - '='
254
254
  - !ruby/object:Gem::Version
255
- version: 4.9.0
255
+ version: 4.10.0
256
256
  type: :development
257
257
  prerelease: false
258
258
  version_requirements: !ruby/object:Gem::Requirement
259
259
  requirements:
260
260
  - - '='
261
261
  - !ruby/object:Gem::Version
262
- version: 4.9.0
262
+ version: 4.10.0
263
263
  - !ruby/object:Gem::Dependency
264
264
  name: webmock
265
265
  requirement: !ruby/object:Gem::Requirement
@@ -336,7 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
336
336
  - !ruby/object:Gem::Version
337
337
  version: '0'
338
338
  requirements: []
339
- rubygems_version: 3.4.5
339
+ rubygems_version: 3.4.7
340
340
  signing_key:
341
341
  specification_version: 4
342
342
  summary: Base configuration for GOV.UK applications