sensu-plugins-pingdom 0.0.3 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48ce6bac30d700f69a1abe1c8eb4a7d0dd5e03d0
4
- data.tar.gz: 62a021d5c5c2410ce62680050b37f57e2ca09a03
3
+ metadata.gz: 06a4cd7b30414c2346b8d7e4d678da3127b8384c
4
+ data.tar.gz: a09d089c4ed98b10d8a1f134b523875c2d15ac69
5
5
  SHA512:
6
- metadata.gz: a449f4459cdb89c7bd1078193f0feb07c415659f3270ffca2fd6cd57a2766492279ae4f438ec055f4aba3f6604f778288d4741516fd16b135d11280f0e809017
7
- data.tar.gz: 9167548f03b47f18074f14631afa77979ab482253a78f7bda73b16d1ef9f9bdafd800ee12ae6ab167f4b65fb2baa1ffa5516839ad72a0a94155e811a1677fbd7
6
+ metadata.gz: 73d84fa209cb3d833cf060421014575bed774c0c8fc8f2533fdadb4273c876cc014e966d9d2f3e44ca31089dc1e31dc1b093b9e88b1fc7021fd7436ccd2b8fa2
7
+ data.tar.gz: 0497b7df719a8b10461b17e1c7547afbeee3fb9d650f9497d8fa508feb00b8988654e5cb6922c20cba0eb6674063eef1038e15af342d7fc61bbd2f4c13fe297c
@@ -1,16 +1,36 @@
1
- #Change Log
1
+ # Change Log
2
2
  This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
4
  This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
5
5
 
6
- ## Unreleased][unreleased]
6
+ ## [Unreleased]
7
7
 
8
- ## [0.0.2] - 2015-07-14
8
+ ## [1.0.0] - 2017-06-08
9
+ ### Added
10
+ - Support for Ruby 2.3 and 2.4 (@eheydrick)
11
+
12
+ ### Removed
13
+ - Support for Ruby < 2 (@eheydrick)
14
+
15
+ ### Changed
16
+ - Loosen `sensu-plugin` dependency to `~> 1.2` (@eheydrick)
17
+
18
+ ## [0.0.4] - 2015-08-26
19
+ ### Changed
20
+ - convert string to integer in timeout option
21
+
22
+ ## [0.0.3] - 2015-07-14
23
+
24
+ ## [0.0.2] - 2015-06-03
9
25
  ### Changed
10
26
  - updated sensu-plugin gem to 1.2.0
11
27
 
12
28
  ## 0.0.1 - 2015-05-21
13
-
14
29
  ### Added
15
30
  - initial release
16
31
 
