action_mailbox_amazon_ingress 0.1.0
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 +7 -0
- data/.gitignore +19 -0
- data/.rspec +3 -0
- data/.rubocop.yml +32 -0
- data/.ruby-version +1 -0
- data/Gemfile +5 -0
- data/LICENSE.txt +21 -0
- data/Makefile +4 -0
- data/README.md +62 -0
- data/Rakefile +8 -0
- data/action_mailbox_amazon_ingress.gemspec +37 -0
- data/app/controllers/action_mailbox/ingresses/amazon/inbound_emails_controller.rb +134 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/config/routes.rb +8 -0
- data/db/migrate/20200508151055_create_active_storage_tables.active_storage.rb +27 -0
- data/db/migrate/20200508151056_create_action_mailbox_tables.action_mailbox.rb +14 -0
- data/lib/action_mailbox_amazon_ingress.rb +18 -0
- data/lib/action_mailbox_amazon_ingress/engine.rb +12 -0
- data/lib/action_mailbox_amazon_ingress/version.rb +5 -0
- metadata +188 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f08bddaffb7a4483d75df3c8bf6daebdd58cbb6673f9d8edb02b0fa3f881edc1
|
4
|
+
data.tar.gz: a32fc9ffaa109603235667fa7169625d149db1aafbc6b8179625edca204f69e2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 24e5461c1e6c24b192f312d1384a4d5f863da866a769575361c380150129c05a0d28d7b7d6c7624fa7f01a2fa4ee8db70cbe080e26e13b3cb6469fb6aeb47777
|
7
|
+
data.tar.gz: 22d1eff8e7cc534adbf9b2333189797546cde4f177dc172cb66a45f6cf37da01751deb082e1e21f2dfebbbc3a352f2c8c1fbdaaccfe46273104dbe82fd653311
|
data/.gitignore
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
/.bundle/
|
2
|
+
/.yardoc
|
3
|
+
/_yardoc/
|
4
|
+
/coverage/
|
5
|
+
/doc/
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/tmp/
|
9
|
+
|
10
|
+
# rspec failure tracking
|
11
|
+
.rspec_status
|
12
|
+
|
13
|
+
spec/support/dummy/tmp/*
|
14
|
+
spec/support/dummy/log/*
|
15
|
+
spec/support/dummy/db/*
|
16
|
+
|
17
|
+
Gemfile.lock
|
18
|
+
|
19
|
+
.byebug_history
|
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
Style/Documentation:
|
2
|
+
Enabled: false
|
3
|
+
|
4
|
+
Metrics/AbcSize:
|
5
|
+
Exclude:
|
6
|
+
- 'db/migrate/**/*.rb'
|
7
|
+
|
8
|
+
Metrics/BlockLength:
|
9
|
+
Exclude:
|
10
|
+
- 'spec/**/*'
|
11
|
+
|
12
|
+
AllCops:
|
13
|
+
Exclude:
|
14
|
+
- 'bin/**/*'
|
15
|
+
- 'db/migrate/**/*.rb'
|
16
|
+
- 'vendor/**/*'
|
17
|
+
- 'spec/support/dummy/**/*'
|
18
|
+
|
19
|
+
Layout/SpaceAroundMethodCallOperator:
|
20
|
+
Enabled: true
|
21
|
+
Lint/RaiseException:
|
22
|
+
Enabled: true
|
23
|
+
Lint/StructNewOverride:
|
24
|
+
Enabled: true
|
25
|
+
Style/ExponentialNotation:
|
26
|
+
Enabled: true
|
27
|
+
Style/HashEachMethods:
|
28
|
+
Enabled: true
|
29
|
+
Style/HashTransformKeys:
|
30
|
+
Enabled: true
|
31
|
+
Style/HashTransformValues:
|
32
|
+
Enabled: true
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.6.5
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Bob Farrell
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/Makefile
ADDED
data/README.md
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
# ActionMailboxAmazonIngress
|
2
|
+
|
3
|
+
Provides _Amazon SES/SNS_ integration with [_Rails ActionMailbox_](https://guides.rubyonrails.org/action_mailbox_basics.html).
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'action_mailbox_amazon_ingress', '~> 0.1.0'
|
11
|
+
```
|
12
|
+
|
13
|
+
## Configuration
|
14
|
+
|
15
|
+
### Amazon SES/SNS
|
16
|
+
|
17
|
+
Configure _SES_ to [route emails through SNS](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-sns-notifications.html).
|
18
|
+
|
19
|
+
If your website is hosted at https://www.example.com then configure _SNS_ to publish the _SES_ notification topic to this _HTTP_ endpoint:
|
20
|
+
|
21
|
+
https://example.com/rails/action_mailbox/amazon/inbound_emails
|
22
|
+
|
23
|
+
### Rails
|
24
|
+
|
25
|
+
Configure _ActionMailbox_ to accept emails from Amazon SES:
|
26
|
+
|
27
|
+
```
|
28
|
+
# config/environments/production.rb
|
29
|
+
config.action_mailbox.ingress = :amazon
|
30
|
+
```
|
31
|
+
|
32
|
+
Configure which _SNS_ topics will be accepted:
|
33
|
+
|
34
|
+
```
|
35
|
+
# config/environments/production.rb
|
36
|
+
config.action_mailbox.amazon.subscribed_topics = %w(
|
37
|
+
arn:aws:sns:eu-west-1:123456789001:example-topic-1
|
38
|
+
arn:aws:sns:us-east-1:123456789002:example-topic-2
|
39
|
+
)
|
40
|
+
```
|
41
|
+
|
42
|
+
Subscriptions will now be auto-confirmed and messages will be delivered via _ActionMailbox_.
|
43
|
+
|
44
|
+
Note that even if you manually confirm subscriptions you will still need to provide a list of subscribed topics; messages from unrecognized topics will be ignored.
|
45
|
+
|
46
|
+
See [ActionMailbox documentation](https://guides.rubyonrails.org/action_mailbox_basics.html) for full usage information.
|
47
|
+
|
48
|
+
## Development
|
49
|
+
|
50
|
+
Ensure _Rubocop_, _RSpec_, and _StrongVersions_ compliance by running `make`:
|
51
|
+
|
52
|
+
```
|
53
|
+
make
|
54
|
+
```
|
55
|
+
|
56
|
+
## Contributing
|
57
|
+
|
58
|
+
Pull requests are welcome.
|
59
|
+
|
60
|
+
## License
|
61
|
+
|
62
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'action_mailbox_amazon_ingress/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'action_mailbox_amazon_ingress'
|
9
|
+
spec.version = ActionMailboxAmazonIngress::VERSION
|
10
|
+
spec.authors = ['Bob Farrell']
|
11
|
+
spec.email = ['git@bob.frl']
|
12
|
+
|
13
|
+
spec.summary = 'Amazon SES ingress for Rails ActionMailbox'
|
14
|
+
spec.description = 'Integrate Amazon SES with ActionMailbox'
|
15
|
+
spec.homepage = 'https://github.com/bobf/action_mailbox_amazon_ingress'
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
19
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
20
|
+
f.match(%r{^(test|spec|features)/})
|
21
|
+
end
|
22
|
+
end
|
23
|
+
spec.bindir = 'bin'
|
24
|
+
spec.executables = []
|
25
|
+
spec.require_paths = ['lib']
|
26
|
+
|
27
|
+
spec.add_runtime_dependency 'aws-sdk-sns', '~> 1.23'
|
28
|
+
spec.add_dependency 'rails', '~> 6.0'
|
29
|
+
|
30
|
+
spec.add_development_dependency 'betterp', '~> 0.1.3'
|
31
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
32
|
+
spec.add_development_dependency 'rspec-rails', '~> 4.0'
|
33
|
+
spec.add_development_dependency 'rubocop', '~> 0.82.0'
|
34
|
+
spec.add_development_dependency 'sqlite3', '~> 1.4'
|
35
|
+
spec.add_development_dependency 'strong_versions', '~> 0.4.3'
|
36
|
+
spec.add_development_dependency 'webmock', '~> 3.8'
|
37
|
+
end
|
@@ -0,0 +1,134 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# rubocop:disable Layout/LineLength
|
4
|
+
module ActionMailbox
|
5
|
+
# Ingests inbound emails from Amazon SES/SNS and confirms subscriptions.
|
6
|
+
#
|
7
|
+
# Subscription requests must provide the following parameters in a JSON body:
|
8
|
+
# - +Message+: Notification content
|
9
|
+
# - +MessagId+: Notification unique identifier
|
10
|
+
# - +Timestamp+: iso8601 timestamp
|
11
|
+
# - +TopicArn+: Topic identifier
|
12
|
+
# - +Type+: Type of event ("Subscription")
|
13
|
+
#
|
14
|
+
# Inbound email events must provide the following parameters in a JSON body:
|
15
|
+
# - +Message+: Notification content
|
16
|
+
# - +MessagId+: Notification unique identifier
|
17
|
+
# - +Timestamp+: iso8601 timestamp
|
18
|
+
# - +SubscribeURL+: Topic identifier
|
19
|
+
# - +TopicArn+: Topic identifier
|
20
|
+
# - +Type+: Type of event ("SubscriptionConfirmation")
|
21
|
+
#
|
22
|
+
# All requests are authenticated by validating the provided AWS signature.
|
23
|
+
#
|
24
|
+
# Returns:
|
25
|
+
#
|
26
|
+
# - <tt>204 No Content</tt> if a request is successfully processed
|
27
|
+
# - <tt>401 Unauthorized</tt> if a request does not contain a valid signature
|
28
|
+
# - <tt>404 Not Found</tt> if the Amazon ingress has not been configured
|
29
|
+
# - <tt>422 Unprocessable Entity</tt> if a request provides invalid parameters
|
30
|
+
#
|
31
|
+
# == Usage
|
32
|
+
#
|
33
|
+
# 1. Tell Action Mailbox to accept emails from Amazon SES:
|
34
|
+
#
|
35
|
+
# # config/environments/production.rb
|
36
|
+
# config.action_mailbox.ingress = :amazon
|
37
|
+
#
|
38
|
+
# 2. Configure which SNS topics will be accepted:
|
39
|
+
#
|
40
|
+
# config.action_mailbox.amazon.subscribed_topics = %w(
|
41
|
+
# arn:aws:sns:eu-west-1:123456789001:example-topic-1
|
42
|
+
# arn:aws:sns:us-east-1:123456789002:example-topic-2
|
43
|
+
# )
|
44
|
+
#
|
45
|
+
# 3. {Configure SES}[https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-notifications.html]
|
46
|
+
# to route emails through SNS.
|
47
|
+
#
|
48
|
+
# Configure SNS to send emails to +/rails/action_mailbox/amazon/inbound_emails+.
|
49
|
+
#
|
50
|
+
# If your application is found at <tt>https://example.com</tt> you would
|
51
|
+
# specify the fully-qualified URL <tt>https://example.com/rails/action_mailbox/amazon/inbound_emails</tt>.
|
52
|
+
#
|
53
|
+
# rubocop:enable Layout/LineLength
|
54
|
+
module Ingresses
|
55
|
+
module Amazon
|
56
|
+
class InboundEmailsController < ActionMailbox::BaseController
|
57
|
+
before_action :verify_authenticity
|
58
|
+
before_action :validate_topic
|
59
|
+
before_action :confirm_subscription
|
60
|
+
|
61
|
+
def create
|
62
|
+
head :bad_request unless mail.present?
|
63
|
+
|
64
|
+
ActionMailbox::InboundEmail.create_and_extract_message_id!(mail)
|
65
|
+
head :no_content
|
66
|
+
end
|
67
|
+
|
68
|
+
private
|
69
|
+
|
70
|
+
def verify_authenticity
|
71
|
+
head :bad_request unless notification.present?
|
72
|
+
head :unauthorized unless verified?
|
73
|
+
end
|
74
|
+
|
75
|
+
def confirm_subscription
|
76
|
+
return unless notification['Type'] == 'SubscriptionConfirmation'
|
77
|
+
return head :ok if confirmation_response_code&.start_with?('2')
|
78
|
+
|
79
|
+
Rails.logger.error('SNS subscription confirmation request rejected.')
|
80
|
+
head :unprocessable_entity
|
81
|
+
end
|
82
|
+
|
83
|
+
def validate_topic
|
84
|
+
return if valid_topics.include?(topic)
|
85
|
+
|
86
|
+
Rails.logger.warn("Ignoring unknown topic: #{topic}")
|
87
|
+
head :unauthorized
|
88
|
+
end
|
89
|
+
|
90
|
+
def confirmation_response_code
|
91
|
+
@confirmation_response_code ||= begin
|
92
|
+
Net::HTTP.get_response(URI(notification['SubscribeURL'])).code
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
def notification
|
97
|
+
@notification ||= JSON.parse(request.body.read)
|
98
|
+
rescue JSON::ParserError => e
|
99
|
+
Rails.logger.warn("Unable to parse SNS notification: #{e}")
|
100
|
+
nil
|
101
|
+
end
|
102
|
+
|
103
|
+
def verified?
|
104
|
+
verifier.authentic?(@notification.to_json)
|
105
|
+
end
|
106
|
+
|
107
|
+
def verifier
|
108
|
+
Aws::SNS::MessageVerifier.new
|
109
|
+
end
|
110
|
+
|
111
|
+
def message
|
112
|
+
@message ||= JSON.parse(notification['Message'])
|
113
|
+
end
|
114
|
+
|
115
|
+
def mail
|
116
|
+
return nil unless notification['Type'] == 'Notification'
|
117
|
+
return nil unless message['notificationType'] == 'Received'
|
118
|
+
|
119
|
+
message['content']
|
120
|
+
end
|
121
|
+
|
122
|
+
def topic
|
123
|
+
return nil unless notification.present?
|
124
|
+
|
125
|
+
notification['TopicArn']
|
126
|
+
end
|
127
|
+
|
128
|
+
def valid_topics
|
129
|
+
::Rails.configuration.action_mailbox.amazon.subscribed_topics
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "action_mailbox_amazon_ingress"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/config/routes.rb
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# This migration comes from active_storage (originally 20170806125915)
|
2
|
+
class CreateActiveStorageTables < ActiveRecord::Migration[5.2]
|
3
|
+
def change
|
4
|
+
create_table :active_storage_blobs do |t|
|
5
|
+
t.string :key, null: false
|
6
|
+
t.string :filename, null: false
|
7
|
+
t.string :content_type
|
8
|
+
t.text :metadata
|
9
|
+
t.bigint :byte_size, null: false
|
10
|
+
t.string :checksum, null: false
|
11
|
+
t.datetime :created_at, null: false
|
12
|
+
|
13
|
+
t.index [ :key ], unique: true
|
14
|
+
end
|
15
|
+
|
16
|
+
create_table :active_storage_attachments do |t|
|
17
|
+
t.string :name, null: false
|
18
|
+
t.references :record, null: false, polymorphic: true, index: false
|
19
|
+
t.references :blob, null: false
|
20
|
+
|
21
|
+
t.datetime :created_at, null: false
|
22
|
+
|
23
|
+
t.index [ :record_type, :record_id, :name, :blob_id ], name: "index_active_storage_attachments_uniqueness", unique: true
|
24
|
+
t.foreign_key :active_storage_blobs, column: :blob_id
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# This migration comes from action_mailbox (originally 20180917164000)
|
2
|
+
class CreateActionMailboxTables < ActiveRecord::Migration[6.0]
|
3
|
+
def change
|
4
|
+
create_table :action_mailbox_inbound_emails do |t|
|
5
|
+
t.integer :status, default: 0, null: false
|
6
|
+
t.string :message_id, null: false
|
7
|
+
t.string :message_checksum, null: false
|
8
|
+
|
9
|
+
t.timestamps
|
10
|
+
|
11
|
+
t.index [ :message_id, :message_checksum ], name: "index_action_mailbox_inbound_emails_uniqueness", unique: true
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'pathname'
|
4
|
+
require 'net/http'
|
5
|
+
require 'rails'
|
6
|
+
require 'action_mailbox/engine'
|
7
|
+
require 'aws-sdk-sns'
|
8
|
+
|
9
|
+
require 'action_mailbox_amazon_ingress/engine'
|
10
|
+
require 'action_mailbox_amazon_ingress/version'
|
11
|
+
|
12
|
+
module ActionMailboxAmazonIngress
|
13
|
+
class Error < StandardError; end
|
14
|
+
|
15
|
+
def self.root
|
16
|
+
Pathname.new(File.expand_path(File.join(__dir__, '..')))
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module ActionMailboxAmazonIngress
|
4
|
+
class Engine < ::Rails::Engine
|
5
|
+
config.action_mailbox.amazon = ActiveSupport::OrderedOptions.new
|
6
|
+
initializer 'action_mailbox_amazon_ingress.mount_engine' do |app|
|
7
|
+
app.routes.append do
|
8
|
+
mount Engine => '/'
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
metadata
ADDED
@@ -0,0 +1,188 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: action_mailbox_amazon_ingress
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Bob Farrell
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-05-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: aws-sdk-sns
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.23'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.23'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '6.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '6.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: betterp
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.1.3
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.1.3
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '13.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '13.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec-rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '4.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '4.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.82.0
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.82.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: sqlite3
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.4'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.4'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: strong_versions
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.4.3
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.4.3
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: webmock
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '3.8'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '3.8'
|
139
|
+
description: Integrate Amazon SES with ActionMailbox
|
140
|
+
email:
|
141
|
+
- git@bob.frl
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- ".gitignore"
|
147
|
+
- ".rspec"
|
148
|
+
- ".rubocop.yml"
|
149
|
+
- ".ruby-version"
|
150
|
+
- Gemfile
|
151
|
+
- LICENSE.txt
|
152
|
+
- Makefile
|
153
|
+
- README.md
|
154
|
+
- Rakefile
|
155
|
+
- action_mailbox_amazon_ingress.gemspec
|
156
|
+
- app/controllers/action_mailbox/ingresses/amazon/inbound_emails_controller.rb
|
157
|
+
- bin/console
|
158
|
+
- bin/setup
|
159
|
+
- config/routes.rb
|
160
|
+
- db/migrate/20200508151055_create_active_storage_tables.active_storage.rb
|
161
|
+
- db/migrate/20200508151056_create_action_mailbox_tables.action_mailbox.rb
|
162
|
+
- lib/action_mailbox_amazon_ingress.rb
|
163
|
+
- lib/action_mailbox_amazon_ingress/engine.rb
|
164
|
+
- lib/action_mailbox_amazon_ingress/version.rb
|
165
|
+
homepage: https://github.com/bobf/action_mailbox_amazon_ingress
|
166
|
+
licenses:
|
167
|
+
- MIT
|
168
|
+
metadata: {}
|
169
|
+
post_install_message:
|
170
|
+
rdoc_options: []
|
171
|
+
require_paths:
|
172
|
+
- lib
|
173
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '0'
|
178
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '0'
|
183
|
+
requirements: []
|
184
|
+
rubygems_version: 3.0.3
|
185
|
+
signing_key:
|
186
|
+
specification_version: 4
|
187
|
+
summary: Amazon SES ingress for Rails ActionMailbox
|
188
|
+
test_files: []
|