govuk_app_config 1.11.1 → 1.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/govuk_app_config/railtie.rb +2 -6
- data/lib/govuk_app_config/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1ffa73986115bdbf55b27bf1663cbe459479d3a4c3e4bc47e5ec4da6336b8f5
|
4
|
+
data.tar.gz: 842f49ba55d3a07c378aa7f7ee10b2f31faa6e21ccb1e7b4db71f3744095f1f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8167888963345172236ef575b8d0a321fb9b76d3df7592ad67b18c06418f3ff5ca282158b7e5eb0a2ffd2ebba85e511133d1a34539461da9dffa9b521be1dad
|
7
|
+
data.tar.gz: cb0df67028656649d384e0e9d073f3073e76ac5a61130f29f75bfc80b7891072ae29544a50231c459f8b261b7de7f6cf1691e7170f2448cbc250333e6fea51b3
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,7 @@
|
|
1
1
|
module GovukAppConfig
|
2
2
|
class Railtie < Rails::Railtie
|
3
|
-
def self.enable_railtie_for?(name)
|
4
|
-
Rails.env.production? && !ENV.has_key?("GOVUK_APP_CONFIG_DISABLE_#{name.upcase}")
|
5
|
-
end
|
6
|
-
|
7
3
|
initializer('govuk_app_config') do |app|
|
8
|
-
GovukXRay.initialize(app) if
|
4
|
+
GovukXRay.initialize(app) if Rails.env.production? && !ENV.has_key?("GOVUK_APP_CONFIG_DISABLE_XRAY")
|
9
5
|
end
|
10
6
|
|
11
7
|
config.before_initialize do
|
@@ -13,7 +9,7 @@ module GovukAppConfig
|
|
13
9
|
end
|
14
10
|
|
15
11
|
config.after_initialize do
|
16
|
-
GovukXRay.start if
|
12
|
+
GovukXRay.start if Rails.env.production? && !ENV.has_key?("GOVUK_APP_CONFIG_DISABLE_XRAY")
|
17
13
|
end
|
18
14
|
end
|
19
15
|
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: 1.11.
|
4
|
+
version: 1.11.2
|
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: 2019-01-
|
11
|
+
date: 2019-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-xray-sdk
|