sensu-plugins-resque 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: 33137a06df59598f77ee69610097e6cda7a8fa5e
4
- data.tar.gz: f9ba1165fb355d7f6c6cce24318fb851a2ecd891
3
+ metadata.gz: 2cf9a7674e8b50dc0d7b30ded450f9dd54182144
4
+ data.tar.gz: d7c112594aa7ab46f8fd3e64a8bbd90b8ca8fa0a
5
5
  SHA512:
6
- metadata.gz: 40383b83019bde1a943f8eaacf518edbc2c982bcde381e2caf38f5d2b3de99fde214b4ca58d70352220ea0f4d0712df1f57e1bcdb29c9b0ad2892ef0293ca703
7
- data.tar.gz: 59b3d52e853d9ee31b321ab2de508e61b0c2137041c2b2613c6acf811a8ca5137db8b44b4175631d5120ef69abb5a35c82ca4bcf515cc4826d67e777eae92bcd
6
+ metadata.gz: 24a23b2587e4aaf0801e4e36804d7c5c55342009afeaeee9b0591c28d6c2e9a9e7f096de6392981af0bdb8c96f9b6767f848610da1086eb555eb2e2a2cc7a124
7
+ data.tar.gz: f3606b9a5f1cd69898bea2044bd5ecab05137b716efc583ba98e19f4eda88134b3153e267b7e8e155b54f0a93504da967c7d96fdc6376a4f8f612f0172db43fd
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -5,15 +5,27 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## Unreleased][unreleased]
7
7
 
8
- ## [0.0.2] - 2015-06-03
8
+
9
+ ## [0.0.3] - [2015-07-10]
10
+ ### Added
11
+ - enabled to specify db number for the redis connection with `-d` option
9
12
 
13
+ ### Fixed
14
+ - fix binstub to only be created for ruby binaries
15
+
16
+ ### Changed
17
+ - update documentation links in CONTRIBUTING and README
18
+ - set deps to alpha order in Rakefile
19
+ - clean unused tasks from Rakefile
20
+ - set deps to alphs order in gemspec
21
+
22
+ ## [0.0.2] - [2015-06-03]
10
23
  ### Fixed
11
24
  - added binstubs
12
25
 
13
26
  ### Changed
14
27
  - removed cruft from /lib
15
28
 
16
- ## 0.0.1 - 2015-05-21
17
-
29
+ ## [0.0.1] - [2015-05-21]
18
30
  ### Added
19
31
  - initial release
data/README.md CHANGED
@@ -16,6 +16,6 @@
16
16
 
17
17
  ## Installation
18
18
 
