pingable 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pingable/handler.rb +2 -2
- data/lib/pingable/version.rb +1 -1
- metadata +3 -3
data/lib/pingable/handler.rb
CHANGED
@@ -10,9 +10,9 @@ module Pingable
|
|
10
10
|
def call(env)
|
11
11
|
failures = Pingable.run_checks!
|
12
12
|
if failures.any?
|
13
|
-
[503, HEADERS, failures.map { |f| f[:message] }.join("\n")]
|
13
|
+
[503, HEADERS, [failures.map { |f| f[:message] }.join("\n")]]
|
14
14
|
else
|
15
|
-
[200, HEADERS, (@name ||= '').dup]
|
15
|
+
[200, HEADERS, [(@name ||= '').dup]]
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
data/lib/pingable/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pingable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alexander Staubo
|