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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +10 -4
- data/README.md +1 -1
- data/bin/handler-hipchat.rb +1 -1
- data/lib/sensu-plugins-hipchat/version.rb +1 -1
- metadata +6 -6
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ac4483194b7045988193f456e15f9673ac3e089
|
4
|
+
data.tar.gz: ebd17ce3478e65f7fb4ede98a98988ca8860d4d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
8
|
+
## [0.0.3] - 2015-07-14
|
9
|
+
### Changed
|
10
|
+
- updated sensu-plugin gem to 1.2.0
|
9
11
|
|
10
12
|
### Added
|
11
|
-
-
|
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)
|
data/bin/handler-hipchat.rb
CHANGED
@@ -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']
|
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.
|
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-
|
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.
|
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.
|
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
|