aws-sdk-rails 3.6.1 → 3.13.0
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/bin/aws_sqs_active_job +1 -0
- data/lib/action_dispatch/session/dynamodb_store.rb +9 -3
- data/lib/active_job/queue_adapters/amazon_sqs_adapter/params.rb +78 -0
- data/lib/active_job/queue_adapters/amazon_sqs_adapter.rb +33 -37
- data/lib/active_job/queue_adapters/amazon_sqs_async_adapter.rb +12 -11
- data/lib/aws/rails/middleware/ebs_sqs_active_job_middleware.rb +31 -5
- data/lib/aws/rails/notifications.rb +1 -4
- data/lib/aws/rails/railtie.rb +9 -4
- data/lib/aws/rails/{mailer.rb → ses_mailer.rb} +12 -10
- data/lib/aws/rails/sesv2_mailer.rb +60 -0
- data/lib/aws/rails/sqs_active_job/configuration.rb +61 -24
- data/lib/aws/rails/sqs_active_job/deduplication.rb +21 -0
- data/lib/aws/rails/sqs_active_job/executor.rb +47 -28
- data/lib/aws/rails/sqs_active_job/job_runner.rb +5 -1
- data/lib/aws/rails/sqs_active_job/lambda_handler.rb +3 -6
- data/lib/aws/rails/sqs_active_job/poller.rb +56 -32
- data/lib/aws-sdk-rails.rb +4 -1
- data/lib/generators/aws_record/base.rb +164 -168
- data/lib/generators/aws_record/generated_attribute.rb +50 -41
- data/lib/generators/aws_record/model/model_generator.rb +8 -4
- data/lib/generators/aws_record/secondary_index.rb +31 -25
- data/lib/generators/dynamo_db/session_store_migration/session_store_migration_generator.rb +3 -1
- data/lib/tasks/aws_record/migrate.rake +2 -0
- data/lib/tasks/dynamo_db/session_store.rake +2 -0
- metadata +52 -18
- /data/lib/generators/aws_record/model/templates/{model.rb → model.erb} +0 -0
- /data/lib/generators/aws_record/model/templates/{table_config.rb → table_config.erb} +0 -0
- /data/lib/generators/dynamo_db/session_store_migration/templates/{session_store_migration.rb → session_store_migration.erb} +0 -0
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'rails/generators/named_base'
|
2
4
|
|
3
5
|
# This class generates a migration file for deleting and creating
|
@@ -18,7 +20,7 @@ module DynamoDb
|
|
18
20
|
# of a DynamoDB session table.
|
19
21
|
def generate_migration_file
|
20
22
|
migration_template(
|
21
|
-
'session_store_migration.
|
23
|
+
'session_store_migration.erb',
|
22
24
|
"db/migrate/#{name.underscore}.rb"
|
23
25
|
)
|
24
26
|
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: 3.
|
4
|
+
version: 3.13.0
|
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:
|
11
|
+
date: 2024-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-record
|
@@ -31,6 +31,29 @@ dependencies:
|
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1'
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 1.50.0
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '1'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.50.0
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: aws-sdk-sesv2
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '1'
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 1.34.0
|
34
57
|
type: :runtime
|
35
58
|
prerelease: false
|
36
59
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -38,6 +61,9 @@ dependencies:
|
|
38
61
|
- - "~>"
|
39
62
|
- !ruby/object:Gem::Version
|
40
63
|
version: '1'
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 1.34.0
|
41
67
|
- !ruby/object:Gem::Dependency
|
42
68
|
name: aws-sdk-sqs
|
43
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,6 +71,9 @@ dependencies:
|
|
45
71
|
- - "~>"
|
46
72
|
- !ruby/object:Gem::Version
|
47
73
|
version: '1'
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 1.56.0
|
48
77
|
type: :runtime
|
49
78
|
prerelease: false
|
50
79
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -52,6 +81,9 @@ dependencies:
|
|
52
81
|
- - "~>"
|
53
82
|
- !ruby/object:Gem::Version
|
54
83
|
version: '1'
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 1.56.0
|
55
87
|
- !ruby/object:Gem::Dependency
|
56
88
|
name: aws-sessionstore-dynamodb
|
57
89
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,33 +99,33 @@ dependencies:
|
|
67
99
|
- !ruby/object:Gem::Version
|
68
100
|
version: '2'
|
69
101
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
102
|
+
name: concurrent-ruby
|
71
103
|
requirement: !ruby/object:Gem::Requirement
|
72
104
|
requirements:
|
73
105
|
- - ">="
|
74
106
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
107
|
+
version: 1.3.1
|
76
108
|
type: :runtime
|
77
109
|
prerelease: false
|
78
110
|
version_requirements: !ruby/object:Gem::Requirement
|
79
111
|
requirements:
|
80
112
|
- - ">="
|
81
113
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
114
|
+
version: 1.3.1
|
83
115
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
116
|
+
name: railties
|
85
117
|
requirement: !ruby/object:Gem::Requirement
|
86
118
|
requirements:
|
87
|
-
- - "
|
119
|
+
- - ">="
|
88
120
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
121
|
+
version: 5.2.0
|
90
122
|
type: :runtime
|
91
123
|
prerelease: false
|
92
124
|
version_requirements: !ruby/object:Gem::Requirement
|
93
125
|
requirements:
|
94
|
-
- - "
|
126
|
+
- - ">="
|
95
127
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
128
|
+
version: 5.2.0
|
97
129
|
- !ruby/object:Gem::Dependency
|
98
130
|
name: rails
|
99
131
|
requirement: !ruby/object:Gem::Requirement
|
@@ -110,8 +142,7 @@ dependencies:
|
|
110
142
|
version: '0'
|
111
143
|
description: Integrates the AWS Ruby SDK with Ruby on Rails
|
112
144
|
email:
|
113
|
-
-
|
114
|
-
- alexwoo@amazon.com
|
145
|
+
- aws-dr-rubygems@amazon.com
|
115
146
|
executables:
|
116
147
|
- aws_sqs_active_job
|
117
148
|
extensions: []
|
@@ -121,13 +152,16 @@ files:
|
|
121
152
|
- bin/aws_sqs_active_job
|
122
153
|
- lib/action_dispatch/session/dynamodb_store.rb
|
123
154
|
- lib/active_job/queue_adapters/amazon_sqs_adapter.rb
|
155
|
+
- lib/active_job/queue_adapters/amazon_sqs_adapter/params.rb
|
124
156
|
- lib/active_job/queue_adapters/amazon_sqs_async_adapter.rb
|
125
157
|
- lib/aws-sdk-rails.rb
|
126
|
-
- lib/aws/rails/mailer.rb
|
127
158
|
- lib/aws/rails/middleware/ebs_sqs_active_job_middleware.rb
|
128
159
|
- lib/aws/rails/notifications.rb
|
129
160
|
- lib/aws/rails/railtie.rb
|
161
|
+
- lib/aws/rails/ses_mailer.rb
|
162
|
+
- lib/aws/rails/sesv2_mailer.rb
|
130
163
|
- lib/aws/rails/sqs_active_job/configuration.rb
|
164
|
+
- lib/aws/rails/sqs_active_job/deduplication.rb
|
131
165
|
- lib/aws/rails/sqs_active_job/executor.rb
|
132
166
|
- lib/aws/rails/sqs_active_job/job_runner.rb
|
133
167
|
- lib/aws/rails/sqs_active_job/lambda_handler.rb
|
@@ -136,13 +170,13 @@ files:
|
|
136
170
|
- lib/generators/aws_record/generated_attribute.rb
|
137
171
|
- lib/generators/aws_record/model/USAGE
|
138
172
|
- lib/generators/aws_record/model/model_generator.rb
|
139
|
-
- lib/generators/aws_record/model/templates/model.
|
140
|
-
- lib/generators/aws_record/model/templates/table_config.
|
173
|
+
- lib/generators/aws_record/model/templates/model.erb
|
174
|
+
- lib/generators/aws_record/model/templates/table_config.erb
|
141
175
|
- lib/generators/aws_record/secondary_index.rb
|
142
176
|
- lib/generators/dynamo_db/session_store_migration/USAGE
|
143
177
|
- lib/generators/dynamo_db/session_store_migration/session_store_migration_generator.rb
|
144
178
|
- lib/generators/dynamo_db/session_store_migration/templates/dynamo_db_session_store.yml
|
145
|
-
- lib/generators/dynamo_db/session_store_migration/templates/session_store_migration.
|
179
|
+
- lib/generators/dynamo_db/session_store_migration/templates/session_store_migration.erb
|
146
180
|
- lib/tasks/aws_record/migrate.rake
|
147
181
|
- lib/tasks/dynamo_db/session_store.rake
|
148
182
|
homepage: https://github.com/aws/aws-sdk-rails
|
@@ -157,14 +191,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
157
191
|
requirements:
|
158
192
|
- - ">="
|
159
193
|
- !ruby/object:Gem::Version
|
160
|
-
version: '
|
194
|
+
version: '2.5'
|
161
195
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
196
|
requirements:
|
163
197
|
- - ">="
|
164
198
|
- !ruby/object:Gem::Version
|
165
199
|
version: '0'
|
166
200
|
requirements: []
|
167
|
-
rubygems_version: 3.
|
201
|
+
rubygems_version: 3.5.5
|
168
202
|
signing_key:
|
169
203
|
specification_version: 4
|
170
204
|
summary: AWS SDK for Ruby on Rails Plugin
|
File without changes
|
File without changes
|