upstreamstatus 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/upstreamstatus.rb +2 -2
- data/lib/upstreamstatus/version.rb +1 -1
- data/upstreamstatus.gemspec +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f27a5de35762be56effe7557a0ee0dbfc7c3d4289b63c8509c59a3f20321d32b
|
4
|
+
data.tar.gz: e7b8815078c95573e255fbffc5069f091f0cb80f8f77ab58c9c66560155699a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c09707af069ed4cc8cef35ccb56368b0f9736836da1a3150e1142c7fdfefcc6dddb223aa8ecdec3b9b48ecab2800f7ffd7172779d0e33e45a455107f13dc83a3
|
7
|
+
data.tar.gz: b38e42f9f1f3bddb0f4099343d42e0d89d55baf9354300f59a389fe5588c250f6b15fb981ad588b401617c8f326e819d735d715a609b459bf358119a321517c1
|
data/lib/upstreamstatus.rb
CHANGED
@@ -3,7 +3,7 @@ require 'active_support/time'
|
|
3
3
|
require 'unirest'
|
4
4
|
require 'yaml'
|
5
5
|
require 'ostruct'
|
6
|
-
require '
|
6
|
+
require 'optimist'
|
7
7
|
require 'forwardable'
|
8
8
|
require 'json'
|
9
9
|
require 'sentry-raven'
|
@@ -164,7 +164,7 @@ class Upstreamstatus
|
|
164
164
|
end
|
165
165
|
|
166
166
|
def opts
|
167
|
-
@opts ||=
|
167
|
+
@opts ||= Optimist.options do
|
168
168
|
opt :notify,
|
169
169
|
'Notify alert service on failure',
|
170
170
|
short: '-n',
|
data/upstreamstatus.gemspec
CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.require_paths = ['lib']
|
29
29
|
|
30
30
|
spec.add_dependency 'unirest', '~> 1.1'
|
31
|
-
spec.add_dependency '
|
31
|
+
spec.add_dependency 'optimist', '~> 3.0'
|
32
32
|
spec.add_dependency 'sentry-raven'
|
33
33
|
spec.add_dependency 'pagerduty'
|
34
34
|
spec.add_dependency 'activesupport', '< 5.0' # >= 5.0 requires Ruby 2.2
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: upstreamstatus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Herot
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unirest
|
@@ -25,19 +25,19 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: optimist
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '3.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '3.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sentry-raven
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,8 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
178
|
- !ruby/object:Gem::Version
|
179
179
|
version: '0'
|
180
180
|
requirements: []
|
181
|
-
|
182
|
-
rubygems_version: 2.4.5
|
181
|
+
rubygems_version: 3.0.6
|
183
182
|
signing_key:
|
184
183
|
specification_version: 4
|
185
184
|
summary: Parse the output of the Nginx Upstream Check plugin
|