action_mailbox_amazon_ingress 0.1.1 → 0.1.2
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 +4 -4
- data/.strong_versions.yml +2 -0
- data/README.md +1 -1
- data/action_mailbox_amazon_ingress.gemspec +1 -1
- data/db/migrate/20210413173650_add_service_name_to_active_storage_blobs.active_storage.rb +18 -0
- data/db/migrate/20210413173651_create_active_storage_variant_records.active_storage.rb +12 -0
- data/lib/action_mailbox_amazon_ingress/version.rb +1 -1
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b26f2cfe0ca42ab7c2db9987a82c666a6f7445fc7389c7085f79c707a76d5899
|
4
|
+
data.tar.gz: a8fe61d7f510e118805f199cfde57d0907db72b8bf1ffe47ebf6ea998f206a01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56389ac398f5fdf2bffa59827383ed915d600a9667e2a5d092ba1874c51edf4fc3896d8ddac26bbde7359f7ae5ad330603059c8f62bcd5ff571a49de4ce0e027
|
7
|
+
data.tar.gz: 6bd724fef91f51ea927f91fd95106dd4a42901aa857154ec4d8fbc087d6f99773f735c05b4af59bd38db708593714f1c4822f81a18f53f014791e53888bb2029
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Provides _Amazon SES/SNS_ integration with [_Rails ActionMailbox_](https://guide
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
9
|
```ruby
|
10
|
-
gem 'action_mailbox_amazon_ingress', '~> 0.1.
|
10
|
+
gem 'action_mailbox_amazon_ingress', '~> 0.1.2'
|
11
11
|
```
|
12
12
|
|
13
13
|
## Configuration
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = ['lib']
|
27
27
|
|
28
28
|
spec.add_runtime_dependency 'aws-sdk-sns', '~> 1.23'
|
29
|
-
spec.add_dependency 'rails', '~> 6
|
29
|
+
spec.add_dependency 'rails', '~> 6'
|
30
30
|
|
31
31
|
spec.add_development_dependency 'betterp', '~> 0.1.3'
|
32
32
|
spec.add_development_dependency 'devpack', '~> 0.2.1'
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# This migration comes from active_storage (originally 20190112182829)
|
2
|
+
class AddServiceNameToActiveStorageBlobs < ActiveRecord::Migration[6.0]
|
3
|
+
def up
|
4
|
+
unless column_exists?(:active_storage_blobs, :service_name)
|
5
|
+
add_column :active_storage_blobs, :service_name, :string
|
6
|
+
|
7
|
+
if configured_service = ActiveStorage::Blob.service.name
|
8
|
+
ActiveStorage::Blob.unscoped.update_all(service_name: configured_service)
|
9
|
+
end
|
10
|
+
|
11
|
+
change_column :active_storage_blobs, :service_name, :string, null: false
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def down
|
16
|
+
remove_column :active_storage_blobs, :service_name
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# This migration comes from active_storage (originally 20191206030411)
|
2
|
+
class CreateActiveStorageVariantRecords < ActiveRecord::Migration[6.0]
|
3
|
+
def change
|
4
|
+
create_table :active_storage_variant_records do |t|
|
5
|
+
t.belongs_to :blob, null: false, index: false
|
6
|
+
t.string :variation_digest, null: false
|
7
|
+
|
8
|
+
t.index %i[ blob_id variation_digest ], name: "index_active_storage_variant_records_uniqueness", unique: true
|
9
|
+
t.foreign_key :active_storage_blobs, column: :blob_id
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: action_mailbox_amazon_ingress
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bob Farrell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-sns
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '6
|
33
|
+
version: '6'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '6
|
40
|
+
version: '6'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: betterp
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -175,6 +175,7 @@ files:
|
|
175
175
|
- ".rspec"
|
176
176
|
- ".rubocop.yml"
|
177
177
|
- ".ruby-version"
|
178
|
+
- ".strong_versions.yml"
|
178
179
|
- Gemfile
|
179
180
|
- LICENSE.txt
|
180
181
|
- Makefile
|
@@ -187,6 +188,8 @@ files:
|
|
187
188
|
- config/routes.rb
|
188
189
|
- db/migrate/20200508151055_create_active_storage_tables.active_storage.rb
|
189
190
|
- db/migrate/20200508151056_create_action_mailbox_tables.action_mailbox.rb
|
191
|
+
- db/migrate/20210413173650_add_service_name_to_active_storage_blobs.active_storage.rb
|
192
|
+
- db/migrate/20210413173651_create_active_storage_variant_records.active_storage.rb
|
190
193
|
- lib/action_mailbox_amazon_ingress.rb
|
191
194
|
- lib/action_mailbox_amazon_ingress/engine.rb
|
192
195
|
- lib/action_mailbox_amazon_ingress/rspec.rb
|