heartcheck 1.5.0 → 1.5.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: 6dfd09304fc0ad36774293f2e0e04a3d3ea542acf6ac86bb4415fb558815f109
4
- data.tar.gz: d6ef9bcee013849cf771c2e14c3699bc53bd664fc5be70a091dc63c5d54c63fd
3
+ metadata.gz: acdf75c26a299c28d12a7c7dc0a8a4470b17d4dd6990ba1d741619b2e11c5fe4
4
+ data.tar.gz: 1d157b972fda3e4254a7127422a46ab89ca303a515a84d39dc1778342d3b5c09
5
5
  SHA512:
6
- metadata.gz: 63907f0c4b890db4b3466160bb2fe2707058f3fd3f25ef3e33380fca89f04fa9c0a16d74f929fadc686641b2ce43016021272f9436e40635aed83369d3ad56ca
7
- data.tar.gz: f56971cdc1ad9d83dc1a0dbc62ca3da7de40bb536f0fd79116346c5055b5c1dc8491fc6857046ab83fce439131c154ba6941084ddcd88e378ecdb0ca26fdcef1
6
+ metadata.gz: c2f00a5d69e977be68feec339727e99f36f303b89fecdb7056d59e2e9a80ec43894770f7e6b738038c0a2775f1c7dc9cbcf85a6501d7d8fede9a4622cf674fcd
7
+ data.tar.gz: 829a04c25b03eea7c6db2022e1d1ac08e414b382dd273ac6cf04a9fb09915bffa8cec4f543150cc3f99492fbce9605b89055677fe9f3f56bff337c0a4ac14819
@@ -1,5 +1,5 @@
1
1
  language: ruby
2
- before_install: gem install bundler
2
+ before_install: gem install bundler -v 1.17.3
3
3
  install: bundle install -j 4 --retry 3
4
4
  script:
5
5
  - bin/rspec
data/CHANGELOG CHANGED
@@ -1,5 +1,9 @@
1
1
  = Heart Check - Changelog
2
2
 
3
+ == Version 1.5.1 :: 2019-05-16
4
+
5
+ * Fixing '/monitoring/inspect' endpoint on rendering items of firewall
6
+
3
7
  == Version 1.5.0 :: 2018-11-29
4
8
 
5
9
  * Adds the '/monitoring/inspect' endpoint to get general info and dependencies
@@ -8,7 +8,7 @@ module Heartcheck
8
8
  def validate
9
9
  services.each do |service|
10
10
  begin
11
- Net::Telnet.new(service.params)
11
+ Net::Telnet.new(service.params).close
12
12
  rescue Errno::ECONNREFUSED; nil
13
13
  rescue
14
14
  append_error(service)
@@ -17,11 +17,11 @@ module Heartcheck
17
17
  end
18
18
 
19
19
  def uri_info
20
- services.map do |s|
20
+ services.map do |service|
21
21
  {
22
- host: s.uri.host,
23
- port: s.uri.port,
24
- scheme: s.uri.scheme
22
+ host: service.host,
23
+ port: service.port,
24
+ scheme: service.uri.scheme || ''
25
25
  }
26
26
  end
27
27
  end
@@ -33,7 +33,7 @@ module Heartcheck
33
33
 
34
34
  if service.proxy
35
35
  proxy_uri = URI(service.proxy)
36
- error_message << " via proxy: #{proxy_uri.host}:#{proxy_uri.port}"
36
+ error_message << " using proxy: #{proxy_uri.host}:#{proxy_uri.port}"
37
37
  end
38
38
 
39
39
  @errors << error_message
@@ -1,3 +1,3 @@
1
1
  module Heartcheck
2
- VERSION = '1.5.0'
2
+ VERSION = '1.5.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heartcheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Locaweb
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-29 00:00:00.000000000 Z
11
+ date: 2019-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -276,8 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
276
276
  - !ruby/object:Gem::Version
277
277
  version: '0'
278
278
  requirements: []
279
- rubyforge_project:
280
- rubygems_version: 2.7.7
279
+ rubygems_version: 3.0.3
281
280
  signing_key:
282
281
  specification_version: 4
283
282
  summary: A simple way to check if your app is runnig like as expected.