sensu-plugins-dashing 0.0.3 → 1.0.0

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: 80e7f25c2d19d09d25af04983e4e24740c91deed
4
- data.tar.gz: f43388c979da107e6f905c1cab146e896cb97793
3
+ metadata.gz: 8fdaab94f18789c3340cdeed100e37cb29f65566
4
+ data.tar.gz: f7e27bd5527b3c57ed39de4e81d8c91e1fb5fd9b
5
5
  SHA512:
6
- metadata.gz: dc72f51c065415c7b64943af62b7050a324d1ccc79afec74ae428dced36e7d408f506c3a901370dc06654294cfcbadd697c4fc8c7df6197e8fe75032a30ec925
7
- data.tar.gz: a8caba7f0fc5c423f1897af4ef390f186ff282d29350d7f204afeaaed2c6f1b4164afd2d6d651086680aaeea1b3c09b081635bfa1c54f49ada6a27602bdf90d8
6
+ metadata.gz: 626d1c8bb8867140ab54a9e0a55f40d1cf9e7c384b6103bc5c64efbd109f6400cc845b6c7a0e4d8c9b2d5f24eb1269dee66ae0b95fd9036267b5da63cb35872a
7
+ data.tar.gz: 889fc26d7a1c931652d75f6118436a01c74e0b7562da82643c889027172f1c7420554b4a31ed614c7dde46fb7e77cef67579fb2d383642a19b66e1cbcd50ff8a
@@ -1,26 +1,37 @@
1
- Change Log
2
- This project adheres to [Semantic Versioning](http://semver.org/).
3
-
4
- #Change Log
1
+ # Change Log
5
2
  This project adheres to [Semantic Versioning](http://semver.org/).
6
3
 
7
4
  This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
8
5
 
9
- ## Unreleased][unreleased]
6
+ ## [Unreleased]
7
+
8
+ ## [1.0.0] - 2017-06-29
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` (@mattyjones)
17
+ - Update to Rubocop `0.40` and cleanup (@eheydrick)
10
18
 
11
19
  ## [0.0.3] - 2015-07-14
12
20
  ### Changed
13
21
  - updated sensu-plugin gem to 1.2.0
14
22
 
15
- ## 0.0.1 - 2015-04-30
16
-
17
- ### Added
18
- - initial release
19
-
20
23
  ## [0.0.2] - 2015-06-02
21
-
22
24
  ### Fixed
23
25
  - added binstubs
24
26
 
25
27
  ### Changed
26
- - removed cruft from /lib
28
+ - removed cruft from /lib
29
+
30
+ ## 0.0.1 - 2015-04-30
31
+ ### Added
32
+ - initial release
33
+
34
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-dashing/compare/1.0.0...HEAD
35
+ [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-dashing/compare/0.0.3...1.0.0
36
+ [0.0.3]: https://github.com/sensu-plugins/sensu-plugins-dashing/compare/0.0.2...0.0.3
37
+ [0.0.2]: https://github.com/sensu-plugins/sensu-plugins-dashing/compare/0.0.1...0.0.2
data/README.md CHANGED
@@ -1,11 +1,10 @@
1
1
  ## Sensu-Plugins-dashing
2
2
 
3
- [ ![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-dashing.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-dashing)
3
+ [![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-dashing.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-dashing)
4
4
  [![Gem Version](https://badge.fury.io/rb/sensu-plugins-dashing.svg)](http://badge.fury.io/rb/sensu-plugins-dashing)
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-dashing/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-dashing)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-dashing/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-dashing)
7
7
  [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-dashing.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-dashing)
8
- [ ![Codeship Status for sensu-plugins/sensu-plugins-dashing](https://codeship.com/projects/94441700-d5ad-0132-74aa-1e0a7d4d648e/status?branch=master)](https://codeship.com/projects/78141)
9
8
 
10
9
  ## Functionality
11
10
 
@@ -25,6 +24,6 @@
25
24
 
26
25
  ## Installation
27
26
 
28
- [Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
27
+ [Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
29
28
 
30
29
  ## Notes
@@ -32,10 +32,10 @@ class DashingNotifier < Sensu::Handler
32
32
  @event['client']['name'] + '-' + @event['check']['name']
33
33
  end
34
34
 
35
- def handle # rubocop:disable all
35
+ def handle
36
36
  token = settings['dashing']['auth_token']
37
37
  data = @event['check']['output']
38
- payload = { 'auth_token' => "#{token}", 'moreinfo' => "#{data}" }.to_json
38
+ payload = { 'auth_token' => token.to_s, 'moreinfo' => data.to_s }.to_json
39
39
 
40
40
  uri = URI.parse(settings['dashing']['host'])
41
41
  http = Net::HTTP.new(uri.host, uri.port)
@@ -1,8 +1,8 @@
1
1
  module SensuPluginsDashing
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,177 +1,155 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-dashing
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
- MIIDgDCCAmigAwIBAgIBATANBgkqhkiG9w0BAQUFADBDMRIwEAYDVQQDDAltYXR0
14
- am9uZXMxGDAWBgoJkiaJk/IsZAEZFgh5aWVsZGJvdDETMBEGCgmSJ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Gx2l4254+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-30 00:00:00.000000000 Z
34
12
  dependencies:
35
13
  - !ruby/object:Gem::Dependency
36
14
  name: sensu-plugin
37
15
  requirement: !ruby/object:Gem::Requirement
38
16
  requirements:
39
- - - '='
17
+ - - "~>"
40
18
  - !ruby/object:Gem::Version
41
- version: 1.2.0
19
+ version: '1.2'
42
20
  type: :runtime
43
21
  prerelease: false
44
22
  version_requirements: !ruby/object:Gem::Requirement
45
23
  requirements:
46
- - - '='
24
+ - - "~>"
47
25
  - !ruby/object:Gem::Version
48
- version: 1.2.0
26
+ version: '1.2'
49
27
  - !ruby/object:Gem::Dependency
50
- name: codeclimate-test-reporter
28
+ name: bundler
51
29
  requirement: !ruby/object:Gem::Requirement
52
30
  requirements:
53
31
  - - "~>"
54
32
  - !ruby/object:Gem::Version
55
- version: '0.4'
33
+ version: '1.7'
56
34
  type: :development
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: '0.4'
40
+ version: '1.7'
63
41
  - !ruby/object:Gem::Dependency
64
- name: rubocop
42
+ name: codeclimate-test-reporter
65
43
  requirement: !ruby/object:Gem::Requirement
66
44
  requirements:
67
- - - '='
45
+ - - "~>"
68
46
  - !ruby/object:Gem::Version
69
- version: '0.30'
47
+ version: '0.4'
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.30'
54
+ version: '0.4'
77
55
  - !ruby/object:Gem::Dependency
78
- name: rspec
56
+ name: github-markup
79
57
  requirement: !ruby/object:Gem::Requirement
80
58
  requirements:
81
59
  - - "~>"
82
60
  - !ruby/object:Gem::Version
83
- version: '3.1'
61
+ version: '1.3'
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: '3.1'
68
+ version: '1.3'
91
69
  - !ruby/object:Gem::Dependency
92
- name: bundler
70
+ name: pry
93
71
  requirement: !ruby/object:Gem::Requirement
94
72
  requirements:
95
73
  - - "~>"
96
74
  - !ruby/object:Gem::Version
97
- version: '1.7'
75
+ version: '0.10'
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: '1.7'
82
+ version: '0.10'
105
83
  - !ruby/object:Gem::Dependency
106
84
  name: rake
107
85
  requirement: !ruby/object:Gem::Requirement
108
86
  requirements:
109
87
  - - "~>"
110
88
  - !ruby/object:Gem::Version
111
- version: '10.0'
89
+ version: '10.5'
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: '10.0'
96
+ version: '10.5'
119
97
  - !ruby/object:Gem::Dependency
120
- name: github-markup
98
+ name: redcarpet
121
99
  requirement: !ruby/object:Gem::Requirement
122
100
  requirements:
123
101
  - - "~>"
124
102
  - !ruby/object:Gem::Version
125
- version: '1.3'
103
+ version: '3.2'
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: '1.3'
110
+ version: '3.2'
133
111
  - !ruby/object:Gem::Dependency
134
- name: redcarpet
112
+ name: rubocop
135
113
  requirement: !ruby/object:Gem::Requirement
136
114
  requirements:
137
115
  - - "~>"
138
116
  - !ruby/object:Gem::Version
139
- version: '3.2'
117
+ version: 0.40.0
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: '3.2'
124
+ version: 0.40.0
147
125
  - !ruby/object:Gem::Dependency
148
- name: yard
126
+ name: rspec
149
127
  requirement: !ruby/object:Gem::Requirement
150
128
  requirements:
151
129
  - - "~>"
152
130
  - !ruby/object:Gem::Version
153
- version: '0.8'
131
+ version: '3.4'
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: '0.8'
138
+ version: '3.4'
161
139
  - !ruby/object:Gem::Dependency
162
- name: pry
140
+ name: yard
163
141
  requirement: !ruby/object:Gem::Requirement
164
142
  requirements:
165
143
  - - "~>"
166
144
  - !ruby/object:Gem::Version
167
- version: '0.10'
145
+ version: '0.8'
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.10'
152
+ version: '0.8'
175
153
  description: Sensu plugins for dashing
176
154
  email: "<sensu-users@googlegroups.com>"
177
155
  executables:
@@ -189,7 +167,7 @@ homepage: https://github.com/sensu-plugins/sensu-plugins-dashing
189
167
  licenses:
190
168
  - MIT
191
169
  metadata:
192
- maintainer: ''
170
+ maintainer: sensu-plugin
193
171
  development_status: unmaintained
194
172
  production_status: unstable - testing recommended
195
173
  releae_draft: 'false'
@@ -203,7 +181,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
181
  requirements:
204
182
  - - ">="
205
183
  - !ruby/object:Gem::Version
206
- version: 1.9.3
184
+ version: 2.0.0
207
185
  required_rubygems_version: !ruby/object:Gem::Requirement
208
186
  requirements:
209
187
  - - ">="
@@ -211,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
189
  version: '0'
212
190
  requirements: []
213
191
  rubyforge_project:
214
- rubygems_version: 2.4.6
192
+ rubygems_version: 2.4.5
215
193
  signing_key:
216
194
  specification_version: 4
217
195
  summary: Sensu plugins for dashing
@@ -1,3 +0,0 @@
1
- �d�]��{J�t=�0�G�ޅ�h��@�/s?�v.;y��J��� %>V%A���]��zK�N�W����,j%� C�ǜ�'�6��_�����l�&�q�j
2
- ��i��c+tjH��_�I�{��S�x�,�HR���L�n�r�n?a�b�*\�
3
- y�� �a>���)��Z�O�c��'c�8?spA�|D��
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
@@ -1 +0,0 @@
1
- o�W