mailgun-ruby 1.2.10 → 1.2.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +0 -0
  3. data/.rubocop_todo.yml +0 -0
  4. data/.ruby-env.yml.example +0 -0
  5. data/CHANGELOG.md +16 -0
  6. data/README.md +4 -3
  7. data/lib/mailgun/chains.rb +0 -0
  8. data/lib/mailgun/client.rb +2 -2
  9. data/lib/mailgun/domains/domains.rb +1 -1
  10. data/lib/mailgun/events/events.rb +1 -1
  11. data/lib/mailgun/messages/message_builder.rb +2 -2
  12. data/lib/mailgun/response.rb +7 -0
  13. data/lib/mailgun/templates/templates.rb +187 -0
  14. data/lib/mailgun/version.rb +1 -1
  15. data/lib/mailgun/webhooks/webhooks.rb +2 -2
  16. data/lib/mailgun.rb +1 -0
  17. data/lib/railgun/mailer.rb +1 -1
  18. data/mailgun.gemspec +4 -1
  19. data/spec/integration/bounces_spec.rb +0 -0
  20. data/spec/integration/campaign_spec.rb +0 -0
  21. data/spec/integration/complaints_spec.rb +0 -0
  22. data/spec/integration/domains_spec.rb +0 -0
  23. data/spec/integration/email_validation_spec.rb +7 -0
  24. data/spec/integration/events_spec.rb +0 -0
  25. data/spec/integration/list_members_spec.rb +0 -0
  26. data/spec/integration/list_spec.rb +0 -0
  27. data/spec/integration/mailgun_spec.rb +16 -0
  28. data/spec/integration/routes_spec.rb +0 -0
  29. data/spec/integration/stats_spec.rb +0 -0
  30. data/spec/integration/suppressions_spec.rb +0 -0
  31. data/spec/integration/templates_spec.rb +135 -0
  32. data/spec/integration/unsubscribes_spec.rb +0 -0
  33. data/spec/integration/webhook_spec.rb +0 -0
  34. data/spec/unit/connection/test_client.rb +2 -2
  35. data/spec/unit/messages/message_builder_spec.rb +1 -1
  36. data/vcr_cassettes/bounces.yml +0 -0
  37. data/vcr_cassettes/complaints.yml +0 -0
  38. data/vcr_cassettes/domains.todo.yml +0 -0
  39. data/vcr_cassettes/domains.yml +0 -0
  40. data/vcr_cassettes/email_validation.yml +5 -5
  41. data/vcr_cassettes/events.yml +0 -0
  42. data/vcr_cassettes/list_members.yml +0 -0
  43. data/vcr_cassettes/mailing_list.todo.yml +0 -0
  44. data/vcr_cassettes/mailing_list.yml +0 -0
  45. data/vcr_cassettes/routes.yml +0 -0
  46. data/vcr_cassettes/send_message.yml +0 -0
  47. data/vcr_cassettes/stats.yml +0 -0
  48. data/vcr_cassettes/templates.yml +1065 -0
  49. data/vcr_cassettes/unsubscribes.yml +0 -0
  50. data/vcr_cassettes/webhooks.yml +0 -0
  51. metadata +13 -5
File without changes
File without changes
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.10
4
+ version: 1.2.12
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-06-25 00:00:00.000000000 Z
12
+ date: 2023-10-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -148,6 +148,7 @@ 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
@@ -176,6 +177,7 @@ files:
176
177
  - lib/mailgun/messages/message_builder.rb
177
178
  - lib/mailgun/response.rb
178
179
  - lib/mailgun/suppressions.rb
180
+ - lib/mailgun/templates/templates.rb
179
181
  - lib/mailgun/version.rb
180
182
  - lib/mailgun/webhooks/webhooks.rb
181
183
  - lib/railgun.rb
@@ -199,6 +201,7 @@ files:
199
201
  - spec/integration/routes_spec.rb
200
202
  - spec/integration/stats_spec.rb
201
203
  - spec/integration/suppressions_spec.rb
204
+ - spec/integration/templates_spec.rb
202
205
  - spec/integration/unsubscribes_spec.rb
203
206
  - spec/integration/webhook_spec.rb
204
207
  - spec/spec_helper.rb
@@ -233,12 +236,15 @@ files:
233
236
  - vcr_cassettes/send_message.yml
234
237
  - vcr_cassettes/stats.yml
235
238
  - vcr_cassettes/suppressions.yml
239
+ - vcr_cassettes/templates.yml
236
240
  - vcr_cassettes/unsubscribes.yml
237
241
  - vcr_cassettes/webhooks.yml
238
- homepage: http://www.mailgun.com
242
+ homepage: https://www.mailgun.com/
239
243
  licenses:
240
244
  - Apache-2.0
241
- metadata: {}
245
+ metadata:
246
+ documentation_uri: https://documentation.mailgun.com/
247
+ source_code_uri: https://github.com/mailgun/mailgun-ruby
242
248
  post_install_message:
243
249
  rdoc_options: []
244
250
  require_paths:
@@ -254,7 +260,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
254
260
  - !ruby/object:Gem::Version
255
261
  version: '0'
256
262
  requirements: []
257
- rubygems_version: 3.0.3
263
+ rubyforge_project:
264
+ rubygems_version: 2.7.6
258
265
  signing_key:
259
266
  specification_version: 4
260
267
  summary: Mailgun's Official Ruby SDK
@@ -273,6 +280,7 @@ test_files:
273
280
  - spec/integration/routes_spec.rb
274
281
  - spec/integration/stats_spec.rb
275
282
  - spec/integration/suppressions_spec.rb
283
+ - spec/integration/templates_spec.rb
276
284
  - spec/integration/unsubscribes_spec.rb
277
285
  - spec/integration/webhook_spec.rb
278
286
  - spec/spec_helper.rb