mailgun-ruby 1.2.10 → 1.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -48,11 +48,11 @@ http_interactions:
48
48
  "Alice <alice@example.com>",
49
49
  "bob@example.com"
50
50
  ],
51
- "unparseable": [
51
+ "unparsable": [
52
52
  "example.org"
53
53
  ]
54
54
  }
55
- http_version:
55
+ http_version:
56
56
  recorded_at: Wed, 26 Oct 2016 22:44:50 GMT
57
57
  - request:
58
58
  method: get
@@ -107,7 +107,7 @@ http_interactions:
107
107
  "local_part": "alice"
108
108
  }
109
109
  }
110
- http_version:
110
+ http_version:
111
111
  recorded_at: Wed, 26 Oct 2016 22:44:50 GMT
112
112
  - request:
113
113
  method: get
@@ -162,7 +162,7 @@ http_interactions:
162
162
  "local_part": null
163
163
  }
164
164
  }
165
- http_version:
165
+ http_version:
166
166
  recorded_at: Wed, 26 Oct 2016 22:44:50 GMT
167
167
  - request:
168
168
  method: get
@@ -210,6 +210,6 @@ http_interactions:
210
210
  false, "is_role_address": false, "is_valid": true, "mailbox_verification":
211
211
  "true", "parts": {"display_name": null, "domain": "mailgun.net", "local_part":
212
212
  "alice"}}'
213
- http_version:
213
+ http_version:
214
214
  recorded_at: Tue, 12 Sep 2017 16:55:09 GMT
215
215
  recorded_with: VCR 3.0.3
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes