sensu-plugins-mailer 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0ab08fc73e135528afb8de4371f23efa25082f74
4
- data.tar.gz: c525b08f8f595ccc7f327d545a2092ec3b9dd85d
3
+ metadata.gz: ecef112172596b50f7a2c8d6e28aad96fcc93abf
4
+ data.tar.gz: ca05e61e1f7eab6196d8aee1e7215f5f83ebc9dc
5
5
  SHA512:
6
- metadata.gz: 528cc004e90ab7fc95b9d88d582dfbf8a0f3667d7a12312592b18c536311432ec50f0fa81a5fc18e3bd86d54fe1026ca7ea3d59f81d03c74d697898d07f938fe
7
- data.tar.gz: 8c1335a01536cc87b24d3df7891d1ad28f37ee83806b2cb81d6d41843d043116df6a4b45a6fb9d1df03f173d50727dc7847f0ac63372a538d9d789d6699516b9
6
+ metadata.gz: c89aacc88b4bee442d20b3f553d7cf80f4d2bfe17dc9023e11493c0c2ed255f34540405e8597ae1062741fcf0ac83be54a515afff7bad42e387d003b7c8aa582
7
+ data.tar.gz: 901e8d3bc1daefb70d3c0b2d2cd99fb348d3e8c6ef97cf371b64a495bc47b03771ca739d7f4b98cb5c744a779a5480a04213e875e80f56f85f0b2b3504f2a595
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## Unreleased][unreleased]
7
7
 
8
+ ## [0.0.3] - 2015-07-14
9
+ ### Changed
10
+ - updated sensu-plugin gem to 1.2.0
11
+ - updated documentation links in the README and CONTRIBUTING
12
+ - puts deps in alpha order in the gemspec and rakefile
13
+
8
14
  ## 0.0.1 - 2015-06-04
9
15
 
10
16
  ### Added
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Sensu-Plugins-mailer
2
2
 
3
- [![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-mailer.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-mailer)
3
+ [ ![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-mailer.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-mailer)
4
4
  [![Gem Version](https://badge.fury.io/rb/sensu-plugins-mailer.svg)](http://badge.fury.io/rb/sensu-plugins-mailer)
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-mailer/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-mailer)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-mailer/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-mailer)
@@ -81,6 +81,6 @@ There is an optional subscriptions hash which can be added to your mailer.json f
81
81
 
82
82
  ## Installation
83
83
 
84
- [Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
84
+ [Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
85
85
 
86
86
  ## Notes
@@ -62,7 +62,7 @@ class Mailer < Sensu::Handler
62
62
  def build_mail_to_list
63
63
  json_config = config[:json_config] || 'mailer'
64
64
  mail_to = @event['client']['mail_to'] || settings[json_config]['mail_to']
65
- if settings[json_config].key?('subscriptions')
65
+ if settings[json_config].key?('subscriptions') && @event['check']['subscribers']
66
66
  @event['check']['subscribers'].each do |sub|
67
67
  if settings[json_config]['subscriptions'].key?(sub)
68
68
  mail_to << ", #{settings[json_config]['subscriptions'][sub]['mail_to']}"
@@ -2,7 +2,7 @@ module SensuPluginsMailer
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 1
5
+ PATCH = 2
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
@@ -30,120 +30,120 @@ cert_chain:
30
30
  8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
31
  HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
32
  -----END CERTIFICATE-----
33
- date: 2015-06-05 00:00:00.000000000 Z
33
+ date: 2015-07-14 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
- name: sensu-plugin
36
+ name: aws
37
37
  requirement: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: 1.1.0
41
+ version: 2.10.2
42
42
  type: :runtime
43
43
  prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - '='
47
47
  - !ruby/object:Gem::Version
48
- version: 1.1.0
48
+ version: 2.10.2
49
49
  - !ruby/object:Gem::Dependency
50
- name: mailgun
50
+ name: mail
51
51
  requirement: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - '='
54
54
  - !ruby/object:Gem::Version
55
- version: '0.8'
55
+ version: 2.6.3
56
56
  type: :runtime
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - '='
61
61
  - !ruby/object:Gem::Version
62
- version: '0.8'
62
+ version: 2.6.3
63
63
  - !ruby/object:Gem::Dependency
64
- name: mail
64
+ name: mailgun
65
65
  requirement: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - '='
68
68
  - !ruby/object:Gem::Version
69
- version: 2.6.3
69
+ version: '0.8'
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - '='
75
75
  - !ruby/object:Gem::Version
76
- version: 2.6.3
76
+ version: '0.8'
77
77
  - !ruby/object:Gem::Dependency
78
- name: aws
78
+ name: sensu-plugin
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - '='
82
82
  - !ruby/object:Gem::Version
83
- version: 2.10.2
83
+ version: 1.2.0
84
84
  type: :runtime
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - '='
89
89
  - !ruby/object:Gem::Version
90
- version: 2.10.2
90
+ version: 1.2.0
91
91
  - !ruby/object:Gem::Dependency
92
- name: codeclimate-test-reporter
92
+ name: bundler
93
93
  requirement: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: '0.4'
97
+ version: '1.7'
98
98
  type: :development
99
99
  prerelease: false
100
100
  version_requirements: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: '0.4'
104
+ version: '1.7'
105
105
  - !ruby/object:Gem::Dependency
106
- name: rubocop
106
+ name: codeclimate-test-reporter
107
107
  requirement: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '0.30'
111
+ version: '0.4'
112
112
  type: :development
113
113
  prerelease: false
114
114
  version_requirements: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - "~>"
117
117
  - !ruby/object:Gem::Version
118
- version: '0.30'
118
+ version: '0.4'
119
119
  - !ruby/object:Gem::Dependency
120
- name: rspec
120
+ name: github-markup
121
121
  requirement: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - "~>"
124
124
  - !ruby/object:Gem::Version
125
- version: '3.1'
125
+ version: '1.3'
126
126
  type: :development
127
127
  prerelease: false
128
128
  version_requirements: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - "~>"
131
131
  - !ruby/object:Gem::Version
132
- version: '3.1'
132
+ version: '1.3'
133
133
  - !ruby/object:Gem::Dependency
134
- name: bundler
134
+ name: pry
135
135
  requirement: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: '1.7'
139
+ version: '0.10'
140
140
  type: :development
141
141
  prerelease: false
142
142
  version_requirements: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - "~>"
145
145
  - !ruby/object:Gem::Version
146
- version: '1.7'
146
+ version: '0.10'
147
147
  - !ruby/object:Gem::Dependency
148
148
  name: rake
149
149
  requirement: !ruby/object:Gem::Requirement
@@ -159,61 +159,61 @@ dependencies:
159
159
  - !ruby/object:Gem::Version
160
160
  version: '10.0'
161
161
  - !ruby/object:Gem::Dependency
162
- name: github-markup
162
+ name: redcarpet
163
163
  requirement: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - - "~>"
166
166
  - !ruby/object:Gem::Version
167
- version: '1.3'
167
+ version: '3.2'
168
168
  type: :development
169
169
  prerelease: false
170
170
  version_requirements: !ruby/object:Gem::Requirement
171
171
  requirements:
172
172
  - - "~>"
173
173
  - !ruby/object:Gem::Version
174
- version: '1.3'
174
+ version: '3.2'
175
175
  - !ruby/object:Gem::Dependency
176
- name: redcarpet
176
+ name: rubocop
177
177
  requirement: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - "~>"
179
+ - - '='
180
180
  - !ruby/object:Gem::Version
181
- version: '3.2'
181
+ version: '0.30'
182
182
  type: :development
183
183
  prerelease: false
184
184
  version_requirements: !ruby/object:Gem::Requirement
185
185
  requirements:
186
- - - "~>"
186
+ - - '='
187
187
  - !ruby/object:Gem::Version
188
- version: '3.2'
188
+ version: '0.30'
189
189
  - !ruby/object:Gem::Dependency
190
- name: yard
190
+ name: rspec
191
191
  requirement: !ruby/object:Gem::Requirement
192
192
  requirements:
193
193
  - - "~>"
194
194
  - !ruby/object:Gem::Version
195
- version: '0.8'
195
+ version: '3.1'
196
196
  type: :development
197
197
  prerelease: false
198
198
  version_requirements: !ruby/object:Gem::Requirement
199
199
  requirements:
200
200
  - - "~>"
201
201
  - !ruby/object:Gem::Version
202
- version: '0.8'
202
+ version: '3.1'
203
203
  - !ruby/object:Gem::Dependency
204
- name: pry
204
+ name: yard
205
205
  requirement: !ruby/object:Gem::Requirement
206
206
  requirements:
207
207
  - - "~>"
208
208
  - !ruby/object:Gem::Version
209
- version: '0.10'
209
+ version: '0.8'
210
210
  type: :development
211
211
  prerelease: false
212
212
  version_requirements: !ruby/object:Gem::Requirement
213
213
  requirements:
214
214
  - - "~>"
215
215
  - !ruby/object:Gem::Version
216
- version: '0.10'
216
+ version: '0.8'
217
217
  description: Sensu mailer plugins
218
218
  email: "<sensu-users@googlegroups.com>"
219
219
  executables:
metadata.gz.sig CHANGED
Binary file