tt-mail-ses 1.1.0.pre2 → 1.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed24fe2e7440b233cb2fa27b5179491ff4857663b25d473da44f7be45cc120a9
4
- data.tar.gz: 2197b297782c225f2fc5773931ceb7c494f46e5bb8709d4a5fb76f647973e465
3
+ metadata.gz: 19293e108efcfd14432f77fe0474763babcf3c5f446d495af07f9d59ec0c195d
4
+ data.tar.gz: 8e0420a50b714caef658a90e6d599a6124bb59335361eac74191de866df57557
5
5
  SHA512:
6
- metadata.gz: 6bd473b442d622e9802b2e93dfee923297e0e2e128579ef6236f0177f4c0c1edade693c947a32b45052fc3aad27a22850ddfa393c32f4e28abdb97f02da530f2
7
- data.tar.gz: 9124979089245089dcb89a946560616e46fba891f90cf3080c4b43cff3ab5ab788f594b5b76be778496695b1e3e72e0e00fabe458289d92a3292faf4ad224a4f
6
+ metadata.gz: c79f6d0d2d9863680e13c82788ab8d54dbac283698cced1ca344cc0b4aeafefb072efa0bfb0fd61b00494dd3a94ee428e2d699e04b0b4493b6ab35d654858a35
7
+ data.tar.gz: 5497933d648968a0ec8fff621dddccc0993db9cdc089163007d25eb78bff5f61d9a78876cc48cf5f201a73dfe105942999e98a5fc4e3e673cc6d4c2d6304618a
data/CHANGELOG.md CHANGED
@@ -1,7 +1,11 @@
1
1
  # Changelog
2
2
 
3
- ### 1.2.0.pre
4
- - Support options via message headers [#2](https://github.com/Teamtailor/mail-ses/pull/2)
3
+ ### 1.2.0
4
+
5
+ - Support different message_id domains for different AWS SES regions. [#10](https://github.com/tablecheck/mail-ses/pull/10)
6
+ - Support options via message headers. [#2](https://github.com/Teamtailor/mail-ses/pull/2), [ad18f13](https://github.com/Teamtailor/mail-ses/commit/ad18f133ecaa6d6a5c4765930fe1b3b413a498a8) and [00a3e97](https://github.com/Teamtailor/mail-ses/commit/00a3e97fea5caba10b5d9ef0d418f26ccb4b0e61)
7
+ - Use Standard instead of Rubocop.
8
+ - Publish the fork as a separate gem: [tt-mail-ses](https://rubygems.org/gems/tt-mail-ses).
5
9
 
6
10
  ### 1.1.0
7
11
 
data/README.md CHANGED
@@ -1,8 +1,11 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/mail-ses.svg)](http://badge.fury.io/rb/mail-ses)
2
- [![Github Actions](https://github.com/tablecheck/mail-ses/actions/workflows/test.yml/badge.svg)](https://github.com/tablecheck/mail-ses/actions/workflows/test.yml)
2
+ [![Github Actions](https://github.com/teamtailor/mail-ses/actions/workflows/test.yml/badge.svg)](https://github.com/teamtailor/mail-ses/actions/workflows/test.yml)
3
3
 
4
4
  # Mail::SES
5
5
 
6
+ ## Fork from [tablecheck/mail-ses](https://github.com/tablecheck/mail-ses)
7
+ This gem was forked to add support for different message_id domains for different AWS SES regions and support options via message headers.
8
+
6
9
  Mail::SES is a mail delivery method handler for Amazon SES (Simple Email Service) which can be used with Rails' [Action Mailer](https://guides.rubyonrails.org/action_mailer_basics.html).
7
10
 
8
11
  This gem is inspired by [Drew Blas' AWS::SES gem](https://github.com/drewblas/aws-ses),
@@ -23,7 +26,7 @@ Please use version 0.1.x of this gem for legacy Ruby and AWS SDK support.
23
26
  In your `Gemfile`:
24
27
 
25
28
  ```ruby
26
- gem 'mail-ses'
29
+ gem "tt-mail-ses", require: "mail-ses"
27
30
  ```
28
31
 
29
32
  Next, make a new initializer at `config/initializers/mail_ses.rb`:
@@ -52,7 +55,8 @@ ActionMailer::Base.add_delivery_method :ses, Mail::SES,
52
55
  region: 'us-east-1',
53
56
  session_token: 'foobar',
54
57
  retry_limit: 5,
55
- retry_max_delay: 10
58
+ retry_max_delay: 10,
59
+ message_id_domain: "eu-west-1.amazonses.com"
56
60
  ```
57
61
 
58
62
  In addition, the shortcut option `:use_iam_profile (Boolean)` which activates the IAM instance profile.
@@ -82,7 +86,6 @@ ActionMailer::Base.add_delivery_method :ses, Mail::SES,
82
86
 
83
87
  You can override the default mail options on a per-mail basis by passing them in the `mail` method:
84
88
 
85
-
86
89
  ```ruby
87
90
  class ApplicationMailer < ActionMailer::Base
88
91
  def example
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Mail
4
4
  class SES
5
- VERSION = "1.1.0.pre2"
5
+ VERSION = "1.2.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tt-mail-ses
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.pre2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Brusman
@@ -138,9 +138,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
138
  version: 3.0.0
139
139
  required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  requirements:
141
- - - ">"
141
+ - - ">="
142
142
  - !ruby/object:Gem::Version
143
- version: 1.3.1
143
+ version: '0'
144
144
  requirements: []
145
145
  rubygems_version: 3.4.10
146
146
  signing_key: