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 +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG +4 -0
- data/lib/heartcheck/checks/firewall.rb +6 -6
- data/lib/heartcheck/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acdf75c26a299c28d12a7c7dc0a8a4470b17d4dd6990ba1d741619b2e11c5fe4
|
4
|
+
data.tar.gz: 1d157b972fda3e4254a7127422a46ab89ca303a515a84d39dc1778342d3b5c09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2f00a5d69e977be68feec339727e99f36f303b89fecdb7056d59e2e9a80ec43894770f7e6b738038c0a2775f1c7dc9cbcf85a6501d7d8fede9a4622cf674fcd
|
7
|
+
data.tar.gz: 829a04c25b03eea7c6db2022e1d1ac08e414b382dd273ac6cf04a9fb09915bffa8cec4f543150cc3f99492fbce9605b89055677fe9f3f56bff337c0a4ac14819
|
data/.travis.yml
CHANGED
data/CHANGELOG
CHANGED
@@ -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 |
|
20
|
+
services.map do |service|
|
21
21
|
{
|
22
|
-
host:
|
23
|
-
port:
|
24
|
-
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 << "
|
36
|
+
error_message << " using proxy: #{proxy_uri.host}:#{proxy_uri.port}"
|
37
37
|
end
|
38
38
|
|
39
39
|
@errors << error_message
|
data/lib/heartcheck/version.rb
CHANGED
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.
|
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:
|
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
|
-
|
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.
|