mailpy 0.1.9 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 884c6b9c6c589b1051aafc31e6fb4c5542087546bbb96bc809a4474d3c20df5f
4
- data.tar.gz: c45b331ac3d2da02e548289e6b76b8b095083f9036b8e0fbb9ca492045a8967a
3
+ metadata.gz: ba6e5cb49ef2945eb15ec71e4c82fc3a00b04fa611551de15222a693e192de7a
4
+ data.tar.gz: 996c89f4dc9fe937f64b8a764071840230f55972d0e7a1f43328fb2c09f1e541
5
5
  SHA512:
6
- metadata.gz: 100bcc0abe335079c3d68f750d5daa784f23a0273a11693179367e10bb58de1740056cb73bae89ad3100ce0feac0d24b445455c4ac7f70366a98056730bdfecd
7
- data.tar.gz: 255bd5ef159e9a25946efc6796b67465a8d1043aac98c94eb9d917e5a1d8612f7e72c656be75841ecce9046de3950c7af009d985d610e833c664a21307481f67
6
+ metadata.gz: cca3471d496cb3141b2ab8663ca1fecb750290657d3b8fbb3e438538d038c72839b98333039637754d3030b47b74ff2c9b3078855dd46f77fa7f253b15b4e41f
7
+ data.tar.gz: b48d73b9750ec27f9e67c0b095da3af32a322c9a6dee387a2b375936d550f9bab81f687b7805b46e855385aa9930735412f2607c493ec508e238acaf6615a4e2
@@ -1,3 +1,3 @@
1
1
  module Mailpy
2
- VERSION = '0.1.9'
2
+ VERSION = '0.2.0'
3
3
  end
data/lib/mailpy.rb CHANGED
@@ -22,7 +22,7 @@ module Mailpy
22
22
  result = MailerApi.new(mail, settings).send
23
23
  raise(MailpyDeliveryError, JSON.parse(result.body)['message']) unless result.code === 200
24
24
  result
25
- rescue Errno::ECONNREFUSED
25
+ rescue Errno::ECONNREFUSED, Mailpy::DeliveryMethod::MailpyDeliveryError
26
26
  smtp_settings = Rails.application.config.action_mailer.smtp_settings
27
27
  raise(MailpyDeliveryError, "SMTP miss configured. Please add SMTP configuration in your environment config") if smtp_settings.blank?
28
28
  result = SMTPApi.new(mail, smtp_settings).send
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailpy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nasrul Gunawan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-09 00:00:00.000000000 Z
11
+ date: 2024-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- description: Action Mailer Adapter for sending email through HTTP APIs.
41
+ description: Action Mailer Adapter for Send Email Through HTTP APIs.
42
42
  email:
43
43
  - nasrul.remaza@gmail.com
44
44
  executables: []
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0'
74
74
  requirements: []
75
- rubygems_version: 3.0.3
75
+ rubygems_version: 3.3.23
76
76
  signing_key:
77
77
  specification_version: 4
78
78
  summary: Summary of Mailpy.