sensu-plugins-hipchat 2.1.0 → 3.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
  SHA256:
3
- metadata.gz: 81b7c4f902da14de1f906c43fd2fb43987f59995b1e8a322445ec1677c827adb
4
- data.tar.gz: 1dd5c12ad4f0cb41b2da0990139ec2f1520ffa905c363393d5d4fa32283d309c
3
+ metadata.gz: 00ae068957af71fde4ac13c09d88b3dad07f8827ee8814ced718fa74a0bddecb
4
+ data.tar.gz: 5affcd94f4e1e54eaa9ad2dc3a3c049f17c09f30c4b054ec262f05917db9dd78
5
5
  SHA512:
6
- metadata.gz: 4a6d72b19e12473632ead22b6ed72be4c33989343d6539e88e60a499421f89935ebfd3aedbc5702b8dfb921d27583decf31ab115b80cec61e24ef36d5c81b51b
7
- data.tar.gz: 6ca121e0489545f34b937e687b39ee1daeb4b1862f722a81965542b06e03a3d8b302129d8c02ddba4dc90a8d1bb7cf147af69d61e272daa72b67db9dcdb5bf9d
6
+ metadata.gz: 615e662ed41c212e53e1ad1c2a69b63d1c96e0b9e5f67ddd38723659542f550689e119e8e407f45e7ee3fcb50ec2bf95fd5783907c3847a0191e9e550ce06b62
7
+ data.tar.gz: 5e3f68be385d448cebe199d0e6b9e04acb49b2ea9b9194ca05f9a632ee1e2f44983ae809811aa24e76b5d9000ef72b06f67035bcb91fcdb1fc4dc486e809d159
data/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [3.0.0] - 2017-12-07
9
+ ### Breaking Changes
10
+ - bumped dependency of `sensu-plugin` to 2.x you can read about it [here](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v200---2017-03-29) (@multani)
11
+
12
+ ### Fixed
13
+ - fix `timeout` runtime warnings (@multani)
14
+
8
15
  ## [2.1.0] - 2017-12-05
9
16
  ### Changed
10
17
  - Remove trailing whitespace in the default template
@@ -46,7 +53,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
46
53
  ### Added
47
54
  - initial release
48
55
 
49
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-hipchat/compare/2.1.0...HEAD
56
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-hipchat/compare/3.0.0...HEAD
57
+ [3.0.0]: https://github.com/sensu-plugins/sensu-plugins-hipchat/compare/2.1.0...3.0.0
50
58
  [2.1.0]: https://github.com/sensu-plugins/sensu-plugins-hipchat/compare/2.0.0...2.1.0
51
59
  [2.0.0]: https://github.com/sensu-plugins/sensu-plugins-hipchat/compare/1.0.0...2.0.0
52
60
  [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-hipchat/compare/0.0.4...1.0.0
@@ -83,7 +83,7 @@ class HipChatNotif < Sensu::Handler
83
83
  message = eruby.result(binding)
84
84
 
85
85
  begin
86
- timeout(3) do
86
+ Timeout.timeout(3) do
87
87
  if @event['action'].eql?('resolve')
88
88
  hipchatmsg[room].send(from, message, color: 'green', message_format: message_format)
89
89
  else
@@ -1,7 +1,7 @@
1
1
  module SensuPluginsHipchat
2
2
  module Version
3
- MAJOR = 2
4
- MINOR = 1
3
+ MAJOR = 3
4
+ MINOR = 0
5
5
  PATCH = 0
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-hipchat
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-06 00:00:00.000000000 Z
11
+ date: 2017-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: sensu-plugin
14
+ name: hipchat
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: '1.2'
19
+ version: 1.5.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: '1.2'
26
+ version: 1.5.1
27
27
  - !ruby/object:Gem::Dependency
28
- name: hipchat
28
+ name: sensu-plugin
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.5.1
33
+ version: '2.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '='
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.5.1
40
+ version: '2.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: erubis
43
43
  requirement: !ruby/object:Gem::Requirement