customerio-rails 0.3.0 → 0.4.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 +4 -4
- data/CHANGELOG.rdoc +25 -0
- data/lib/customerio-rails/mail.rb +1 -1
- data/lib/customerio-rails/version.rb +1 -1
- data/spec/delivery_spec.rb +12 -1
- metadata +11 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99f71b53453f10cf21969f3d0d1c72d1ee3d1fb6794df03760f1486ceafe1831
|
|
4
|
+
data.tar.gz: 716aafbc80bdf6400fb51d2ae97e22e51b13805067a5c711b44520b9c8ba2f59
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d561495cff145b7223cbd3dcf7ef7267e781b91f4dabfbbae17550f7177a2adb4483690d9366246dec0c85275404db818fe16b67d1f200841da96344a7e5d4f0
|
|
7
|
+
data.tar.gz: cd654cc0e4b6a769baf5f35a6e1a88887286e350fde24a991943eff9e7ba7bc74e4cf86b38369acc6ae35a3e53d457525e1f7ab44b51ae1409d738867afca8b7
|
data/CHANGELOG.rdoc
CHANGED
|
@@ -1,4 +1,29 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.4.0](https://github.com/altertable-ai/customerio-rails/compare/v0.3.1...v0.4.0) (2026-08-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* release 0.4.0 ([6430693](https://github.com/altertable-ai/customerio-rails/commit/6430693979ae44bb4b14a9de11e2d9b3ea4f8394))
|
|
9
|
+
|
|
1
10
|
= Changelog
|
|
2
11
|
|
|
12
|
+
== 0.3.1
|
|
13
|
+
* Fix reply_to handling; the Customer.io API expects a string (#7)
|
|
14
|
+
|
|
15
|
+
== 0.3.0
|
|
16
|
+
* Support a +tracked+ option so the client can decide whether an email is tracked (#6)
|
|
17
|
+
|
|
18
|
+
== 0.2.2
|
|
19
|
+
* Always configure a body, including an empty body for templated messages (#5)
|
|
20
|
+
|
|
21
|
+
== 0.2.1
|
|
22
|
+
* Fix single-part messages writing to +body+ instead of +body_plain+ (#4)
|
|
23
|
+
|
|
24
|
+
== 0.2.0
|
|
25
|
+
* Support Customer.io message templates via +transactional_message_id+ (#2)
|
|
26
|
+
* Keep formatted From headers (#3)
|
|
27
|
+
|
|
3
28
|
== 0.1.0
|
|
4
29
|
* Initial release, inspired by https://github.com/ActiveCampaign/postmark-rails
|
data/spec/delivery_spec.rb
CHANGED
|
@@ -30,7 +30,7 @@ describe 'Delivering messages with customerio-rails' do
|
|
|
30
30
|
|
|
31
31
|
context 'with a reply-to address' do
|
|
32
32
|
let(:expected_body) do
|
|
33
|
-
super().merge('reply_to' =>
|
|
33
|
+
super().merge('reply_to' => 'raj@bigbangtheory.com')
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
it do
|
|
@@ -39,6 +39,17 @@ describe 'Delivering messages with customerio-rails' do
|
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
+
context 'with multiple reply-to addresses' do
|
|
43
|
+
let(:expected_body) do
|
|
44
|
+
super().merge('reply_to' => 'raj@bigbangtheory.com,raj2@bigbangtheory.com')
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
it do
|
|
48
|
+
message.reply_to = ['raj@bigbangtheory.com', 'raj2@bigbangtheory.com']
|
|
49
|
+
message.deliver!
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
42
53
|
context 'with a bcc address' do
|
|
43
54
|
let(:expected_body) do
|
|
44
55
|
super().merge('bcc' => ['raj@bigbangtheory.com'])
|
metadata
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: customerio-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sylvain Utard
|
|
8
|
+
autorequire:
|
|
8
9
|
bindir: bin
|
|
9
10
|
cert_chain: []
|
|
10
|
-
date:
|
|
11
|
+
date: 2026-08-28 00:00:00.000000000 Z
|
|
11
12
|
dependencies:
|
|
12
13
|
- !ruby/object:Gem::Dependency
|
|
13
14
|
name: actionmailer
|
|
@@ -29,14 +30,14 @@ dependencies:
|
|
|
29
30
|
requirements:
|
|
30
31
|
- - ">="
|
|
31
32
|
- !ruby/object:Gem::Version
|
|
32
|
-
version:
|
|
33
|
+
version: 6.2.0
|
|
33
34
|
type: :runtime
|
|
34
35
|
prerelease: false
|
|
35
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
37
|
requirements:
|
|
37
38
|
- - ">="
|
|
38
39
|
- !ruby/object:Gem::Version
|
|
39
|
-
version:
|
|
40
|
+
version: 6.2.0
|
|
40
41
|
- !ruby/object:Gem::Dependency
|
|
41
42
|
name: rake
|
|
42
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -52,6 +53,7 @@ dependencies:
|
|
|
52
53
|
- !ruby/object:Gem::Version
|
|
53
54
|
version: '0'
|
|
54
55
|
description: Drop-in ActionMailer adapter to send emails via Customer.io
|
|
56
|
+
email:
|
|
55
57
|
executables: []
|
|
56
58
|
extensions: []
|
|
57
59
|
extra_rdoc_files:
|
|
@@ -78,8 +80,10 @@ files:
|
|
|
78
80
|
- spec/spec.opts
|
|
79
81
|
- spec/spec_helper.rb
|
|
80
82
|
homepage: https://github.com/altertable-ai/customerio-rails
|
|
81
|
-
licenses:
|
|
83
|
+
licenses:
|
|
84
|
+
- MIT
|
|
82
85
|
metadata: {}
|
|
86
|
+
post_install_message:
|
|
83
87
|
rdoc_options:
|
|
84
88
|
- "--charset=UTF-8"
|
|
85
89
|
require_paths:
|
|
@@ -95,7 +99,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
95
99
|
- !ruby/object:Gem::Version
|
|
96
100
|
version: '0'
|
|
97
101
|
requirements: []
|
|
98
|
-
rubygems_version: 3.
|
|
102
|
+
rubygems_version: 3.5.22
|
|
103
|
+
signing_key:
|
|
99
104
|
specification_version: 4
|
|
100
105
|
summary: Customer.io adapter for ActionMailer
|
|
101
106
|
test_files:
|