heartcheck 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/heartcheck/generators/templates/config.rb +2 -2
- data/lib/heartcheck/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 703ba9dc51d6fbfa46b52642bc0889abdf902e21
|
4
|
+
data.tar.gz: 5d2348f405da42d250b09a17c7d5afc5c404a91e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aed13859b5eb0291bae5d2996ca941e58a220733baaeb1bfc963b5ca1ad2d3e0ab6d35291180784feb9db95546352a305816181e890f0badaea8216e7d846f70
|
7
|
+
data.tar.gz: 79a0802846344b572dd367f26123b530631df62442f7eb1973d64c4956f413cba35881928ba71f0f2ac699bfa9c9b7eb28eded05b7d9e8f31f72b82d2b89c9ed
|
@@ -76,8 +76,8 @@ Heartcheck.setup do |monitor|
|
|
76
76
|
# params
|
77
77
|
# errors: Array => errors to show on page
|
78
78
|
# service: FirewallService => object that respond to :host and :port
|
79
|
-
c.on_error do |
|
80
|
-
|
79
|
+
c.on_error do |errors, service|
|
80
|
+
errors << "Custom error message for #{service.host}"
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
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.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Locaweb
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -254,7 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
254
254
|
version: '0'
|
255
255
|
requirements: []
|
256
256
|
rubyforge_project:
|
257
|
-
rubygems_version: 2.
|
257
|
+
rubygems_version: 2.5.1
|
258
258
|
signing_key:
|
259
259
|
specification_version: 4
|
260
260
|
summary: A simple way to check if your app is runnig like as expected.
|