sensu-plugins-aws 11.4.0 → 11.4.1

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: 759ebb6f5b2c991d44235b5392c64c005e25372b639d77aa561f5d2dc8de9768
4
- data.tar.gz: 002bdfa80613f0b1a9499f968175bf81d3a94d758379174a9cd92f356b74cee8
3
+ metadata.gz: c0b5dbd2a99985f9529eb58fb7717137fc223d668d763468fad75f00e36bdd2e
4
+ data.tar.gz: c91fb2fe947db5c68016d4e5f150e411df6cb21dcf67d2c3e1d64a49faa5af7b
5
5
  SHA512:
6
- metadata.gz: d9bf47beeff3da64504e8a4fa7c47f9c9c3e279e770ec7c806ce5747ddad06acb12fdf51ff59b3550f6aa30d7d64d5e774fb0195231b3e24e08c873a0a6f82ea
7
- data.tar.gz: 8576679f7f3fa9702fd12691eb63574dec0102ddc8c5eff7832cb70b093480937d9e3f7c3935ccdabafb5471d3e1a9a332d171a85c57caa8bdc7195597d00896
6
+ metadata.gz: 78ac9d20a4b625aae2d445e58f90031d04ff6ae5cbeb4f9e88620c13d9e0795f440418ee638d978e0ae13779761c98531a919aa88f5a3a874f4f45fbf1032753
7
+ data.tar.gz: 02896380342abf6b45d48e512b6f396d3248bd97896e9fe9ef4ed005c2e1717cad18c12fd8ded73977d0c3deea2ac8bba4cad2a5a6d51f6dbfce5986507256bb
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [11.4.1] - 2018-05-07
9
+ ### Fixed
10
+ - Trim all leading whitespace from each line in the email bodies when using the SES handler, and not a specific number of spaces, which may change as files are reformatted/refactored. (@mattdoller)
11
+
8
12
  ## [11.4.0] - 2018-04-28
9
13
  ### Security
10
14
  - updated yard dependency to `~> 0.9.11` per: https://nvd.nist.gov/vuln/detail/CVE-2017-17042 (@yuri-zubov sponsored by Actility, https://www.actility.com)
@@ -466,7 +470,8 @@ WARNING: This release contains major breaking changes that will impact all user
466
470
  ### Added
467
471
  - initial release
468
472
 
469
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.4.0...HEAD
473
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.4.1...HEAD
474
+ [11.4.1]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.4.0...11.4.1
470
475
  [11.4.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.3.1...11.4.0
471
476
  [11.3.1]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.3.0...11.3.1
472
477
  [11.3.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.2.0...11.3.0
data/bin/handler-ses.rb CHANGED
@@ -58,7 +58,7 @@ class SESNotifier < Sensu::Handler
58
58
 
59
59
  def handle
60
60
  mail_to = build_mail_to_list
61
- body = <<-BODY.gsub(/^ {14}/, '')
61
+ body = <<-BODY.gsub(/^\s+/, '')
62
62
  #{@event['check']['output']}
63
63
  Host: #{@event['client']['name']}
64
64
  Timestamp: #{Time.at(@event['check']['issued'])}
@@ -2,7 +2,7 @@ module SensuPluginsAWS
2
2
  module Version
3
3
  MAJOR = 11
4
4
  MINOR = 4
5
- PATCH = 0
5
+ PATCH = 1
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.0
4
+ version: 11.4.1
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-04-28 00:00:00.000000000 Z
11
+ date: 2018-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin