sincerely 1.1.2 → 1.1.3

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: e65feaa40c69f0ef13e944183aa7e64cad360a89d8a93f6fbb74c200cbafb6d4
4
- data.tar.gz: 6204b603e3f27e1a00f3708cca2ac3be0245a0ec6e7295c148e67561f65a766d
3
+ metadata.gz: e39a6884c8cf6a13cde2e74022a60bf41239bf1b8979316386f0eb4abe99d025
4
+ data.tar.gz: 7008f595337b90fd24943b11538060726f027f11392b56ab81b4af7513852074
5
5
  SHA512:
6
- metadata.gz: 0ba0f74c0e009294a823162cb124804db7d7855ab9c60a6c9ce2f305be8570db46fbed3e1e2125ac01ca81b95e21cbd4b2fe4de364e2c110a1c216b19ead4af5
7
- data.tar.gz: 8758277f0e5829ae83d7c743a344aa9b3b941436ca2a61f3ba1d9722e251841d173095a0ba9891c40cde52ad8c3a6969e88a6b1ebd446859e84394726bd6f30a
6
+ metadata.gz: 5d0f203efd3e95eddd0bbb3304ee152d24c510f5ee1a7d491a03c5ecd63631aea8d574d2e2247267c5fd6a039d79abd5b9c508e63f1d7481a57441d642a8c4f1
7
+ data.tar.gz: 51ea2e8dfb66203f82a6b26978261e2ebb98f2562c0f674af9b5d63f693d014b392c0951cba58be306ed3639af7308a5dc6520faef1b3483df3fd0fa380b8d7e
data/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.1.3] - 2026-09-17
6
+
7
+ ### Added
8
+ - Inline attachments accept an optional `encoding` (e.g. `base64`), passed through to the MIME part's `Content-Transfer-Encoding`. Lets callers embed binary images such as PNGs, whose raw bytes cannot survive the JSON-serialized `delivery_options` column.
9
+
10
+ ## [1.1.2] - 2026-09-17
11
+
12
+ ### Added
13
+ - `AwsSesRejectEvent`, carrying the rejection reason reported by SES
14
+
5
15
  ## [1.1.1] - 2026-08-28
6
16
 
7
17
  ### Changed
@@ -84,8 +84,9 @@ module Sincerely
84
84
  attachments.each_with_object({}) do |attachment, cid_by_variable|
85
85
  message.attachments.inline[attachment['filename']] = {
86
86
  mime_type: attachment['mime_type'],
87
- content: attachment['content']
88
- }
87
+ content: attachment['content'],
88
+ encoding: attachment['encoding']
89
+ }.compact
89
90
  cid_by_variable[attachment['variable']] = message.attachments[attachment['filename']].url
90
91
  end
91
92
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sincerely
4
- VERSION = '1.1.2'
4
+ VERSION = '1.1.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sincerely
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - 100 Starlings