ohmysmtp-rails 0.1.4 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07e19ef5d89ef5ec07f9893441bc2256c4a1122144b0e69f142a983ec6195b1a
4
- data.tar.gz: 52a7d5c448d85576bc5a52210594724d1ebbe630ec3ad21ebef6198147f23f05
3
+ metadata.gz: cb55e14160a857b8a6fc2355551c8ad9121f1cd715afb741baa062793b1560b8
4
+ data.tar.gz: 32251e93c2b3c08f3d59f185e427df7d84bea295be08a90c90a57854111dc976
5
5
  SHA512:
6
- metadata.gz: 493ce4214f2d21f117f08dc7327cacaaa8832c0ce864cfd2ad1bea1c23cbb11eada0941c69c3a99129a85b7edbfefd5f6f65e92cc475a1dc858e08d48728feea
7
- data.tar.gz: 7a8ff100eb661c50efaf2010c4299ad8b646bfa0f40429219e8116538cdb5b4e8a47108c7543bd7d196bd957112c67a49efdc66356e102a95eaf24a65b08b550
6
+ metadata.gz: f0b424316ae395667c4c833f38944f955eb508104facf16f601a973f00b8603149592fa3b6cf9ae210ab2e0047df5ff7dcc59130415523a39cf02ec19c0d2dcf
7
+ data.tar.gz: 17bcb1101f56de25245fcc319b693e7c8629a598a89dbeb971bebc28a00def77f86d100d8ef2e822cf57fc97b50b5aba1d5f9471e808660e5ceb3ae345d3d101
data/README.md CHANGED
@@ -87,6 +87,10 @@ For support please check the [OhMySMTP Documentation](https://docs.ohmysmtp.com)
87
87
 
88
88
  ## Contributing
89
89
 
90
+ Please ensure to add a test for any change you make. To run the tests:
91
+
92
+ `bin/test`
93
+
90
94
  Pull requests always welcome
91
95
 
92
96
  ## License
@@ -20,7 +20,7 @@ module OhMySMTP
20
20
  result = HTTParty.post(
21
21
  'https://app.ohmysmtp.com/api/v1/send',
22
22
  body: {
23
- from: mail.from.join(','),
23
+ from: mail.from_address.to_s,
24
24
  to: mail.to.join(','),
25
25
  subject: mail.subject,
26
26
  htmlbody: mail.html_part ? mail.html_part.body.decoded : mail.body.to_s,
@@ -1,5 +1,5 @@
1
1
  module OhMySMTP
2
2
  module Rails
3
- VERSION = '0.1.4'
3
+ VERSION = '0.1.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ohmysmtp-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - OhMySMTP
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-18 00:00:00.000000000 Z
11
+ date: 2021-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails