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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f3f9a918ef13d9b355b40c09354e1c88729a3ae
4
- data.tar.gz: 9852fac7e1faf796eb9e7fd0fd3a5f7366e37d1f
3
+ metadata.gz: e2ef290bc31a10e7dbebbc2f06dd09ef92e9028a
4
+ data.tar.gz: 5dc4ecfd841c91472937d6aa7166541d2d0385c2
5
5
  SHA512:
6
- metadata.gz: c6d3c867acafaf6b89cb500fe2cd4240c8e93beeae9b555873ed4ed69d44713268faf840745a3ea267c487540b5a93bee12b3bfb40576a1749b0d21f690b105d
7
- data.tar.gz: ed616147d09b618f9ee203a5d00ce561bc61ec3d12b5730e3609df9385e48657fcafdc7a51c3d984f8057b82fbf9bc173641f024d6a4d729224e64919e165bfa
6
+ metadata.gz: 336c8ea18d990bfd70d4b1af379c9feb48c1d4bbf18d7b96ecd9f5d9975f1b899f74da5a27b058ef1562d25461cfdba5befae7ddfd5a8aee835a206ecc8753bb
7
+ data.tar.gz: 5afb380b4e1809e418010e334dbe79efee3bdf1c2ca21b3858f4628ba43de2a558d4314666b8f30505d80556e4f64045e7cc244b1f3301420b0dc880be4b8169
@@ -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/1.5.0...HEAD
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"]["address"],
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']['address']} - #{translate_status}",
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
@@ -1,8 +1,8 @@
1
1
  module SensuPluginsSlack
2
2
  module Version
3
- MAJOR = 1
4
- MINOR = 5
5
- PATCH = 1
3
+ MAJOR = 2
4
+ MINOR = 0
5
+ PATCH = 0
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
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: 1.5.1
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-08-18 00:00:00.000000000 Z
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.4.5
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