mailpy 0.1.2 → 0.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 +4 -4
- data/README.md +11 -1
- data/lib/mailpy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4abed45c631030cc0ce9c3dfbc1e411766c62c53ba16dbec1008204339009eff
|
4
|
+
data.tar.gz: 53f6daf94bbc49ec9bd2575ecbd8ed92e42e9f8312c30dda3aab2dbe6b813287
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bcd790724d95a2629436f415d3a8e24b45513a6a164db9c9f593c2392e1bd614a28722be6d1d1f2c260d5f463abf2a94c250c0e6ae6eb9b124a75dbe3b308c2
|
7
|
+
data.tar.gz: 452893b081f16ea81ff9c00c06ca3f2993f3d411ee3bb5058144bd63caf46d3437b43b36fce98cabb5f33e5ab444dcccd45bde1215754463f308b4e15b22225e
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# Mailpy
|
2
|
-
|
2
|
+
Action Mailer Adapter for Send Email Through HTTP APIs.
|
3
3
|
|
4
4
|
## Usage
|
5
5
|
How to use my plugin.
|
@@ -11,6 +11,16 @@ Add this line to your application's Gemfile:
|
|
11
11
|
gem 'mailpy'
|
12
12
|
```
|
13
13
|
|
14
|
+
Add configuration to your application environments. development.rb, staging.rb, or production.rb
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
config.action_mailer.delivery_method = :mailpy
|
18
|
+
config.action_mailer.mailpy_settings = {
|
19
|
+
endpoint: ENV['MAILER_API_ENDPOINT'],
|
20
|
+
token: ENV['MAILER_API_KEY_OR_AUTH_TOKEN']
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
14
24
|
And then execute:
|
15
25
|
```bash
|
16
26
|
$ bundle
|
data/lib/mailpy/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailpy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nasrul Gunawan
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
description:
|
41
|
+
description: Action Mailer Adapter for Send Email Through HTTP APIs.
|
42
42
|
email:
|
43
43
|
- nasrul.remaza@gmail.com
|
44
44
|
executables: []
|