mailgun-ruby 1.2.11 → 1.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-env.yml.example +1 -0
- data/CHANGELOG.md +16 -0
- data/README.md +5 -2
- data/docs/EmailValidation.md +34 -0
- data/docs/Subaccounts.md +68 -0
- data/docs/Suppressions.md +10 -0
- data/docs/railgun/EmailValidation.md +34 -0
- data/lib/mailgun/client.rb +11 -0
- data/lib/mailgun/domains/domains.rb +1 -1
- data/lib/mailgun/events/events.rb +1 -1
- data/lib/mailgun/messages/message_builder.rb +2 -2
- data/lib/mailgun/response.rb +7 -0
- data/lib/mailgun/subaccounts/subaccounts.rb +84 -0
- data/lib/mailgun/templates/templates.rb +187 -0
- data/lib/mailgun/version.rb +1 -1
- data/lib/mailgun.rb +2 -0
- data/lib/railgun/mailer.rb +3 -1
- data/mailgun.gemspec +5 -2
- data/spec/integration/email_validation_spec.rb +7 -0
- data/spec/integration/mailgun_spec.rb +16 -0
- data/spec/integration/subaccounts_spec.rb +58 -0
- data/spec/integration/templates_spec.rb +135 -0
- data/spec/unit/messages/message_builder_spec.rb +1 -1
- data/vcr_cassettes/email_validation.yml +5 -5
- data/vcr_cassettes/subaccounts.yml +270 -0
- data/vcr_cassettes/templates.yml +1065 -0
- metadata +22 -7
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailgun-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mailgun
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-12-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -59,14 +59,14 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 3.
|
62
|
+
version: '3.7'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 3.
|
69
|
+
version: '3.7'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: pry
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -148,18 +148,22 @@ files:
|
|
148
148
|
- ".rubocop_todo.yml"
|
149
149
|
- ".ruby-env.yml.example"
|
150
150
|
- ".travis.yml"
|
151
|
+
- CHANGELOG.md
|
151
152
|
- Gemfile
|
152
153
|
- LICENSE
|
153
154
|
- README.md
|
154
155
|
- Rakefile
|
155
156
|
- docs/Domains.md
|
157
|
+
- docs/EmailValidation.md
|
156
158
|
- docs/Events.md
|
157
159
|
- docs/MessageBuilder.md
|
158
160
|
- docs/Messages.md
|
159
161
|
- docs/OptInHandler.md
|
160
162
|
- docs/Snippets.md
|
163
|
+
- docs/Subaccounts.md
|
161
164
|
- docs/Suppressions.md
|
162
165
|
- docs/Webhooks.md
|
166
|
+
- docs/railgun/EmailValidation.md
|
163
167
|
- docs/railgun/Overview.md
|
164
168
|
- docs/railgun/Parameters.md
|
165
169
|
- docs/railgun/Templates.md
|
@@ -175,7 +179,9 @@ files:
|
|
175
179
|
- lib/mailgun/messages/batch_message.rb
|
176
180
|
- lib/mailgun/messages/message_builder.rb
|
177
181
|
- lib/mailgun/response.rb
|
182
|
+
- lib/mailgun/subaccounts/subaccounts.rb
|
178
183
|
- lib/mailgun/suppressions.rb
|
184
|
+
- lib/mailgun/templates/templates.rb
|
179
185
|
- lib/mailgun/version.rb
|
180
186
|
- lib/mailgun/webhooks/webhooks.rb
|
181
187
|
- lib/railgun.rb
|
@@ -198,7 +204,9 @@ files:
|
|
198
204
|
- spec/integration/messages/sample_data/mime.txt
|
199
205
|
- spec/integration/routes_spec.rb
|
200
206
|
- spec/integration/stats_spec.rb
|
207
|
+
- spec/integration/subaccounts_spec.rb
|
201
208
|
- spec/integration/suppressions_spec.rb
|
209
|
+
- spec/integration/templates_spec.rb
|
202
210
|
- spec/integration/unsubscribes_spec.rb
|
203
211
|
- spec/integration/webhook_spec.rb
|
204
212
|
- spec/spec_helper.rb
|
@@ -232,13 +240,17 @@ files:
|
|
232
240
|
- vcr_cassettes/routes.yml
|
233
241
|
- vcr_cassettes/send_message.yml
|
234
242
|
- vcr_cassettes/stats.yml
|
243
|
+
- vcr_cassettes/subaccounts.yml
|
235
244
|
- vcr_cassettes/suppressions.yml
|
245
|
+
- vcr_cassettes/templates.yml
|
236
246
|
- vcr_cassettes/unsubscribes.yml
|
237
247
|
- vcr_cassettes/webhooks.yml
|
238
|
-
homepage:
|
248
|
+
homepage: https://www.mailgun.com/
|
239
249
|
licenses:
|
240
250
|
- Apache-2.0
|
241
|
-
metadata:
|
251
|
+
metadata:
|
252
|
+
documentation_uri: https://documentation.mailgun.com/
|
253
|
+
source_code_uri: https://github.com/mailgun/mailgun-ruby
|
242
254
|
post_install_message:
|
243
255
|
rdoc_options: []
|
244
256
|
require_paths:
|
@@ -254,7 +266,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
254
266
|
- !ruby/object:Gem::Version
|
255
267
|
version: '0'
|
256
268
|
requirements: []
|
257
|
-
|
269
|
+
rubyforge_project:
|
270
|
+
rubygems_version: 2.7.6
|
258
271
|
signing_key:
|
259
272
|
specification_version: 4
|
260
273
|
summary: Mailgun's Official Ruby SDK
|
@@ -272,7 +285,9 @@ test_files:
|
|
272
285
|
- spec/integration/messages/sample_data/mime.txt
|
273
286
|
- spec/integration/routes_spec.rb
|
274
287
|
- spec/integration/stats_spec.rb
|
288
|
+
- spec/integration/subaccounts_spec.rb
|
275
289
|
- spec/integration/suppressions_spec.rb
|
290
|
+
- spec/integration/templates_spec.rb
|
276
291
|
- spec/integration/unsubscribes_spec.rb
|
277
292
|
- spec/integration/webhook_spec.rb
|
278
293
|
- spec/spec_helper.rb
|