aws-sdk-rails 3.1.0 → 3.6.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 -0
- data/bin/aws_sqs_active_job +5 -0
- data/lib/action_dispatch/session/dynamodb_store.rb +32 -0
- data/lib/active_job/queue_adapters/amazon_sqs_adapter.rb +61 -0
- data/lib/active_job/queue_adapters/amazon_sqs_async_adapter.rb +38 -0
- data/lib/aws-sdk-rails.rb +14 -43
- data/lib/aws/rails/middleware/ebs_sqs_active_job_middleware.rb +92 -0
- data/lib/aws/rails/notifications.rb +33 -0
- data/lib/aws/rails/railtie.rb +88 -0
- data/lib/aws/rails/sqs_active_job/configuration.rb +163 -0
- data/lib/aws/rails/sqs_active_job/executor.rb +58 -0
- data/lib/aws/rails/sqs_active_job/job_runner.rb +22 -0
- data/lib/aws/rails/sqs_active_job/lambda_handler.rb +66 -0
- data/lib/aws/rails/sqs_active_job/poller.rb +136 -0
- data/lib/generators/aws_record/base.rb +217 -0
- data/lib/generators/aws_record/generated_attribute.rb +129 -0
- data/lib/generators/aws_record/model/USAGE +24 -0
- data/lib/generators/aws_record/model/model_generator.rb +21 -0
- data/lib/generators/aws_record/model/templates/model.rb +48 -0
- data/lib/generators/aws_record/model/templates/table_config.rb +18 -0
- data/lib/generators/aws_record/secondary_index.rb +60 -0
- data/lib/generators/dynamo_db/session_store_migration/USAGE +13 -0
- data/lib/generators/dynamo_db/session_store_migration/session_store_migration_generator.rb +46 -0
- data/lib/generators/dynamo_db/session_store_migration/templates/dynamo_db_session_store.yml +70 -0
- data/lib/generators/dynamo_db/session_store_migration/templates/session_store_migration.rb +9 -0
- data/lib/tasks/aws_record/migrate.rake +12 -0
- data/lib/tasks/dynamo_db/session_store.rake +8 -0
- metadata +90 -7
@@ -0,0 +1,12 @@
|
|
1
|
+
desc 'Run all table configs in table_config folder'
|
2
|
+
namespace :aws_record do
|
3
|
+
task migrate: :environment do
|
4
|
+
Dir[File.join('db', 'table_config', '**/*.rb')].each do |filename|
|
5
|
+
puts "running #{filename}"
|
6
|
+
require(File.expand_path(filename))
|
7
|
+
|
8
|
+
table_config = ModelTableConfig.config
|
9
|
+
table_config.migrate! unless table_config.compatible?
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
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.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: aws-record
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: aws-sdk-ses
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -24,6 +38,34 @@ dependencies:
|
|
24
38
|
- - "~>"
|
25
39
|
- !ruby/object:Gem::Version
|
26
40
|
version: '1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: aws-sdk-sqs
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: aws-sessionstore-dynamodb
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2'
|
27
69
|
- !ruby/object:Gem::Dependency
|
28
70
|
name: railties
|
29
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +80,20 @@ dependencies:
|
|
38
80
|
- - ">="
|
39
81
|
- !ruby/object:Gem::Version
|
40
82
|
version: 5.2.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: concurrent-ruby
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1'
|
41
97
|
- !ruby/object:Gem::Dependency
|
42
98
|
name: rails
|
43
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -54,19 +110,46 @@ dependencies:
|
|
54
110
|
version: '0'
|
55
111
|
description: Integrates the AWS Ruby SDK with Ruby on Rails
|
56
112
|
email:
|
57
|
-
- chejingy@amazon.com
|
58
113
|
- mamuller@amazon.com
|
59
|
-
|
114
|
+
- alexwoo@amazon.com
|
115
|
+
executables:
|
116
|
+
- aws_sqs_active_job
|
60
117
|
extensions: []
|
61
118
|
extra_rdoc_files: []
|
62
119
|
files:
|
120
|
+
- VERSION
|
121
|
+
- bin/aws_sqs_active_job
|
122
|
+
- lib/action_dispatch/session/dynamodb_store.rb
|
123
|
+
- lib/active_job/queue_adapters/amazon_sqs_adapter.rb
|
124
|
+
- lib/active_job/queue_adapters/amazon_sqs_async_adapter.rb
|
63
125
|
- lib/aws-sdk-rails.rb
|
64
126
|
- lib/aws/rails/mailer.rb
|
127
|
+
- lib/aws/rails/middleware/ebs_sqs_active_job_middleware.rb
|
128
|
+
- lib/aws/rails/notifications.rb
|
129
|
+
- lib/aws/rails/railtie.rb
|
130
|
+
- lib/aws/rails/sqs_active_job/configuration.rb
|
131
|
+
- lib/aws/rails/sqs_active_job/executor.rb
|
132
|
+
- lib/aws/rails/sqs_active_job/job_runner.rb
|
133
|
+
- lib/aws/rails/sqs_active_job/lambda_handler.rb
|
134
|
+
- lib/aws/rails/sqs_active_job/poller.rb
|
135
|
+
- lib/generators/aws_record/base.rb
|
136
|
+
- lib/generators/aws_record/generated_attribute.rb
|
137
|
+
- lib/generators/aws_record/model/USAGE
|
138
|
+
- lib/generators/aws_record/model/model_generator.rb
|
139
|
+
- lib/generators/aws_record/model/templates/model.rb
|
140
|
+
- lib/generators/aws_record/model/templates/table_config.rb
|
141
|
+
- lib/generators/aws_record/secondary_index.rb
|
142
|
+
- lib/generators/dynamo_db/session_store_migration/USAGE
|
143
|
+
- lib/generators/dynamo_db/session_store_migration/session_store_migration_generator.rb
|
144
|
+
- 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.rb
|
146
|
+
- lib/tasks/aws_record/migrate.rake
|
147
|
+
- lib/tasks/dynamo_db/session_store.rake
|
65
148
|
homepage: https://github.com/aws/aws-sdk-rails
|
66
149
|
licenses:
|
67
150
|
- Apache-2.0
|
68
151
|
metadata: {}
|
69
|
-
post_install_message:
|
152
|
+
post_install_message:
|
70
153
|
rdoc_options: []
|
71
154
|
require_paths:
|
72
155
|
- lib
|
@@ -82,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
165
|
version: '0'
|
83
166
|
requirements: []
|
84
167
|
rubygems_version: 3.0.3
|
85
|
-
signing_key:
|
168
|
+
signing_key:
|
86
169
|
specification_version: 4
|
87
170
|
summary: AWS SDK for Ruby on Rails Plugin
|
88
171
|
test_files: []
|