sensu-plugins-imkayac 0.0.2 → 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: 1f6640bcf0ef6494fd6d8fae4828210f53e7e293
4
- data.tar.gz: 3e3f4de9c77c60d242bf9c96189bfa66772a2308
3
+ metadata.gz: 7f2f759cc103c7ea93418857a76f9204c2daec40
4
+ data.tar.gz: 492baf37f28126fac736623e7bd156aac359600b
5
5
  SHA512:
6
- metadata.gz: 8710782e6f7b8f556c61c92d78980c6b34ecc19dc44d1f88488cf44bc02482466e794ca3d4ce2814177ab0f1d12ba108fb78195858a1a22ec218d7dd8c5d3d40
7
- data.tar.gz: 79fababd5e76a0c531ac7fa6d0bd4972f9f7558220dc3ef9afc26e0396d2f8886ea18a521f513b61420028aaa27a7fa78fa44341d06fcbeccbc42996aeabd7d2
6
+ metadata.gz: da334f410b6d5517f1a484ea675f4bb53209f4837ed4f646a0cb08c79a5b47a8f84f6d52f9c07cdb315f70afe76ab6bc92433bb7f9cede2777b3c2a65f51ff06
7
+ data.tar.gz: 5ccfb5d5a8958d0549c66fe0e071f5be440752ca04f6fbc4cde5f964385a840d8b5d83df8c1d9b709871375bedcf2bdfac90fee51c933cb4d362b13a4398344c
@@ -1,14 +1,30 @@
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
+
8
+ ## [1.0.0] - 2017-06-26
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
+ - Update to Rubocop `0.40` and cleanup (@eheydrick)
18
+ - Rename `imkayac.rb` to `handler-imkayac.rb` to meet naming standards (@eheydrick)
7
19
 
8
20
  ## [0.0.2] - 2015-07-14
9
21
  ### Changed
10
22
  - updated sensu-plugin gem to 1.2.0
11
23
 
12
- ## [0.0.1] - 2015-06-28
24
+ ## 0.0.1 - 2015-06-28
13
25
  ### Added
14
26
  - initial release
