aws-sdk-rails 4.0.2 → 4.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/aws/rails/railtie.rb +6 -7
- metadata +21 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9f40f2c54fa1d003ca66738e34591efcc53d951bed78e78efcccb5b8a33758c
|
4
|
+
data.tar.gz: 6232d8200b719e7cb483a093c8e5b83e00197d80e49374d9209772f7097f9940
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32fcaa8266c130541fa7a8683caa51923ed94abc4796b64cbc01c4e8aca8665477c5afb0eca6a4a9285d69a1cc122fea200b8af5fbbe8d93924c58d852e9b634
|
7
|
+
data.tar.gz: 21ff141deab6d1fe9185679e51f476e86c6e4d324cf3d771324a8e94da1fd57f835d2f1c11d3d89acd862dd5ccd5a3668fa70af8a8e52b4654e9e8c6083f9840
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.0.
|
1
|
+
4.0.3
|
data/lib/aws/rails/railtie.rb
CHANGED
@@ -9,7 +9,7 @@ module Aws
|
|
9
9
|
before: :load_config_initializers do
|
10
10
|
# Initialization Actions
|
11
11
|
Aws::Rails.use_rails_encrypted_credentials
|
12
|
-
Aws::Rails.add_action_mailer_delivery_method
|
12
|
+
Aws::Rails.add_action_mailer_delivery_method
|
13
13
|
Aws::Rails.add_action_mailer_delivery_method(:sesv2)
|
14
14
|
Aws::Rails.log_to_rails_logger
|
15
15
|
end
|
@@ -32,15 +32,14 @@ module Aws
|
|
32
32
|
# register, either :ses or :sesv2.
|
33
33
|
# @param [Hash] client_options The options you wish to pass on to the
|
34
34
|
# Aws::SES[V2]::Client initialization method.
|
35
|
-
def self.add_action_mailer_delivery_method(name, client_options = {})
|
35
|
+
def self.add_action_mailer_delivery_method(name = :ses, client_options = {})
|
36
|
+
# TODO: on the next major version, add a "mailer" param to this method
|
37
|
+
# and use it to determine which mailer to use, keeping name free-form.
|
36
38
|
ActiveSupport.on_load(:action_mailer) do
|
37
|
-
|
38
|
-
when :ses
|
39
|
-
add_delivery_method(name, Aws::Rails::SesMailer, client_options)
|
40
|
-
when :sesv2
|
39
|
+
if name == :sesv2
|
41
40
|
add_delivery_method(name, Aws::Rails::Sesv2Mailer, client_options)
|
42
41
|
else
|
43
|
-
|
42
|
+
add_delivery_method(name, Aws::Rails::SesMailer, client_options)
|
44
43
|
end
|
45
44
|
end
|
46
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-record
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: aws-sessionstore-dynamodb
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: aws-sdk-s3
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -139,23 +153,12 @@ dependencies:
|
|
139
153
|
- !ruby/object:Gem::Version
|
140
154
|
version: 7.0.0
|
141
155
|
- !ruby/object:Gem::Dependency
|
142
|
-
name:
|
156
|
+
name: concurrent-ruby
|
143
157
|
requirement: !ruby/object:Gem::Requirement
|
144
158
|
requirements:
|
145
159
|
- - "~>"
|
146
160
|
- !ruby/object:Gem::Version
|
147
|
-
version: '
|
148
|
-
type: :runtime
|
149
|
-
prerelease: false
|
150
|
-
version_requirements: !ruby/object:Gem::Requirement
|
151
|
-
requirements:
|
152
|
-
- - "~>"
|
153
|
-
- !ruby/object:Gem::Version
|
154
|
-
version: '2'
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
name: concurrent-ruby
|
157
|
-
requirement: !ruby/object:Gem::Requirement
|
158
|
-
requirements:
|
161
|
+
version: '1.3'
|
159
162
|
- - ">="
|
160
163
|
- !ruby/object:Gem::Version
|
161
164
|
version: 1.3.1
|
@@ -163,6 +166,9 @@ dependencies:
|
|
163
166
|
prerelease: false
|
164
167
|
version_requirements: !ruby/object:Gem::Requirement
|
165
168
|
requirements:
|
169
|
+
- - "~>"
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '1.3'
|
166
172
|
- - ">="
|
167
173
|
- !ruby/object:Gem::Version
|
168
174
|
version: 1.3.1
|