govuk_app_config 4.7.0 → 4.7.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4980a3e44e9119b3542865caa4e07b57078c535e0eca7f3b6fb9952cf602080a
|
4
|
+
data.tar.gz: 8bcd1e8e02392e09241501dd23936a959d883833683aa1c9087938fbe095548d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd601933a5242b4e06135e36c5254b78002336cdac975726a4bde1eabb205827d797b175b5a50b52d5b0ef9536b5f74e1e9d56cda42910b8f144cea27bb5df63
|
7
|
+
data.tar.gz: 003c1505e61831f46160a768a4f990811b0513f94dce388d4cdc00242df74cf2812e3e1ff70a405d2e4d0c24d2ebb1694d0e8b6edef3d971523125cd8ceedc58
|
@@ -1,6 +1,11 @@
|
|
1
1
|
module GovukPrometheusExporter
|
2
2
|
def self.should_configure
|
3
|
-
|
3
|
+
if File.basename($PROGRAM_NAME) == "rake" ||
|
4
|
+
defined?(Rails) && (Rails.const_defined?("Console") || Rails.env == "test")
|
5
|
+
false
|
6
|
+
else
|
7
|
+
ENV["GOVUK_PROMETHEUS_EXPORTER"] == "true"
|
8
|
+
end
|
4
9
|
end
|
5
10
|
|
6
11
|
def self.configure
|
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.7.
|
4
|
+
version: 4.7.1
|
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-08-
|
11
|
+
date: 2022-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstasher
|