govuk_app_config 1.11.3 → 1.12.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: 664daea82c896eb6e724c17dbaa3f6cabd36456c889baf949e369439080c01e8
4
- data.tar.gz: 313a0fc6939f31da8933c424b99816f0c79096a2b58885bae95505d4e0464d4e
3
+ metadata.gz: ed4791663491d28ccdc275637220b357cf19f11c9b19f8b403521ac9549d7217
4
+ data.tar.gz: 6c387bd8d72e5e2f0da829840ea649532e977ae2db548a4085de95696b0c9bd2
5
5
  SHA512:
6
- metadata.gz: 646cb2237c5cb18a0a8994f690b25145b68a4e34e92de8eca3259d57a5347c86555088e82a587fd91ae38c211d77884594eac9c30e02d1b0e4f4fa76a335bf21
7
- data.tar.gz: a372e29aa081cc9fecfa3cf0895fa935329d7d58874d5eef7d19f4e2ed6832adf7a5f09d24c375638d745015de0f38e049d72a449cac6b3567f000145c368e3e
6
+ metadata.gz: b9e384cbb4a039340d958dd1079108e5d4dbc5b32b500309e4ddf6aabf8a88f1694841e71e0d515de163c9482fd5ebde44c814272e3de5542b8b40a22031a4ba
7
+ data.tar.gz: 4716cf375f1a21591ca67c389b03cec93d13ca27701ac2f1f669011ebc03c2b756c10fe6ecedda56a25a09afef24493a3b3bab2957260f6889903125137f3ce1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.12.0
2
+
3
+ * Make ActiveRecord healthcheck more accurate
4
+
1
5
  # 1.11.3
2
6
 
3
7
  * Add Initialized healthchecks
@@ -5,7 +5,10 @@ module GovukHealthcheck
5
5
  end
6
6
 
7
7
  def status
8
- ::ActiveRecord::Base.connected? ? OK : CRITICAL
8
+ ::ActiveRecord::Base.connection
9
+ OK
10
+ rescue StandardError => e
11
+ CRITICAL
9
12
  end
10
13
  end
11
14
  end
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "1.11.3"
2
+ VERSION = "1.12.0"
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.3
4
+ version: 1.12.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: 2019-02-07 00:00:00.000000000 Z
11
+ date: 2019-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-xray-sdk
@@ -235,8 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
237
  requirements: []
238
- rubyforge_project:
239
- rubygems_version: 2.7.6
238
+ rubygems_version: 3.0.1
240
239
  signing_key:
241
240
  specification_version: 4
242
241
  summary: Base configuration for GOV.UK applications