sensu-plugins-aws 11.4.2 → 11.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b4059b3c6a9ba24eab831dae3dc63fc97ebf5ba35f0d89cc89962a7ec86f6b6
4
- data.tar.gz: 21bb94be580dc82bca8a36e5cc6c777820af8d5deea681d0b761c0e983e52497
3
+ metadata.gz: edbe12ec3ac72c5f79f014c7f1fd0044d0a63a0fa18f9ae44715fa1f9853ad9d
4
+ data.tar.gz: 4b12a5d6af4d7950fd4650f5623209cb69ad9bd8afa2a85eec8421470b40df6f
5
5
  SHA512:
6
- metadata.gz: 7b6818bb17139ab28a6876913faea3502b412b484284bc4fa86e4cfa5d92f8db6a07f21b697bd2932a3930ac8fb112c0ef6c5702fa38d04210190a36d01090fc
7
- data.tar.gz: f3cb83474edecdd41cb3bac7ca0d1c4bc995b007ec2809393633937fd57e1c7cb5543cb298349896510fc3ca372d869b7fca1fa3bf38d0bf877f059b4821be18
6
+ metadata.gz: 92cdcabadaeaecdd42c33dbef15e657424754627acb0b1605551c9986b31fc6a525b1fadd40967d189150f8068e351652169de4d22bd6bd7a5587ddf65c1e11d
7
+ data.tar.gz: 7d4e4034f429dc20569789cb0702ba870ceb35c6d385db18aa1c9ef004071e98cb985943b2529bdd8fa13d663b7eaf7ea9282e1037ee8050a51ce2a4db535a2c
data/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
  This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md)
5
5
 
6
6
  ## [Unreleased]
7
+
8
+ ## [11.5.0] - 2018-05-17
9
+ ### Added
10
+ - handler-ses.rb: can now set `mail_to` in a check and handler will send to the appropriate email (@Juan-Moreno)
11
+
7
12
  ## [11.4.2] - 2018-05-10
8
13
  ### Fixed
9
14
  - Handle case where a prefix is used and no objects are found. (@akatch)
@@ -473,7 +478,8 @@ WARNING: This release contains major breaking changes that will impact all user
473
478
  ### Added
474
479
  - initial release
475
480
 
476
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.4.2...HEAD
481
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.5.0...HEAD
482
+ [11.5.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.4.2...11.5.0
477
483
  [11.4.2]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.4.1...11.4.2
478
484
  [11.4.1]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.4.0...11.4.1
479
485
  [11.4.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.3.1...11.4.0
data/bin/handler-ses.rb CHANGED
@@ -41,7 +41,7 @@ class SESNotifier < Sensu::Handler
41
41
 
42
42
  def build_mail_to_list
43
43
  json_config = config[:json_config] || 'ses'
44
- mail_to = @event['client']['mail_to'] || settings[json_config]['mail_to']
44
+ mail_to = @event['check']['mail_to'] || @event['client']['mail_to'] || settings[json_config]['mail_to']
45
45
  if settings[json_config].key?('subscriptions')
46
46
  @event['check']['subscribers'].each do |sub|
47
47
  if settings[json_config]['subscriptions'].key?(sub)
@@ -1,8 +1,8 @@
1
1
  module SensuPluginsAWS
2
2
  module Version
3
3
  MAJOR = 11
4
- MINOR = 4
5
- PATCH = 2
4
+ MINOR = 5
5
+ PATCH = 0
6
6
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.4.2
4
+ version: 11.5.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: 2018-05-11 00:00:00.000000000 Z
11
+ date: 2018-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin
@@ -449,7 +449,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
449
449
  version: '0'
450
450
  requirements: []
451
451
  rubyforge_project:
452
- rubygems_version: 2.7.6
452
+ rubygems_version: 2.7.7
453
453
  signing_key:
454
454
  specification_version: 4
455
455
  summary: Sensu plugins for working with an AWS environment