sensu-plugins-microsoft-teams 0.0.6 → 1.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: 760e0374a37eb151039fdde0fd61324fbfbfed94
4
- data.tar.gz: 37532f42c0eaa461ad723bb75e694d575b307dc6
3
+ metadata.gz: 3c4ca3f885210094b5096b4b5a3cdd9293f20a78
4
+ data.tar.gz: d43995e3d0661beadc857bd8ea9c00cb29409ff2
5
5
  SHA512:
6
- metadata.gz: a27faa41bcaf3c36c9f64b6830eb842ea80ad1c65247f3e8c8afabe5a885ab98236fc27473a0a352c99d5a448bcc34b79e85be0e19e16bc355973ba3f1dcf4e3
7
- data.tar.gz: 00439e3e84748bd6a652839d39cfda5de02a86f3e299c7ea0dd944e20e86a8e5f3a73f17fce718cf491e2fb3a08aab2079f68aa084089fe090b7f9e7876e770b
6
+ metadata.gz: 07458a4e6f31afda9b9940415106f098f4c8f36e518a5c6df347cc06a81091313edc7a15e70f6308f74adb6f6764dc76e5ae42fb8063a4d04d8bed08bf521b10
7
+ data.tar.gz: e0942f486d18e7074cea19e9992dc1a88313450886dd2aba8cdbfcc96c6c13773471b670e08ad89efa824cb8068189696439eecf16c8e6a18fae1222cb7fbfaa
@@ -181,10 +181,10 @@ class MicrosoftTeams < Sensu::Handler
181
181
 
182
182
  {
183
183
  icon_url: teams_icon_url ? teams_icon_url : 'https://raw.githubusercontent.com/sensu/sensu-logo/master/sensu1_flat%20white%20bg_png.png',
184
- attachments: [{
185
- title: "#{@event['client']['address']} - #{translate_status}",
184
+ themeColor: color,
185
+ text: "#{@event['client']['address']} - #{translate_status}",
186
+ sections: [{
186
187
  text: [teams_message_prefix, notice].compact.join(' '),
187
- color: color,
188
188
  fields: client_fields
189
189
  }]
190
190
  }.tap do |payload|
@@ -1,8 +1,8 @@
1
1
  module SensuPluginsMicrosoftTeams
2
2
  module Version
3
- MAJOR = 0
3
+ MAJOR = 1
4
4
  MINOR = 0
5
- PATCH = 6
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-microsoft-teams
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 1.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-09-18 00:00:00.000000000 Z
11
+ date: 2017-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin