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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06427a145a23e987f54b23bd89d4b2f591ce6fafd2fa17b2ed3154e5b8eb1aa2
4
- data.tar.gz: 4c1d54b74d7f9dbff47497247d2d810d52c998ada36a54669689194c008a427f
3
+ metadata.gz: c1ffa73986115bdbf55b27bf1663cbe459479d3a4c3e4bc47e5ec4da6336b8f5
4
+ data.tar.gz: 842f49ba55d3a07c378aa7f7ee10b2f31faa6e21ccb1e7b4db71f3744095f1f5
5
5
  SHA512:
6
- metadata.gz: 9af362bd45ab6d01659695e656bc1d9149fcd06ad780f05f656c6e6fef83cf9e85d2c69ae3062401a9a9229dbb3e78163abda45cb3167096c7479f230a9f2fa5
7
- data.tar.gz: a8681fd00099c7b2cd619d0a148003123df6dc95f04f8960dae3ca1e01185c68a8e736163a19f536b62d6a8d215480abb45ca31157d0f498b40741e9a4b47787
6
+ metadata.gz: a8167888963345172236ef575b8d0a321fb9b76d3df7592ad67b18c06418f3ff5ca282158b7e5eb0a2ffd2ebba85e511133d1a34539461da9dffa9b521be1dad
7
+ data.tar.gz: cb0df67028656649d384e0e9d073f3073e76ac5a61130f29f75bfc80b7891072ae29544a50231c459f8b261b7de7f6cf1691e7170f2448cbc250333e6fea51b3
@@ -1,3 +1,7 @@
1
+ # 1.11.2
2
+
3
+ * Fix crash on start due to incorrect method invocation.
4
+
1
5
  # 1.11.1
2
6
 
3
7
  * Fix crash on start due to incorrect method invocation.
@@ -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 self.enable_railtie_for?('xray')
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 self.enable_railtie_for?('xray')
12
+ GovukXRay.start if Rails.env.production? && !ENV.has_key?("GOVUK_APP_CONFIG_DISABLE_XRAY")
17
13
  end
18
14
  end
19
15
  end
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "1.11.1"
2
+ VERSION = "1.11.2"
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: 1.11.1
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-03 00:00:00.000000000 Z
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