steto 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,7 @@ module Steto
19
19
  def command_line
20
20
  # => "--critical=:critical --warning=:warning"
21
21
  params = options.map do |option, value|
22
- unless option.size == 1
22
+ unless option.to_s.size == 1
23
23
  cli_option = option.to_s.gsub("_","-")
24
24
  unless value == true
25
25
  "--#{cli_option}=:#{option}"
@@ -1,3 +1,3 @@
1
1
  module Steto
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,137 +1,134 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: steto
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.6
3
+ version: !ruby/object:Gem::Version
4
+ hash: 17
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 7
10
+ version: 0.0.7
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Alban Peignier
9
14
  - Florent Peyraud
10
15
  autorequire:
11
16
  bindir: bin
12
17
  cert_chain: []
13
- date: 2012-10-18 00:00:00.000000000 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: rspec
17
- requirement: !ruby/object:Gem::Requirement
18
+
19
+ date: 2012-10-18 00:00:00 Z
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ prerelease: false
23
+ version_requirements: &id001 !ruby/object:Gem::Requirement
18
24
  none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
22
- version: '0'
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
32
+ requirement: *id001
23
33
  type: :development
34
+ name: rspec
35
+ - !ruby/object:Gem::Dependency
24
36
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
26
38
  none: false
27
- requirements:
28
- - - ! '>='
29
- - !ruby/object:Gem::Version
30
- version: '0'
31
- - !ruby/object:Gem::Dependency
32
- name: rake
33
- requirement: !ruby/object:Gem::Requirement
34
- none: false
35
- requirements:
36
- - - ! '>='
37
- - !ruby/object:Gem::Version
38
- version: '0'
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ hash: 3
43
+ segments:
44
+ - 0
45
+ version: "0"
46
+ requirement: *id002
39
47
  type: :development
48
+ name: rake
49
+ - !ruby/object:Gem::Dependency
40
50
  prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
51
+ version_requirements: &id003 !ruby/object:Gem::Requirement
42
52
  none: false
43
- requirements:
44
- - - ! '>='
45
- - !ruby/object:Gem::Version
46
- version: '0'
47
- - !ruby/object:Gem::Dependency
48
- name: simplecov
49
- requirement: !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
60
+ requirement: *id003
55
61
  type: :development
62
+ name: simplecov
63
+ - !ruby/object:Gem::Dependency
56
64
  prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
65
+ version_requirements: &id004 !ruby/object:Gem::Requirement
58
66
  none: false
59
- requirements:
60
- - - ! '>='
61
- - !ruby/object:Gem::Version
62
- version: '0'
63
- - !ruby/object:Gem::Dependency
64
- name: RedCloth
65
- requirement: !ruby/object:Gem::Requirement
66
- none: false
67
- requirements:
68
- - - ! '>='
69
- - !ruby/object:Gem::Version
70
- version: '0'
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ hash: 3
71
+ segments:
72
+ - 0
73
+ version: "0"
74
+ requirement: *id004
71
75
  type: :development
76
+ name: RedCloth
77
+ - !ruby/object:Gem::Dependency
72
78
  prerelease: false
73
- version_requirements: !ruby/object:Gem::Requirement
79
+ version_requirements: &id005 !ruby/object:Gem::Requirement
74
80
  none: false
75
- requirements:
76
- - - ! '>='
77
- - !ruby/object:Gem::Version
78
- version: '0'
79
- - !ruby/object:Gem::Dependency
80
- name: cocaine
81
- requirement: !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
84
- - - '='
85
- - !ruby/object:Gem::Version
81
+ requirements:
82
+ - - "="
83
+ - !ruby/object:Gem::Version
84
+ hash: 21
85
+ segments:
86
+ - 0
87
+ - 2
88
+ - 1
86
89
  version: 0.2.1
90
+ requirement: *id005
87
91
  type: :runtime
92
+ name: cocaine
93
+ - !ruby/object:Gem::Dependency
88
94
  prerelease: false
89
- version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
- requirements:
92
- - - '='
93
- - !ruby/object:Gem::Version
94
- version: 0.2.1
95
- - !ruby/object:Gem::Dependency
96
- name: parallel
97
- requirement: !ruby/object:Gem::Requirement
95
+ version_requirements: &id006 !ruby/object:Gem::Requirement
98
96
  none: false
99
- requirements:
100
- - - ! '>='
101
- - !ruby/object:Gem::Version
102
- version: '0'
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ hash: 3
101
+ segments:
102
+ - 0
103
+ version: "0"
104
+ requirement: *id006
103
105
  type: :runtime
106
+ name: parallel
107
+ - !ruby/object:Gem::Dependency
104
108
  prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
- requirements:
108
- - - ! '>='
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: json
113
- requirement: !ruby/object:Gem::Requirement
109
+ version_requirements: &id007 !ruby/object:Gem::Requirement
114
110
  none: false
115
- requirements:
116
- - - ! '>='
117
- - !ruby/object:Gem::Version
118
- version: '0'
111
+ requirements:
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ hash: 3
115
+ segments:
116
+ - 0
117
+ version: "0"
118
+ requirement: *id007
119
119
  type: :runtime
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
- requirements:
124
- - - ! '>='
125
- - !ruby/object:Gem::Version
126
- version: '0'
120
+ name: json
127
121
  description: Ruby engine to check system status (with Nagios or custom checks)
128
- email:
122
+ email:
129
123
  - alban@tryphon.eu
130
124
  - florent@tryphon.eu
131
125
  executables: []
126
+
132
127
  extensions: []
128
+
133
129
  extra_rdoc_files: []
134
- files:
130
+
131
+ files:
135
132
  - .gitignore
136
133
  - Gemfile
137
134
  - Guardfile
@@ -162,35 +159,38 @@ files:
162
159
  - steto.gemspec
163
160
  homepage: https://github.com/tryphon/steto
164
161
  licenses: []
162
+
165
163
  post_install_message:
166
164
  rdoc_options: []
167
- require_paths:
165
+
166
+ require_paths:
168
167
  - lib
169
- required_ruby_version: !ruby/object:Gem::Requirement
168
+ required_ruby_version: !ruby/object:Gem::Requirement
170
169
  none: false
171
- requirements:
172
- - - ! '>='
173
- - !ruby/object:Gem::Version
174
- version: '0'
175
- segments:
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ hash: 3
174
+ segments:
176
175
  - 0
177
- hash: -2351214180611345255
178
- required_rubygems_version: !ruby/object:Gem::Requirement
176
+ version: "0"
177
+ required_rubygems_version: !ruby/object:Gem::Requirement
179
178
  none: false
180
- requirements:
181
- - - ! '>='
182
- - !ruby/object:Gem::Version
183
- version: '0'
184
- segments:
179
+ requirements:
180
+ - - ">="
181
+ - !ruby/object:Gem::Version
182
+ hash: 3
183
+ segments:
185
184
  - 0
186
- hash: -2351214180611345255
185
+ version: "0"
187
186
  requirements: []
187
+
188
188
  rubyforge_project: steto
189
- rubygems_version: 1.8.23
189
+ rubygems_version: 1.8.24
190
190
  signing_key:
191
191
  specification_version: 3
192
192
  summary: Check system status
193
- test_files:
193
+ test_files:
194
194
  - spec/spec_helper.rb
195
195
  - spec/steto/base_check_spec.rb
196
196
  - spec/steto/beep_reporter_spec.rb