riemann-tools 0.2.13 → 0.2.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.markdown +2 -0
  3. data/lib/riemann/tools.rb +3 -3
  4. metadata +34 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 524cc2711592ff6612b4bcde6b96ab3fa11ae537
4
- data.tar.gz: b1091049d8dac7ac940bc17f08484b4c4466e3f1
3
+ metadata.gz: bb7b108f77ccf16849326ff4251b12fb04480f64
4
+ data.tar.gz: b15de1ca4c0211c6de67c6c9efc3ec3299a0d16d
5
5
  SHA512:
6
- metadata.gz: ba5628dc40a128aed32394cdce2a8a6a63506c6eeb488d736ab1fa678c34fb209f260ff3dbfcc1c08de5c7cd35fcef57d38bb0058993fa7af417a8125a2c5555
7
- data.tar.gz: 7c2db71785ca6e9f4effd8ef383156a9baf3337e6b9dc9ddd293b01c2578e4b0faf8f5dc1daeebd998f219cd5561b88283e29c04edbcb0f2f4eabad090a8b8ab
6
+ metadata.gz: fd0786c48082530b1e6113503d14164814651209cc60fd1a439f54ab7d5393f1bd1241d18a24c87febb1810ac4a5d830bb2d89982cf3c838436e7d7846420f76
7
+ data.tar.gz: e0590e66df6a87761b364a18adca37ae887ff2a23f745d41916637e2fe12bb447bf42247bbdf206e87684557cee7824bf866dacee55bd515c022c61aa85e5e0b
@@ -7,6 +7,8 @@ Riemann-health, for example, submits events about the current CPU, load,
7
7
  memory, and disk use. Also available is `riemann-bench`, which submits
8
8
  randomly distributed metrics for load testing.
9
9
 
10
+ [![Gem Version](https://badge.fury.io/rb/riemann-tools.svg)](https://badge.fury.io/rb/riemann-tools)
11
+
10
12
  Get started
11
13
  ===========
12
14
 
@@ -1,6 +1,6 @@
1
1
  module Riemann
2
2
  module Tools
3
- require 'trollop'
3
+ require 'optimist'
4
4
  require 'riemann/client'
5
5
 
6
6
  def self.included(base)
@@ -16,11 +16,11 @@ module Riemann
16
16
  end
17
17
 
18
18
  def options
19
- p = Trollop::Parser.new
19
+ p = Optimist::Parser.new
20
20
  @opts.each do |o|
21
21
  p.send *o
22
22
  end
23
- Trollop::with_standard_exception_handling(p) do
23
+ Optimist::with_standard_exception_handling(p) do
24
24
  p.parse ARGV
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,19 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riemann-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.13
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kingsbury
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-17 00:00:00.000000000 Z
11
+ date: 2018-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: riemann-client
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.2'
17
20
  - - ">="
18
21
  - !ruby/object:Gem::Version
19
22
  version: 0.2.6
@@ -21,23 +24,32 @@ dependencies:
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '0.2'
24
30
  - - ">="
25
31
  - !ruby/object:Gem::Version
26
32
  version: 0.2.6
27
33
  - !ruby/object:Gem::Dependency
28
- name: trollop
34
+ name: optimist
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '3.0'
31
40
  - - ">="
32
41
  - !ruby/object:Gem::Version
33
- version: 1.16.2
42
+ version: 3.0.0
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '3.0'
38
50
  - - ">="
39
51
  - !ruby/object:Gem::Version
40
- version: 1.16.2
52
+ version: 3.0.0
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: json
43
55
  requirement: !ruby/object:Gem::Requirement
@@ -52,29 +64,29 @@ dependencies:
52
64
  - - "~>"
53
65
  - !ruby/object:Gem::Version
54
66
  version: '1.8'
55
- description: Utilities which submit events to Riemann.
67
+ description: Collection of utilities which submit events to Riemann.
56
68
  email: aphyr@aphyr.com
57
69
  executables:
58
- - riemann-kvminstance
59
- - riemann-dir-space
60
- - riemann-bench
70
+ - riemann-apache-status
71
+ - riemann-varnish
72
+ - riemann-consul
61
73
  - riemann-net
62
- - riemann-fd
63
- - riemann-dir-files-count
74
+ - riemann-diskstats
75
+ - riemann-portcheck
76
+ - riemann-memcached
64
77
  - riemann-zookeeper
65
- - riemann-haproxy
66
- - riemann-consul
67
- - riemann-freeswitch
68
- - riemann-apache-status
78
+ - riemann-health
79
+ - riemann-dir-space
80
+ - riemann-cloudant
69
81
  - riemann-nginx-status
70
82
  - riemann-proc
71
- - riemann-portcheck
83
+ - riemann-haproxy
84
+ - riemann-freeswitch
72
85
  - riemann-ntp
73
- - riemann-health
74
- - riemann-memcached
75
- - riemann-varnish
76
- - riemann-diskstats
77
- - riemann-cloudant
86
+ - riemann-fd
87
+ - riemann-dir-files-count
88
+ - riemann-bench
89
+ - riemann-kvminstance
78
90
  extensions: []
79
91
  extra_rdoc_files: []
80
92
  files:
@@ -121,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
133
  version: '0'
122
134
  requirements: []
123
135
  rubyforge_project: riemann-tools
124
- rubygems_version: 2.6.13
136
+ rubygems_version: 2.6.14
125
137
  signing_key:
126
138
  specification_version: 4
127
139
  summary: Utilities which submit events to Riemann.