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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -1
  3. data/lib/mailpy/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b255678f953bd249a58a64993bce153b0a44e6052fc66f69b9fe8eb443dbdfc9
4
- data.tar.gz: cbc257a407c283efe7c4fb194ea20e1765b4a3a883b0f9e2a5f9a90269581e23
3
+ metadata.gz: 4abed45c631030cc0ce9c3dfbc1e411766c62c53ba16dbec1008204339009eff
4
+ data.tar.gz: 53f6daf94bbc49ec9bd2575ecbd8ed92e42e9f8312c30dda3aab2dbe6b813287
5
5
  SHA512:
6
- metadata.gz: 4b91847f34fc2c9e12204c96c4229e8d4742cea7bd491f7525acbd8e7c2722baad32cbc715dccc3c12b6aaee1e3b8bd9c0b9db6ba3c1c5eb0cea51cfd1f3b01f
7
- data.tar.gz: 75ab4dd001cc488b7c6e5888f870d6a017f8d7e71b4f27b432764937038a4d087ea4bdffb8555e2a83fe1be823b9d49b3cd0712b66bedd2b03741dca4f82246f
6
+ metadata.gz: 1bcd790724d95a2629436f415d3a8e24b45513a6a164db9c9f593c2392e1bd614a28722be6d1d1f2c260d5f463abf2a94c250c0e6ae6eb9b124a75dbe3b308c2
7
+ data.tar.gz: 452893b081f16ea81ff9c00c06ca3f2993f3d411ee3bb5058144bd63caf46d3437b43b36fce98cabb5f33e5ab444dcccd45bde1215754463f308b4e15b22225e
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Mailpy
2
- Short description and motivation.
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
@@ -1,3 +1,3 @@
1
1
  module Mailpy
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
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.2
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: Description of Mailpy.
41
+ description: Action Mailer Adapter for Send Email Through HTTP APIs.
42
42
  email:
43
43
  - nasrul.remaza@gmail.com
44
44
  executables: []