19
- [Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
19
+ [Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
20
20
 
21
21
  ## Notes
@@ -45,6 +45,12 @@ class ResqueMetrics < Sensu::Plugin::Metric::CLI::Graphite
45
45
  description: 'Redis port',
46
46
  default: '6379'
47
47
 
48
+ option :db,
49
+ short: '-d DB',
50
+ long: '--db DB',
51
+ description: 'Redis DB',
52
+ default: '0'
53
+
48
54
  option :namespace,
49
55
  description: 'Resque namespace',
50
56
  short: '-n NAMESPACE',
@@ -58,7 +64,7 @@ class ResqueMetrics < Sensu::Plugin::Metric::CLI::Graphite
58
64
  default: "#{Socket.gethostname}.resque"
59
65
 
60
66
  def run
61
- redis = Redis.new(host: config[:hostname], port: config[:port])
67
+ redis = Redis.new(host: config[:hostname], port: config[:port], db: config[:db])
62
68
  Resque.redis = redis
63
69
  Resque.redis.namespace = config[:namespace]
64
70
  count = Resque::Failure::Redis.count
@@ -2,7 +2,7 @@ module SensuPluginsResque
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 2
5
+ PATCH = 3
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-resque
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
@@ -30,7 +30,7 @@ cert_chain:
30
30
  8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
31
  HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
32
  -----END CERTIFICATE-----
33
- date: 2015-06-04 00:00:00.000000000 Z
33
+ date: 2015-07-11 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: resque
@@ -61,61 +61,61 @@ dependencies:
61
61
  - !ruby/object:Gem::Version
62
62
  version: 1.1.0
63
63
  - !ruby/object:Gem::Dependency
64
- name: codeclimate-test-reporter
64
+ name: bundler
65
65
  requirement: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '0.4'
69
+ version: '1.7'
70
70
  type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '0.4'
76
+ version: '1.7'
77
77
  - !ruby/object:Gem::Dependency
78
- name: rubocop
78
+ name: codeclimate-test-reporter
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '0.30'
83
+ version: '0.4'
84
84
  type: :development
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: '0.30'
90
+ version: '0.4'
91
91
  - !ruby/object:Gem::Dependency
92
- name: rspec
92
+ name: github-markup
93
93
  requirement: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: '3.1'
97
+ version: '1.3'
98
98
  type: :development
99
99
  prerelease: false
100
100
  version_requirements: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: '3.1'
104
+ version: '1.3'
105
105
  - !ruby/object:Gem::Dependency
106
- name: bundler
106
+ name: pry
107
107
  requirement: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '1.7'
111
+ version: '0.10'
112
112
  type: :development
113
113
  prerelease: false
114
114
  version_requirements: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - "~>"
117
117
  - !ruby/object:Gem::Version
118
- version: '1.7'
118
+ version: '0.10'
119
119
  - !ruby/object:Gem::Dependency
120
120
  name: rake
121
121
  requirement: !ruby/object:Gem::Requirement
@@ -131,61 +131,61 @@ dependencies:
131
131
  - !ruby/object:Gem::Version
132
132
  version: '10.0'
133
133
  - !ruby/object:Gem::Dependency
134
- name: github-markup
134
+ name: redcarpet
135
135
  requirement: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: '1.3'
139
+ version: '3.2'
140
140
  type: :development
141
141
  prerelease: false
142
142
  version_requirements: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - "~>"
145
145
  - !ruby/object:Gem::Version
146
- version: '1.3'
146
+ version: '3.2'
147
147
  - !ruby/object:Gem::Dependency
148
- name: redcarpet
148
+ name: rspec
149
149
  requirement: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - "~>"
152
152
  - !ruby/object:Gem::Version
153
- version: '3.2'
153
+ version: '3.1'
154
154
  type: :development
155
155
  prerelease: false
156
156
  version_requirements: !ruby/object:Gem::Requirement
157
157
  requirements:
158
158
  - - "~>"
159
159
  - !ruby/object:Gem::Version
160
- version: '3.2'
160
+ version: '3.1'
161
161
  - !ruby/object:Gem::Dependency
162
- name: yard
162
+ name: rubocop
163
163
  requirement: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - "~>"
165
+ - - '='
166
166
  - !ruby/object:Gem::Version
167
- version: '0.8'
167
+ version: '0.30'
168
168
  type: :development
169
169
  prerelease: false
170
170
  version_requirements: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - "~>"
172
+ - - '='
173
173
  - !ruby/object:Gem::Version
174
- version: '0.8'
174
+ version: '0.30'
175
175
  - !ruby/object:Gem::Dependency
176
- name: pry
176
+ name: yard
177
177
  requirement: !ruby/object:Gem::Requirement
178
178
  requirements:
179
179
  - - "~>"
180
180
  - !ruby/object:Gem::Version
181
- version: '0.10'
181
+ version: '0.8'
182
182
  type: :development
183
183
  prerelease: false
184
184
  version_requirements: !ruby/object:Gem::Requirement
185
185
  requirements:
186
186
  - - "~>"
187
187
  - !ruby/object:Gem::Version
188
- version: '0.10'
188
+ version: '0.8'
189
189
  description: Sensu plugins for resque
190
190
  email: "<sensu-users@googlegroups.com>"
191
191
  executables:
metadata.gz.sig CHANGED
Binary file