aws-sdk-rails 2.1.0 → 3.4.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 +49 -0
- data/lib/active_job/queue_adapters/amazon_sqs_async_adapter.rb +32 -0
- data/lib/aws-sdk-rails.rb +15 -31
- data/lib/aws/rails/mailer.rb +7 -8
- data/lib/aws/rails/notifications.rb +33 -0
- data/lib/aws/rails/railtie.rb +68 -0
- data/lib/aws/rails/sqs_active_job/configuration.rb +152 -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 +126 -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 +110 -14
@@ -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:
|
4
|
+
version: 3.4.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: 2020-12-07 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,34 +38,117 @@ 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
|
30
72
|
requirements:
|
31
73
|
- - ">="
|
32
74
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
75
|
+
version: 5.2.0
|
34
76
|
type: :runtime
|
35
77
|
prerelease: false
|
36
78
|
version_requirements: !ruby/object:Gem::Requirement
|
37
79
|
requirements:
|
38
80
|
- - ">="
|
39
81
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
41
|
-
|
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'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rails
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
description: Integrates the AWS Ruby SDK with Ruby on Rails
|
42
112
|
email:
|
43
|
-
-
|
44
|
-
|
113
|
+
- mamuller@amazon.com
|
114
|
+
- alexwoo@amazon.com
|
115
|
+
executables:
|
116
|
+
- aws_sqs_active_job
|
45
117
|
extensions: []
|
46
118
|
extra_rdoc_files: []
|
47
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
|
48
125
|
- lib/aws-sdk-rails.rb
|
49
126
|
- lib/aws/rails/mailer.rb
|
127
|
+
- lib/aws/rails/notifications.rb
|
128
|
+
- lib/aws/rails/railtie.rb
|
129
|
+
- lib/aws/rails/sqs_active_job/configuration.rb
|
130
|
+
- lib/aws/rails/sqs_active_job/executor.rb
|
131
|
+
- lib/aws/rails/sqs_active_job/job_runner.rb
|
132
|
+
- lib/aws/rails/sqs_active_job/lambda_handler.rb
|
133
|
+
- lib/aws/rails/sqs_active_job/poller.rb
|
134
|
+
- lib/generators/aws_record/base.rb
|
135
|
+
- lib/generators/aws_record/generated_attribute.rb
|
136
|
+
- lib/generators/aws_record/model/USAGE
|
137
|
+
- lib/generators/aws_record/model/model_generator.rb
|
138
|
+
- lib/generators/aws_record/model/templates/model.rb
|
139
|
+
- lib/generators/aws_record/model/templates/table_config.rb
|
140
|
+
- lib/generators/aws_record/secondary_index.rb
|
141
|
+
- lib/generators/dynamo_db/session_store_migration/USAGE
|
142
|
+
- lib/generators/dynamo_db/session_store_migration/session_store_migration_generator.rb
|
143
|
+
- lib/generators/dynamo_db/session_store_migration/templates/dynamo_db_session_store.yml
|
144
|
+
- lib/generators/dynamo_db/session_store_migration/templates/session_store_migration.rb
|
145
|
+
- lib/tasks/aws_record/migrate.rake
|
146
|
+
- lib/tasks/dynamo_db/session_store.rake
|
50
147
|
homepage: https://github.com/aws/aws-sdk-rails
|
51
148
|
licenses:
|
52
|
-
- Apache
|
149
|
+
- Apache-2.0
|
53
150
|
metadata: {}
|
54
|
-
post_install_message:
|
151
|
+
post_install_message:
|
55
152
|
rdoc_options: []
|
56
153
|
require_paths:
|
57
154
|
- lib
|
@@ -66,9 +163,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
163
|
- !ruby/object:Gem::Version
|
67
164
|
version: '0'
|
68
165
|
requirements: []
|
69
|
-
|
70
|
-
|
71
|
-
signing_key:
|
166
|
+
rubygems_version: 3.0.3
|
167
|
+
signing_key:
|
72
168
|
specification_version: 4
|
73
|
-
summary: AWS SDK for Ruby Rails Plugin
|
169
|
+
summary: AWS SDK for Ruby on Rails Plugin
|
74
170
|
test_files: []
|