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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e479e69925ae410b04c11a78682c20190c820df0eab90a95b7044affad760d2b
4
- data.tar.gz: 482a6e144f2def8dcbcca8312afc334488d12aaafea95ea22b3c4daf19db15ec
3
+ metadata.gz: 500a94c42e04fdbcd047f3ff0a949dba15110019cfc9dafbf824bfc917e1407f
4
+ data.tar.gz: 3c26b90900c66fffb702399f13fd0aef63e0e2316d00f95d1089c71ccba1c6c2
5
5
  SHA512:
6
- metadata.gz: f050f92ca327417764e4c8cd5819578662c148659180883680996c5fc2c63837f210e4742bb44f99a69f237a5995b58ce10debc7843a857b0f8c1dfd0c646fc3
7
- data.tar.gz: 1e4598eabdd771eb50b2e5da42282fb7df9861ea88a685be8237c4625c9ebead1cd1025dbdf1769e8e09c76e8d2a4d972c529c45210fa9e8dab4829a22908627
6
+ metadata.gz: 989d114e01bbe063d62d18c73e14aefc3790407c2f67568ad812fb68b4e0517cea1cd592c50d6a84a2b5bf613ad038dc3bbe82c10ad3c0c357ce62c74e225468
7
+ data.tar.gz: 6a62a9998e3f806cfea4162e88bf9d6cc6adb89ac2fecfdb74cf8eab40328b19e9db56e411fcde1b9a15c99baa63c7c379cd5e3983b5e959b68b8cc707e19e33
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ 0.1.1 (2026-03-31)
2
+ ------------------
3
+
4
+ * Fix - Prevent duplicate response errors when handling invalid or malformed SES inbound email requests. (#7)
5
+
1
6
  0.1.0 (2024-11-16)
2
7
  ------------------
3
8
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
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.0
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: 2024-11-16 00:00:00.000000000 Z
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.5.11
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: []