groundmail 0.8.4 → 0.8.5
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/README.md +6 -1
- data/groundmail.gemspec +3 -2
- data/lib/groundmail/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c215aceb45e2efe0e25e1539e771723be8ce4e1197cc0265d64986596dedbf97
|
|
4
|
+
data.tar.gz: dd592e7b2e60812ed6ed882340dfa976db8d4defb7972cff0a76597ed6c690c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ffe39e331d4b8626f5121b208bd17b03f8fad6f3ee7a10dd58617749eaff76315b305d0b1c932c6b69d16e2cacc5cdd5d1dcc70e910104e8997e8d0a36cb5661
|
|
7
|
+
data.tar.gz: f8f0c61386f58986f1acfefb42e615281ec47fa53a578b5cda0f7b44bbcb9113e79706a6105efd9a57c4659b97ca5534e0772b0665f0546d6a75f90eb5307eb0
|
data/README.md
CHANGED
|
@@ -21,13 +21,18 @@ result = tx.emails.send(
|
|
|
21
21
|
puts result["id"], result["status"]
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
## Rails
|
|
24
|
+
## Rails Action Mailer
|
|
25
|
+
|
|
26
|
+
The gem registers a `:groundmail` delivery method when Rails is loaded:
|
|
25
27
|
|
|
26
28
|
```ruby
|
|
29
|
+
# config/environments/production.rb
|
|
27
30
|
config.action_mailer.delivery_method = :groundmail
|
|
28
31
|
config.action_mailer.groundmail_settings = {
|
|
29
32
|
api_key: ENV.fetch("GROUNDMAIL_API_KEY")
|
|
30
33
|
}
|
|
31
34
|
```
|
|
32
35
|
|
|
36
|
+
Your mailers and `deliver_later` calls stay the same. Rails guide: https://docs.groundmail.dev/frameworks/rails
|
|
37
|
+
|
|
33
38
|
Docs: https://docs.groundmail.dev/sdks/ruby
|
data/groundmail.gemspec
CHANGED
|
@@ -8,8 +8,9 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.authors = ["Groundmail"]
|
|
9
9
|
spec.email = ["support@groundmail.dev"]
|
|
10
10
|
|
|
11
|
-
spec.summary = "Groundmail transactional email
|
|
12
|
-
spec.description = "Official Ruby client for the Groundmail
|
|
11
|
+
spec.summary = "Groundmail transactional email for Ruby and Rails (Action Mailer delivery method included)"
|
|
12
|
+
spec.description = "Official Ruby client for the Groundmail transactional email API, with a Rails Action Mailer " \
|
|
13
|
+
"delivery method: set config.action_mailer.delivery_method = :groundmail."
|
|
13
14
|
spec.homepage = "https://groundmail.dev"
|
|
14
15
|
spec.license = "MIT"
|
|
15
16
|
spec.required_ruby_version = ">= 3.1.0"
|
data/lib/groundmail/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: groundmail
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Groundmail
|
|
@@ -52,7 +52,9 @@ dependencies:
|
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '5.25'
|
|
55
|
-
description: Official Ruby client for the Groundmail
|
|
55
|
+
description: 'Official Ruby client for the Groundmail transactional email API, with
|
|
56
|
+
a Rails Action Mailer delivery method: set config.action_mailer.delivery_method
|
|
57
|
+
= :groundmail.'
|
|
56
58
|
email:
|
|
57
59
|
- support@groundmail.dev
|
|
58
60
|
executables: []
|
|
@@ -98,5 +100,6 @@ requirements: []
|
|
|
98
100
|
rubygems_version: 3.5.22
|
|
99
101
|
signing_key:
|
|
100
102
|
specification_version: 4
|
|
101
|
-
summary: Groundmail transactional email
|
|
103
|
+
summary: Groundmail transactional email for Ruby and Rails (Action Mailer delivery
|
|
104
|
+
method included)
|
|
102
105
|
test_files: []
|