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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 79a33e1f1f33ab1afa51f286e047655360b18e19
4
- data.tar.gz: acc60a82ad8ae2bbeeb75d1280363c4f1b7b8315
2
+ SHA256:
3
+ metadata.gz: f27a5de35762be56effe7557a0ee0dbfc7c3d4289b63c8509c59a3f20321d32b
4
+ data.tar.gz: e7b8815078c95573e255fbffc5069f091f0cb80f8f77ab58c9c66560155699a0
5
5
  SHA512:
6
- metadata.gz: 5f9a34cdc7896dcea5e314999ba5f8d6b24f121decf9867ad78a1aa6143185327821f7125088b348d1e71b02f667cb746e102d7a7cb607fd1a9d39a51a6e2286
7
- data.tar.gz: c76513567f352014a3408f1eeb66b34bfa92b764d06580bcd7411266c4636c705a93230414339a136ac1b115886205e7922637be844d9f090178448178f16ad4
6
+ metadata.gz: c09707af069ed4cc8cef35ccb56368b0f9736836da1a3150e1142c7fdfefcc6dddb223aa8ecdec3b9b48ecab2800f7ffd7172779d0e33e45a455107f13dc83a3
7
+ data.tar.gz: b38e42f9f1f3bddb0f4099343d42e0d89d55baf9354300f59a389fe5588c250f6b15fb981ad588b401617c8f326e819d735d715a609b459bf358119a321517c1
@@ -3,7 +3,7 @@ require 'active_support/time'
3
3
  require 'unirest'
4
4
  require 'yaml'
5
5
  require 'ostruct'
6
- require 'trollop'
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 ||= Trollop.options do
167
+ @opts ||= Optimist.options do
168
168
  opt :notify,
169
169
  'Notify alert service on failure',
170
170
  short: '-n',
@@ -1,3 +1,3 @@
1
1
  class Upstreamstatus
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
@@ -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 'trollop', '~> 2.1'
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.1
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: 2019-02-07 00:00:00.000000000 Z
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: trollop
28
+ name: optimist
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.1'
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: '2.1'
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
- rubyforge_project:
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