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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a83ae0efbb2c0f3027ef29b0aa7586d46993c25a4f2c12c06fb7174fb3d1271
4
- data.tar.gz: f90c9da49e0b53f4c8b6687adb6d76c08cef34f9e0f7f4f1896f37e33d718825
3
+ metadata.gz: b26f2cfe0ca42ab7c2db9987a82c666a6f7445fc7389c7085f79c707a76d5899
4
+ data.tar.gz: a8fe61d7f510e118805f199cfde57d0907db72b8bf1ffe47ebf6ea998f206a01
5
5
  SHA512:
6
- metadata.gz: e4d6813c196bdc0ce6da6a639cf8c7ccbcda8131587eb1ad49540a76141bc8993c596949b865084b956d38b6c8637e6ae4e7a52ee421f98d429dc2e21e90b924
7
- data.tar.gz: 35dfa9d498ad50f2b4f102d370d5305b506c0971d48ee56c07f7ef1e07b494d31c009c65522e59bd555104849c3aa77a74d6ecc4b1efce61e44bdf539f81f734
6
+ metadata.gz: 56389ac398f5fdf2bffa59827383ed915d600a9667e2a5d092ba1874c51edf4fc3896d8ddac26bbde7359f7ae5ad330603059c8f62bcd5ff571a49de4ce0e027
7
+ data.tar.gz: 6bd724fef91f51ea927f91fd95106dd4a42901aa857154ec4d8fbc087d6f99773f735c05b4af59bd38db708593714f1c4822f81a18f53f014791e53888bb2029
@@ -0,0 +1,2 @@
1
+ ignore:
2
+ - rails
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.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.0'
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActionMailboxAmazonIngress
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  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.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: 2020-09-22 00:00:00.000000000 Z
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.0'
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.0'
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