aws-actionmailbox-ses 0.1.0 → 0.1.1
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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/app/controllers/action_mailbox/ingresses/ses/inbound_emails_controller.rb +3 -2
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 500a94c42e04fdbcd047f3ff0a949dba15110019cfc9dafbf824bfc917e1407f
|
|
4
|
+
data.tar.gz: 3c26b90900c66fffb702399f13fd0aef63e0e2316d00f95d1089c71ccba1c6c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 989d114e01bbe063d62d18c73e14aefc3790407c2f67568ad812fb68b4e0517cea1cd592c50d6a84a2b5bf613ad038dc3bbe82c10ad3c0c357ce62c74e225468
|
|
7
|
+
data.tar.gz: 6a62a9998e3f806cfea4162e88bf9d6cc6adb89ac2fecfdb74cf8eab40328b19e9db56e411fcde1b9a15c99baa63c7c379cd5e3983b5e959b68b8cc707e19e33
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
|
@@ -34,7 +34,7 @@ module ActionMailbox
|
|
|
34
34
|
before_action :verify_authenticity, :validate_topic, :confirm_subscription
|
|
35
35
|
|
|
36
36
|
def create
|
|
37
|
-
head :bad_request unless notification.message_content.present?
|
|
37
|
+
return head :bad_request unless notification.message_content.present?
|
|
38
38
|
|
|
39
39
|
ActionMailbox::InboundEmail.create_and_extract_message_id!(notification.message_content)
|
|
40
40
|
head :no_content
|
|
@@ -43,7 +43,8 @@ module ActionMailbox
|
|
|
43
43
|
private
|
|
44
44
|
|
|
45
45
|
def verify_authenticity
|
|
46
|
-
head :bad_request unless notification.present?
|
|
46
|
+
return head :bad_request unless notification.present?
|
|
47
|
+
|
|
47
48
|
head :unauthorized unless notification.verified?
|
|
48
49
|
end
|
|
49
50
|
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-actionmailbox-ses
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: aws-sdk-s3
|
|
@@ -88,7 +87,6 @@ homepage: https://github.com/aws/aws-actionmailbox-ses-ruby
|
|
|
88
87
|
licenses:
|
|
89
88
|
- Apache-2.0
|
|
90
89
|
metadata: {}
|
|
91
|
-
post_install_message:
|
|
92
90
|
rdoc_options: []
|
|
93
91
|
require_paths:
|
|
94
92
|
- lib
|
|
@@ -103,8 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
103
101
|
- !ruby/object:Gem::Version
|
|
104
102
|
version: '0'
|
|
105
103
|
requirements: []
|
|
106
|
-
rubygems_version: 3.
|
|
107
|
-
signing_key:
|
|
104
|
+
rubygems_version: 3.6.9
|
|
108
105
|
specification_version: 4
|
|
109
106
|
summary: ActionMailbox integration with SES
|
|
110
107
|
test_files: []
|