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 +8 -8
- data/CHANGELOG.md +9 -1
- data/bin/handler-mailer.rb +2 -0
- data/lib/sensu-plugins-mailer/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MmZmY2U4ZWYzZjYzNTM1MDg0M2QyYjk2ODNkODRlNzZmNTBkZjdhZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Njg3NmQ0ZjNmYmMwYzU5OWRmZjRlNDg3YmQ5ZGRhYmM4NTJhYzgwZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MmI1YWQxMDhmNjVmYTc3YjI4ZWMyYWQ5OTQ2NmYzNzFmZDA4ZjljMGNkMTk2
|
10
|
+
Y2ZkYmRhOTM5MjZjNzRjYWU4NThhMzEwZTYyNzYwYmY1MGMyYzZiZDRjYjNh
|
11
|
+
N2RjN2U5YWM4ODJkMGU1MmUwY2JmNmM1ZGYwNTgzMTgwZDkwYzQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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.
|
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
|
data/bin/handler-mailer.rb
CHANGED
@@ -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
|
|
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.
|
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-
|
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:
|
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:
|
180
|
+
version: 0.40.0
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: rspec
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|