sensu-plugins-slack 1.5.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -3
- data/bin/handler-slack-multichannel.rb +2 -2
- data/lib/sensu-plugins-slack/version.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2ef290bc31a10e7dbebbc2f06dd09ef92e9028a
|
4
|
+
data.tar.gz: 5dc4ecfd841c91472937d6aa7166541d2d0385c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 336c8ea18d990bfd70d4b1af379c9feb48c1d4bbf18d7b96ecd9f5d9975f1b899f74da5a27b058ef1562d25461cfdba5befae7ddfd5a8aee835a206ecc8753bb
|
7
|
+
data.tar.gz: 5afb380b4e1809e418010e334dbe79efee3bdf1c2ca21b3858f4628ba43de2a558d4314666b8f30505d80556e4f64045e7cc244b1f3301420b0dc880be4b8169
|
data/CHANGELOG.md
CHANGED
@@ -4,12 +4,17 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
|
+
|
8
|
+
## [2.0.0] - 2017-10-21
|
9
|
+
### Breaking Changes
|
10
|
+
- `handler-slack-multichannel.rb`: Fixed title unknown issue when using proxy clients, change from client address to client name (@autumnw)
|
11
|
+
|
7
12
|
## [1.5.1] - 2017-08-18
|
8
13
|
### Fixed
|
9
|
-
- `handler-slack-multichannel.rb`: Add param webhook_urls to support one webhook_url per channel
|
14
|
+
- `handler-slack-multichannel.rb`: Add param webhook_urls to support one webhook_url per channel (@autumnw)
|
10
15
|
|
11
16
|
### Added
|
12
|
-
- slack badge to README.
|
17
|
+
- slack badge to README. (@majormoses)
|
13
18
|
|
14
19
|
## [1.5.0] - 2017-08-07
|
15
20
|
### Added
|
@@ -103,7 +108,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
103
108
|
### Added
|
104
109
|
- initial release
|
105
110
|
|
106
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-slack/compare/
|
111
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-slack/compare/2.0.0...HEAD
|
112
|
+
[2.0.0]: https://github.com/sensu-plugins/sensu-plugins-slack/compare/1.5.0...2.0.0
|
107
113
|
[1.5.1]: https://github.com/sensu-plugins/sensu-plugins-slack/compare/1.5.0...1.5.1
|
108
114
|
[1.5.0]: https://github.com/sensu-plugins/sensu-plugins-slack/compare/1.4.0...1.5.0
|
109
115
|
[1.4.0]: https://github.com/sensu-plugins/sensu-plugins-slack/compare/1.3.0...1.4.0
|
@@ -233,7 +233,7 @@ class Slack < Sensu::Handler
|
|
233
233
|
'''<%=
|
234
234
|
[
|
235
235
|
@event["check"]["output"].gsub(\'"\', \'\\"\'),
|
236
|
-
@event["client"]["
|
236
|
+
@event["client"]["name"],
|
237
237
|
@event["client"]["subscriptions"].join(",")
|
238
238
|
].join(" : ")
|
239
239
|
%>
|
@@ -301,7 +301,7 @@ class Slack < Sensu::Handler
|
|
301
301
|
{
|
302
302
|
icon_url: slack_icon_url ? slack_icon_url : 'https://raw.githubusercontent.com/sensu/sensu-logo/master/sensu1_flat%20white%20bg_png.png',
|
303
303
|
attachments: [{
|
304
|
-
title: "#{@event['client']['
|
304
|
+
title: "#{@event['client']['name']} - #{translate_status}",
|
305
305
|
text: [slack_message_prefix, notice].compact.join(' '),
|
306
306
|
color: color,
|
307
307
|
fields: client_fields
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-slack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.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-
|
11
|
+
date: 2017-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: erubis
|
@@ -205,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
205
205
|
version: '0'
|
206
206
|
requirements: []
|
207
207
|
rubyforge_project:
|
208
|
-
rubygems_version: 2.
|
208
|
+
rubygems_version: 2.6.14
|
209
209
|
signing_key:
|
210
210
|
specification_version: 4
|
211
211
|
summary: Sensu plugins for interfacing with Slack chat
|