sensu-plugins-aws 2.4.2 → 2.4.3

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODBjODMyNGMyZGQ5NWRhZTFkNzU1YjExZTBkZWZlYzZlMTg4ODAzNg==
4
+ M2RhODFhMWFkNTc2NTBjMDdjN2QxNWIyNWUzMjk0ZmJmYTE4N2MzNA==
5
5
  data.tar.gz: !binary |-
6
- OGFiY2JjNDIxMjZmMjhjM2Q5N2Q3ZWIxNzI0YWUwZDQzNGIxOTMwMw==
6
+ ODJlNWMzNGRkZGQzMzllZDYwNWU5NTIzYmRhMDljZjg1MmZmN2Y4Mw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODMyZmI3OTcyM2Q0Mzg2MjY0MDU5NmI5Njg2N2ZhMWMyMzg0M2E0NGMyOThj
10
- MTk0ZTYyYzRhYzMyNWFmM2Q0ZDk5MDE0NmQ3NGQxM2MzYmUyZjA2YmIwMjcy
11
- ZTBjNDBkZmI0ZTYyZWQxZTEwZmU3YmJlNWQzNWMzZDc4OGJhMDQ=
9
+ NmJhNzY3MDY4MzZhZDI4OTczODM1ODAwMjg0NWVhNTI0MTBjNDIwMDM1ZjEx
10
+ YWU3YmMzN2UwYmU1MDNiMDNmYzcxYzg2NTBhZjgwNmU3OGZiY2Q1MzBiMmFl
11
+ NzY5ZjI2Mzk4MmYyMjk2YmJlYzFkNjIxOWQxMzQwYjVlNmFjYTk=
12
12
  data.tar.gz: !binary |-
13
- NWJmMzA2MWU4ZWE1YjlhMWEwNmZmMzYxOTliNGU1M2NlN2Q5OTNiNmE1YTdm
14
- ZTVhOTBhNzIzMjY2ZjZlNTA1N2M2NWMwMmNlYjY1ZDZiNjUzNzRkNWM4MmVl
15
- YzQzNWVhZDU1Y2FjZDhmYzE1ZGZjZmVmZjViNGEzYjkyNWFmYjg=
13
+ MTlkYmVkODUzMjc0NjAyMjgzZjAwODU3OTk0ZGYyNTg1ZDExYWYzNWYxODEy
14
+ NmQ2MDY2ZDJhYTExZjU5NzBhNzhjNzBjZGUxMzk0Y2Y2MzYxOTZjNmVmOGFm
15
+ YzlmMzVjNzA2MTU2NzljZTllNzk3NzgyMjY1NjlhMmRmMTdkMjE=
data/CHANGELOG.md CHANGED
@@ -5,6 +5,9 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [2.4.3] - 2016-04-13
9
+ - check-ses-statistics.rb: fix variable
10
+
8
11
  ## [2.4.2] - 2016-04-13
9
12
  ### Fixed
10
13
  - check-ses-statistics.rb, check-emr-steps.rb: fix requires
@@ -171,8 +174,9 @@ WARNING: This release contains major breaking changes that will impact all user
171
174
  ### Added
172
175
  - initial release
173
176
 
174
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/2.4.2...HEAD
175
- [2.4.1]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/v2.4.1...2.4.2
177
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/2.4.3...HEAD
178
+ [2.4.3]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/v2.4.2...2.4.3
179
+ [2.4.2]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/v2.4.1...2.4.2
176
180
  [2.4.1]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/v2.4.0...2.4.1
177
181
  [2.4.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/v2.3.0...2.4.0
178
182
  [2.3.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/v2.2.0...2.3.0
@@ -118,7 +118,7 @@ class CheckSesStatistics < Sensu::Plugin::Check::CLI
118
118
  unknown 'Empty response from AWS SES API' if response.empty? # Can this happen?
119
119
  unknown 'No data points from AWS SES API' if response.send_data_points.empty?
120
120
 
121
- response.send_data_points.sort_by(&:timestamp).last
121
+ data_point = response.send_data_points.sort_by(&:timestamp).last
122
122
  bounces = data_point.bounces
123
123
  rejects = data_point.rejects
124
124
  complaints = data_point.complaints
@@ -2,7 +2,7 @@ module SensuPluginsAWS
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 4
5
- PATCH = 2
5
+ PATCH = 3
6
6
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors