sensu-plugins-mailer 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZmE5ODc5MzBiNzQ3NGVhZjhlNzQ4M2YzOWVlNjE3MzE4OGVlMWRhMw==
4
+ MmZmY2U4ZWYzZjYzNTM1MDg0M2QyYjk2ODNkODRlNzZmNTBkZjdhZQ==
5
5
  data.tar.gz: !binary |-
6
- MTczMWU2OTU2ODJiMDZjMWJmZTBhZTVkMWU5NzFhMTI2ZWQ4NzFhMw==
6
+ Njg3NmQ0ZjNmYmMwYzU5OWRmZjRlNDg3YmQ5ZGRhYmM4NTJhYzgwZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzUxYzMzZTU2NmJmY2M3ZTUwNWEwY2VlMmQ1MzlkODRkYWU3MjY3ZGI5MThj
10
- OWZhZjIzYzdlMTJjNjA4YmNjOTIzMDE1YWI3ZjM3ZjgzM2Q1MTU3OTNlZjIz
11
- ZmE0N2Q5MTZlYWQ3Y2U4NmYyZmVhZjgwN2QxNzdjMWY2N2U5ZGQ=
9
+ MmI1YWQxMDhmNjVmYTc3YjI4ZWMyYWQ5OTQ2NmYzNzFmZDA4ZjljMGNkMTk2
10
+ Y2ZkYmRhOTM5MjZjNzRjYWU4NThhMzEwZTYyNzYwYmY1MGMyYzZiZDRjYjNh
11
+ N2RjN2U5YWM4ODJkMGU1MmUwY2JmNmM1ZGYwNTgzMTgwZDkwYzQ=
12
12
  data.tar.gz: !binary |-
13
- ZGFhZDc1OGFhOGU4OWEwZDJkYzE3YzQyYjdiNTg3YzAwMmZlNDBiOTBiYmMy
14
- NjNhNTI5ZWEwOGY4MjQ1NDk3NTk1ZjcyOTlhMTQxZWQ0YjdjZmQ0YWY2MDcw
15
- NmMzYzlkZDkzMDE0MzEwNDliNGVkMmRhZjgxMDhjMTRmMDdkZTY=
13
+ MjU0YjFjMTA2NDI1Y2ViMjg2NmM0ZDg3NTg4NGQzMzJlMzNkZmRkM2RjM2Ix
14
+ YzA2ODkxZThlM2QzYzA3NTUyNGQzOWEyNmIxMTIwMzI1MWE1ZWVjNjE2NTc4
15
+ MDU0M2Q5MGI1OTRlNTgyYmEwYTkyYjdiNDVlYTYyM2Y1YzM5NjA=
data/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.3.1] - 2016-05-11
9
+ ### Added
10
+ - handler-mailer.rb: add smtp_use_tls setting to support SMTPS in Amazon SES
11
+
12
+ ### Changed
13
+ - Upgrade to rubocop 0.40
14
+
8
15
  ## [0.3.0] - 2016-04-23
9
16
  ### Fixed
10
17
  - Fix aws-ses gem dependency
@@ -61,7 +68,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
61
68
  ### Added
62
69
  - initial release
63
70
 
64
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-mailer/compare/0.3.0...HEAD
71
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-mailer/compare/0.3.1...HEAD
72
+ [0.3.1]: https://github.com/sensu-plugins/sensu-plugins-mailer/compare/v0.3.0...0.3.1
65
73
  [0.3.0]: https://github.com/sensu-plugins/sensu-plugins-mailer/compare/v0.2.0...0.3.0
66
74
  [0.2.0]: https://github.com/sensu-plugins/sensu-plugins-mailer/compare/v0.1.5...0.2.0
67
75
  [0.1.5]: https://github.com/sensu-plugins/sensu-plugins-mailer/compare/0.1.4...v0.1.5
@@ -180,6 +180,7 @@ class Mailer < Sensu::Handler
180
180
  smtp_username = settings[json_config]['smtp_username'] || nil
181
181
  smtp_password = settings[json_config]['smtp_password'] || nil
182
182
  smtp_authentication = settings[json_config]['smtp_authentication'] || :plain
183
+ smtp_use_tls = settings[json_config]['smtp_use_tls'] || nil
183
184
  smtp_enable_starttls_auto = settings[json_config]['smtp_enable_starttls_auto'] == 'false' ? false : true
184
185
 
185
186
  timeout_interval = settings[json_config]['timeout'] || 10
@@ -205,6 +206,7 @@ class Mailer < Sensu::Handler
205
206
  port: smtp_port,
206
207
  domain: smtp_domain,
207
208
  openssl_verify_mode: 'none',
209
+ tls: smtp_use_tls,
208
210
  enable_starttls_auto: smtp_enable_starttls_auto
209
211
  }
210
212
 
@@ -2,7 +2,7 @@ module SensuPluginsMailer
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- PATCH = 0
5
+ PATCH = 1
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-mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.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: 2016-04-23 00:00:00.000000000 Z
11
+ date: 2016-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-ses
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - ~>
172
172
  - !ruby/object:Gem::Version
173
- version: '0.37'
173
+ version: 0.40.0
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - ~>
179
179
  - !ruby/object:Gem::Version
180
- version: '0.37'
180
+ version: 0.40.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rspec
183
183
  requirement: !ruby/object:Gem::Requirement