watchmonkey_cli 1.8.3 → 1.8.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 185d016ac259cbfe17cdc82fe47bdea64ad3e7287868a1579b0ca5e5ad3af8ca
|
4
|
+
data.tar.gz: ea6d44b3f5333e9f28453cde81879a97ba97bba9007ec2c1541c8671821be84f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cabbd80f4367b823ad48ae22a3f5cb9c510a67e3b23e42f6c573d08c31b8bec9fbca5262774b82c1e77e039593f38a78e9ba69d6c85be754f8cd066b71b637f4
|
7
|
+
data.tar.gz: '09066c489cf198270f64e6ff08dbfbd12856323dcc89147293c3fce5db6872b0e6f679165ea97b14c2f2a0725f42965cf5f84dc38e8278292091996a069f9404'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.8.
|
1
|
+
1.8.4
|
@@ -42,6 +42,7 @@ ssl_expiration "https://example.com", threshold: 3.months
|
|
42
42
|
# Check if a website is reachable and responses properly.
|
43
43
|
# Available options:
|
44
44
|
#
|
45
|
+
# timeout Maximum time to wait for request (default: 20 seconds)
|
45
46
|
# status HTTP status code or array of status codes
|
46
47
|
# body String (include check) or regular expression
|
47
48
|
# headers { header => value }
|
@@ -14,7 +14,7 @@ module WatchmonkeyCli
|
|
14
14
|
|
15
15
|
def check! result, page, opts = {}
|
16
16
|
begin
|
17
|
-
resp = HTTParty.get(page, no_follow: true, verify: false)
|
17
|
+
resp = HTTParty.get(page, no_follow: true, verify: false, timeout: opts[:timeout] || 20)
|
18
18
|
result.result = resp
|
19
19
|
rescue HTTParty::RedirectionTooDeep => e
|
20
20
|
result.result = e.response
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watchmonkey_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Pachnit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
version: '0'
|
164
164
|
requirements: []
|
165
165
|
rubyforge_project:
|
166
|
-
rubygems_version: 2.7.
|
166
|
+
rubygems_version: 2.7.6
|
167
167
|
signing_key:
|
168
168
|
specification_version: 4
|
169
169
|
summary: Watchmonkey CLI - dead simple agentless monitoring via SSH, HTTP, FTP, etc.
|