heartcheck-webservice 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/heartcheck/checks/webservice.rb +3 -1
- data/lib/heartcheck/webservice/version.rb +1 -1
- metadata +25 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63850c101aeb9de06b0052a6c8584e5f4654ff79f2733eb04ee74df064c18761
|
4
|
+
data.tar.gz: 2216c8ca467ce8b8c0839edd0a34c833d04a4b74a997b39b70776dd3cbc8633d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57e902d15708caeda19ec7d331010309411d3bd4f072f211627cff29fc7453aac25ddf6ab899fa17e890bed2dbe9b6fef06dab8de5c61c644ba32e7b3785ab46
|
7
|
+
data.tar.gz: fcf31add71c73df5126857c1aa8ef0891cc5a12c4769cea76dbfb5ed2cce691dbfe6c48ed08c47f0414c58a431e6466945f3ac8edef54cd1fbc668181a9866f8
|
@@ -88,7 +88,9 @@ module Heartcheck
|
|
88
88
|
#
|
89
89
|
# @return [Bollean]
|
90
90
|
def valid_body?(response, service)
|
91
|
-
|
91
|
+
return true unless service[:body_match]
|
92
|
+
|
93
|
+
response.body =~ service[:body_match]
|
92
94
|
end
|
93
95
|
|
94
96
|
# execute request
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heartcheck-webservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Locaweb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: heartcheck
|
@@ -48,20 +48,20 @@ dependencies:
|
|
48
48
|
name: rspec
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "
|
51
|
+
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: 3.1.0
|
54
|
-
- - "
|
54
|
+
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 3.1.0
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- - "
|
61
|
+
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: 3.1.0
|
64
|
-
- - "
|
64
|
+
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 3.1.0
|
67
67
|
- !ruby/object:Gem::Dependency
|
@@ -82,20 +82,20 @@ dependencies:
|
|
82
82
|
name: fakeweb
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
|
-
- - "
|
85
|
+
- - ">="
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: 1.3.0
|
88
|
-
- - "
|
88
|
+
- - "~>"
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: 1.3.0
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- - "
|
95
|
+
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: 1.3.0
|
98
|
-
- - "
|
98
|
+
- - "~>"
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: 1.3.0
|
101
101
|
- !ruby/object:Gem::Dependency
|
@@ -132,6 +132,20 @@ dependencies:
|
|
132
132
|
- - ">="
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: 3.2.2
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: rake
|
137
|
+
requirement: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ">="
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
type: :development
|
143
|
+
prerelease: false
|
144
|
+
version_requirements: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - ">="
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '0'
|
135
149
|
description: Plugin to check webservice connection in heartcheck.
|
136
150
|
email:
|
137
151
|
- desenvolvedores@locaweb.com.br
|
@@ -162,8 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
176
|
- !ruby/object:Gem::Version
|
163
177
|
version: '0'
|
164
178
|
requirements: []
|
165
|
-
|
166
|
-
rubygems_version: 2.7.7
|
179
|
+
rubygems_version: 3.0.3
|
167
180
|
signing_key:
|
168
181
|
specification_version: 4
|
169
182
|
summary: A webservice checker.
|