27
+
28
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-imkayac/compare/1.0.0...HEAD
29
+ [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-imkayac/compare/0.0.2...1.0.0
30
+ [0.0.2]: https://github.com/sensu-plugins/sensu-plugins-imkayac/compare/0.0.1...0.0.2
data/README.md CHANGED
@@ -1,16 +1,15 @@
1
1
  ## Sensu-Plugins-imkayac
2
2
 
3
- [ ![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-imkayac.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-imkayac)
3
+ [![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-imkayac.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-imkayac)
4
4
  [![Gem Version](https://badge.fury.io/rb/sensu-plugins-imkayac.svg)](http://badge.fury.io/rb/sensu-plugins-imkayac)
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-imkayac/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-imkayac)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-imkayac/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-imkayac)
7
7
  [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-imkayac.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-imkayac)
8
- [![Codeship Status for sensu-plugins/sensu-plugins-imkayac](https://codeship.com/projects/0db8ad20-edb0-0132-53ad-5a51cb58650a/status?branch=master)](https://codeship.com/projects/84060)
9
8
 
10
9
  ## Functionality
11
10
 
12
11
  ## Files
13
- * bin/imkayac
12
+ * bin/handler-imkayac.rb
14
13
 
15
14
  ## Usage
16
15
 
@@ -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
@@ -19,10 +19,10 @@ class ImkayacNotif < Sensu::Handler
19
19
  message = @event['check']['notification'] || @event['check']['output']
20
20
  begin
21
21
  timeout(3) do
22
- p ImKayac.to("#{user}").password("#{pass}").post("#{event_action} - #{event_name} - #{message}")
22
+ p ImKayac.to(user.to_s).password(pass.to_s).post("#{event_action} - #{event_name} - #{message}")
23
23
  end
24
- rescue Timeout::Error
25
- puts 'im.kayac -- timed out while attempting to message'
24
+ rescue Timeout::Error
25
+ puts 'im.kayac -- timed out while attempting to message'
26
26
  end
27
27
  end
28
28
  end
@@ -1,8 +1,8 @@
1
1
  module SensuPluginsImkayac
2
2
  module Version
3
- MAJOR = 0
3
+ MAJOR = 1
4
4
  MINOR = 0
5
- PATCH = 2
5
+ PATCH = 0
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,51 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-imkayac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
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/IsZAEZFgh5aWVsZGJvdDETMBEGCgmSJomT8ixkARkW
15
- A2NvbTAeFw0xNTAxMjgyMTAyNTFaFw0xNjAxMjgyMTAyNTFaMEMxEj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N4gz1wwPr
32
- -----END CERTIFICATE-----
33
- date: 2015-07-14 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2017-06-27 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
28
  name: im-kayac
51
29
  requirement: !ruby/object:Gem::Requirement
@@ -120,16 +98,16 @@ dependencies:
120
98
  name: rubocop
121
99
  requirement: !ruby/object:Gem::Requirement
122
100
  requirements:
123
- - - '='
101
+ - - "~>"
124
102
  - !ruby/object:Gem::Version
125
- version: '0.30'
103
+ version: 0.40.0
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: '0.30'
110
+ version: 0.40.0
133
111
  - !ruby/object:Gem::Dependency
134
112
  name: rspec
135
113
  requirement: !ruby/object:Gem::Requirement
@@ -189,14 +167,14 @@ dependencies:
189
167
  description: Sensu imkayac plugins
190
168
  email: "<sensu-users@googlegroups.com>"
191
169
  executables:
192
- - imkayac.rb
170
+ - handler-imkayac.rb
193
171
  extensions: []
194
172
  extra_rdoc_files: []
195
173
  files:
196
174
  - CHANGELOG.md
197
175
  - LICENSE
198
176
  - README.md
199
- - bin/imkayac.rb
177
+ - bin/handler-imkayac.rb
200
178
  - lib/sensu-plugins-imkayac.rb
201
179
  - lib/sensu-plugins-imkayac/version.rb
202
180
  homepage: https://github.com/sensu-plugins/sensu-plugins-imkayac
@@ -217,7 +195,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
217
195
  requirements:
218
196
  - - ">="
219
197
  - !ruby/object:Gem::Version
220
- version: 1.9.3
198
+ version: 2.0.0
221
199
  required_rubygems_version: !ruby/object:Gem::Requirement
222
200
  requirements:
223
201
  - - ">="
@@ -225,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
203
  version: '0'
226
204
  requirements: []
227
205
  rubyforge_project:
228
- rubygems_version: 2.4.6
206
+ rubygems_version: 2.4.5
229
207
  signing_key:
230
208
  specification_version: 4
231
209
  summary: Sensu plugins for imkayac
@@ -1,2 +0,0 @@
1
- h�.�&3�'̨6*�䰮4c�����+��XY0�����z�9lӿ@�I� C��qz�æ.2d��0��e�����J[8^���w*:շ�,�����a��F ���>�����(,5a��]!�����X��ub�ҙ�˕@��̊�Y3&0���,��!4H��<a~�:|Y�3@���|�<�Qn ��l�^�F�\��!��].�|���W#_
2
- ��E�*N�P]�u������j����1o�H��x6�޿��9�
data.tar.gz.sig DELETED
@@ -1,3 +0,0 @@
1
- 'ɾ
2
- PNk�d����A��y��%b�(���?�>���X��Y�ڀ H����� ���Ӝ�Ep�������>Le�7�)��z�>���M-f��T��w�t�e.���z�^��" �g��Oa��^�|Q�_�>݋^��F������g^�s�lWԚ��:[_kO��ve��V{W��F��f��ה� ��pCH
3
- Y�� \��]$�J�5A:���R�.�r9��IU?:,��Vp��0����vF���_!V[w�k�
metadata.gz.sig DELETED
Binary file