philae 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/philae/mongo_probe.rb +1 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 364566be0ba5f86c671be8dfc919961eb333675c
4
- data.tar.gz: 861a74eea37e7b5a4dd39f18f04165028df0727d
3
+ metadata.gz: 9c4a71365a8c43ff5d00420aa0e7188ee12d4dc8
4
+ data.tar.gz: 7ec3ae7de5dcd850910d69fbdc0c06476a2b2e1a
5
5
  SHA512:
6
- metadata.gz: 8a75abb6a2a71b648d25386e1e269c77326589084211b32d2fdf2d8bfa1228c9947ea4467cda1b3b5a4f4b03a452385d9c3c28764c6a2260338cfeacb032d73b
7
- data.tar.gz: fd7c6875ef6784f9654f79b3c692eedcdfee804f73bcc4043564a65f68601ea98f43448dadf463bf75186548c456b453c284449e0d7e0777f1c31f77d0997a93
6
+ metadata.gz: c71c393856d29957d08362eecf519e8b18155babc2525fc253a93a52e88cc07a2b049e3d785f70cfad19331718b60e00db8b8fd90c6831d3603a7e169aa49f73
7
+ data.tar.gz: 76446b301b87f81be9eaa695cf3ad968d721e8e7d27f00000a335fa8e0ff54a0b9b19bcc489d38f1b014eeebc22f026167adc8284cc74fbb9142a8f123d443dd
@@ -16,6 +16,7 @@ module Philae
16
16
  client = Mongo::Client.new(@uri, max_read_retries: 1)
17
17
  db = client.database
18
18
  db.collection_names
19
+ client.close
19
20
  rescue
20
21
  return { healthy: false, comment: 'Unable to contact mongo' }
21
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: philae
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - leo@scalingo.com
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  version: '0'
104
104
  requirements: []
105
105
  rubyforge_project:
106
- rubygems_version: 2.5.2
106
+ rubygems_version: 2.6.11
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: Provide an health check api