32
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-pingdom/compare/1.0.0...HEAD
33
+ [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-pingdom/compare/0.0.4...1.0.0
34
+ [0.0.4]: https://github.com/sensu-plugins/sensu-plugins-pingdom/compare/0.0.3...0.0.4
35
+ [0.0.3]: https://github.com/sensu-plugins/sensu-plugins-pingdom/compare/0.0.2...0.0.3
36
+ [0.0.2]: https://github.com/sensu-plugins/sensu-plugins-pingdom/compare/0.0.1...0.0.2
data/README.md CHANGED
@@ -1,11 +1,10 @@
1
1
  ## Sensu-Plugins-pingdom
2
2
 
3
- [ ![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-pingdom.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-pingdom)
3
+ [![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-pingdom.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-pingdom)
4
4
  [![Gem Version](https://badge.fury.io/rb/sensu-plugins-pingdom.svg)](http://badge.fury.io/rb/sensu-plugins-pingdom)
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-pingdom/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-pingdom)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-pingdom/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-pingdom)
7
7
  [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-pingdom.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-pingdom)
8
- [![Codeship Status for sensu-plugins/sensu-plugins-pingdom](https://codeship.com/projects/df105a20-db4b-0132-445b-5ad94843e341/status?branch=master)](https://codeship.com/projects/79591)
9
8
 
10
9
  ## Functionality
11
10
 
@@ -17,6 +16,6 @@
17
16
 
18
17
  ## Installation
19
18
 
20
- [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)
21
20
 
22
21
  ## Notes
@@ -77,7 +77,7 @@ class CheckPingdomAggregates < Sensu::Plugin::Check::CLI
77
77
 
78
78
  def details
79
79
  return nil unless config[:verbose]
80
- ":\n#{ down_checks.map { |check| "#{check[:name]} is down" }.join("\n") }"
80
+ ":\n#{down_checks.map { |check| "#{check[:name]} is down" }.join("\n")}"
81
81
  end
82
82
 
83
83
  def down_checks
@@ -68,7 +68,8 @@ class CheckPingdomCredits < Sensu::Plugin::Check::CLI
68
68
 
69
69
  option :timeout,
70
70
  short: '-t SECS',
71
- default: 10
71
+ default: 10,
72
+ proc: proc(&:to_i)
72
73
 
73
74
  def run
74
75
  check_sms!
@@ -1,8 +1,8 @@
1
1
  module SensuPluginsPingdom
2
2
  module Version
3
- MAJOR = 0
3
+ MAJOR = 1
4
4
  MINOR = 0
5
- PATCH = 3
5
+ PATCH = 0
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,36 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-pingdom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDgDCCAmigAwIBAgIBATANBgkqhkiG9w0BAQUFADBDMRIwEAYDVQQDDAltYXR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qkWmvtlqj9ZVJfV5HQLdu
30
- 8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
- HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
- -----END CERTIFICATE-----
33
- date: 2015-07-14 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2017-06-09 00:00:00.000000000 Z
34
12
  dependencies:
35
13
  - !ruby/object:Gem::Dependency
36
14
  name: rest-client
@@ -50,147 +28,147 @@ dependencies:
50
28
  name: sensu-plugin
51
29
  requirement: !ruby/object:Gem::Requirement
52
30
  requirements:
53
- - - '='
31
+ - - "~>"
54
32
  - !ruby/object:Gem::Version
55
- version: 1.2.0
33
+ version: '1.2'
56
34
  type: :runtime
57
35
  prerelease: false
58
36
  version_requirements: !ruby/object:Gem::Requirement
59
37
  requirements:
60
- - - '='
38
+ - - "~>"
61
39
  - !ruby/object:Gem::Version
62
- version: 1.2.0
40
+ version: '1.2'
63
41
  - !ruby/object:Gem::Dependency
64
- name: codeclimate-test-reporter
42
+ name: bundler
65
43
  requirement: !ruby/object:Gem::Requirement
66
44
  requirements:
67
45
  - - "~>"
68
46
  - !ruby/object:Gem::Version
69
- version: '0.4'
47
+ version: '1.7'
70
48
  type: :development
71
49
  prerelease: false
72
50
  version_requirements: !ruby/object:Gem::Requirement
73
51
  requirements:
74
52
  - - "~>"
75
53
  - !ruby/object:Gem::Version
76
- version: '0.4'
54
+ version: '1.7'
77
55
  - !ruby/object:Gem::Dependency
78
- name: rubocop
56
+ name: codeclimate-test-reporter
79
57
  requirement: !ruby/object:Gem::Requirement
80
58
  requirements:
81
- - - '='
59
+ - - "~>"
82
60
  - !ruby/object:Gem::Version
83
- version: '0.30'
61
+ version: '0.4'
84
62
  type: :development
85
63
  prerelease: false
86
64
  version_requirements: !ruby/object:Gem::Requirement
87
65
  requirements:
88
- - - '='
66
+ - - "~>"
89
67
  - !ruby/object:Gem::Version
90
- version: '0.30'
68
+ version: '0.4'
91
69
  - !ruby/object:Gem::Dependency
92
- name: rspec
70
+ name: github-markup
93
71
  requirement: !ruby/object:Gem::Requirement
94
72
  requirements:
95
73
  - - "~>"
96
74
  - !ruby/object:Gem::Version
97
- version: '3.1'
75
+ version: '1.3'
98
76
  type: :development
99
77
  prerelease: false
100
78
  version_requirements: !ruby/object:Gem::Requirement
101
79
  requirements:
102
80
  - - "~>"
103
81
  - !ruby/object:Gem::Version
104
- version: '3.1'
82
+ version: '1.3'
105
83
  - !ruby/object:Gem::Dependency
106
- name: bundler
84
+ name: pry
107
85
  requirement: !ruby/object:Gem::Requirement
108
86
  requirements:
109
87
  - - "~>"
110
88
  - !ruby/object:Gem::Version
111
- version: '1.7'
89
+ version: '0.10'
112
90
  type: :development
113
91
  prerelease: false
114
92
  version_requirements: !ruby/object:Gem::Requirement
115
93
  requirements:
116
94
  - - "~>"
117
95
  - !ruby/object:Gem::Version
118
- version: '1.7'
96
+ version: '0.10'
119
97
  - !ruby/object:Gem::Dependency
120
98
  name: rake
121
99
  requirement: !ruby/object:Gem::Requirement
122
100
  requirements:
123
101
  - - "~>"
124
102
  - !ruby/object:Gem::Version
125
- version: '10.0'
103
+ version: '10.5'
126
104
  type: :development
127
105
  prerelease: false
128
106
  version_requirements: !ruby/object:Gem::Requirement
129
107
  requirements:
130
108
  - - "~>"
131
109
  - !ruby/object:Gem::Version
132
- version: '10.0'
110
+ version: '10.5'
133
111
  - !ruby/object:Gem::Dependency
134
- name: github-markup
112
+ name: redcarpet
135
113
  requirement: !ruby/object:Gem::Requirement
136
114
  requirements:
137
115
  - - "~>"
138
116
  - !ruby/object:Gem::Version
139
- version: '1.3'
117
+ version: '3.2'
140
118
  type: :development
141
119
  prerelease: false
142
120
  version_requirements: !ruby/object:Gem::Requirement
143
121
  requirements:
144
122
  - - "~>"
145
123
  - !ruby/object:Gem::Version
146
- version: '1.3'
124
+ version: '3.2'
147
125
  - !ruby/object:Gem::Dependency
148
- name: redcarpet
126
+ name: rubocop
149
127
  requirement: !ruby/object:Gem::Requirement
150
128
  requirements:
151
129
  - - "~>"
152
130
  - !ruby/object:Gem::Version
153
- version: '3.2'
131
+ version: 0.40.0
154
132
  type: :development
155
133
  prerelease: false
156
134
  version_requirements: !ruby/object:Gem::Requirement
157
135
  requirements:
158
136
  - - "~>"
159
137
  - !ruby/object:Gem::Version
160
- version: '3.2'
138
+ version: 0.40.0
161
139
  - !ruby/object:Gem::Dependency
162
- name: yard
140
+ name: rspec
163
141
  requirement: !ruby/object:Gem::Requirement
164
142
  requirements:
165
143
  - - "~>"
166
144
  - !ruby/object:Gem::Version
167
- version: '0.8'
145
+ version: '3.4'
168
146
  type: :development
169
147
  prerelease: false
170
148
  version_requirements: !ruby/object:Gem::Requirement
171
149
  requirements:
172
150
  - - "~>"
173
151
  - !ruby/object:Gem::Version
174
- version: '0.8'
152
+ version: '3.4'
175
153
  - !ruby/object:Gem::Dependency
176
- name: pry
154
+ name: yard
177
155
  requirement: !ruby/object:Gem::Requirement
178
156
  requirements:
179
157
  - - "~>"
180
158
  - !ruby/object:Gem::Version
181
- version: '0.10'
159
+ version: '0.8'
182
160
  type: :development
183
161
  prerelease: false
184
162
  version_requirements: !ruby/object:Gem::Requirement
185
163
  requirements:
186
164
  - - "~>"
187
165
  - !ruby/object:Gem::Version
188
- version: '0.10'
166
+ version: '0.8'
189
167
  description: Sensu plugins for pingdom
190
168
  email: "<sensu-users@googlegroups.com>"
191
169
  executables:
192
- - check-pingdom-credits.rb
193
170
  - check-pingdom-aggregates.rb
171
+ - check-pingdom-credits.rb
194
172
  extensions: []
195
173
  extra_rdoc_files: []
196
174
  files:
@@ -219,7 +197,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
197
  requirements:
220
198
  - - ">="
221
199
  - !ruby/object:Gem::Version
222
- version: 1.9.3
200
+ version: 2.0.0
223
201
  required_rubygems_version: !ruby/object:Gem::Requirement
224
202
  requirements:
225
203
  - - ">="
@@ -227,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
205
  version: '0'
228
206
  requirements: []
229
207
  rubyforge_project:
230
- rubygems_version: 2.4.6
208
+ rubygems_version: 2.4.5
231
209
  signing_key:
232
210
  specification_version: 4
233
211
  summary: Sensu plugins for pingdom
@@ -1 +0,0 @@
1
- ��#61c �'��K��jyye��H� X�`��;�t���z�6��-�#co��]�͠}��4���J�l���L���C�I��)���vot9f{�/��h ��8�ʸ��nsw���B����u� �$���-Hz�LoLt�Rg�(4�o�}���(�Yc��W �Va��#*0N�=�O\W�:IV�����a�%AS�IV>��Dã �2� ^ԢuۄX��H 1� `� �:�L��恪�i���vVJ������}2ƺ1
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file