sensu-plugins-hipchat 0.0.2 → 0.0.3

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: 610ee18959ea2616be19aff0c2fa38d9403ef39a
4
- data.tar.gz: 5b534ab36333fa7b7e218af6cee7227511c497fb
3
+ metadata.gz: 5ac4483194b7045988193f456e15f9673ac3e089
4
+ data.tar.gz: ebd17ce3478e65f7fb4ede98a98988ca8860d4d5
5
5
  SHA512:
6
- metadata.gz: 3737c68562b8ae6f02555d5e6f67c2ae53a6a2652446067503bcf549f4e9a4cd9330839a4d211e515790fe8366c8efb44b677ea14e79aacaed7a1ef7988287c7
7
- data.tar.gz: 54135e9a1414e16983af39cf16053846f6907693a9873a62dd9234161c931e0d91dd1600fd36f6f42e82f107d234f39eebe195e5a329293f272d42a09c3be425
6
+ metadata.gz: 3f367757132393538a49b096074b3b0a52e4bc5cceec7b7baab6f76ee37847d23d2ad6a04872b767bf92fae311ac51451700ab0961051df41d8905e98e5c82e1
7
+ data.tar.gz: 0a850d1f1d7bd8cf7c9df47f776d5f1e2001d0d10a2872bf09912a57302fbc705a583be5907a2955836c8a570386e310b61bf19540640e1cd21f38a5c6e115e0
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -5,15 +5,21 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## Unreleased][unreleased]
7
7
 
8
- ## 0.0.1 - 2015-05-29
8
+ ## [0.0.3] - 2015-07-14
9
+ ### Changed
10
+ - updated sensu-plugin gem to 1.2.0
9
11
 
10
12
  ### Added
11
- - initial release
13
+ - ability to specify the room at the check level
12
14
 
13
15
  ## [0.0.2] - 2015-06-02
14
16
 
15
17
  ### Fixed
16
18
  - added binstubs
17
-
18
19
  ### Changed
19
- - removed cruft from /lib
20
+ - removed cruft from /lib
21
+
22
+ ## 0.0.1 - 2015-05-29
23
+ ### Added
24
+ - initial release
25
+
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Sensu-Plugins-hipchat
2
2
 
3
- [![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-hipchat.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-hipchat)
3
+ [ ![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-hipchat.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-hipchat)
4
4
  [![Gem Version](https://badge.fury.io/rb/sensu-plugins-hipchat.svg)](http://badge.fury.io/rb/sensu-plugins-hipchat)
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-hipchat/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-hipchat)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-hipchat/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-hipchat)
@@ -44,7 +44,7 @@ class HipChatNotif < Sensu::Handler
44
44
  apiversion = settings[json_config]['apiversion'] || 'v1'
45
45
  proxy_url = settings[json_config]['proxy_url']
46
46
  hipchatmsg = HipChat::Client.new(settings[json_config]['apikey'], api_version: apiversion, http_proxy: proxy_url, server_url: server_url)
47
- room = @event['client']['hipchat_room'] || settings[json_config]['room']
47
+ room = @event['client']['hipchat_room'] || @event['check']['hipchat_room'] || settings[json_config]['room']
48
48
  from = settings[json_config]['from'] || 'Sensu'
49
49
 
50
50
  message = @event['check']['notification'] || @event['check']['output']
@@ -2,7 +2,7 @@ module SensuPluginsHipchat
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 2
5
+ PATCH = 3
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-hipchat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
@@ -30,7 +30,7 @@ cert_chain:
30
30
  8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
31
  HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
32
  -----END CERTIFICATE-----
33
- date: 2015-06-03 00:00:00.000000000 Z
33
+ date: 2015-07-14 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: sensu-plugin
@@ -38,14 +38,14 @@ dependencies:
38
38
  requirements:
39
39
  - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: 1.1.0
41
+ version: 1.2.0
42
42
  type: :runtime
43
43
  prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - '='
47
47
  - !ruby/object:Gem::Version
48
- version: 1.1.0
48
+ version: 1.2.0
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: hipchat
51
51
  requirement: !ruby/object:Gem::Requirement
@@ -78,14 +78,14 @@ dependencies:
78
78
  name: rubocop
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - "~>"
81
+ - - '='
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0.30'
84
84
  type: :development
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - "~>"
88
+ - - '='
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0.30'
91
91
  - !ruby/object:Gem::Dependency
metadata.gz.sig CHANGED
Binary file