hanami-mailer 1.0.0.beta2 → 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/hanami-mailer.gemspec +3 -3
- data/lib/hanami/mailer.rb +3 -2
- data/lib/hanami/mailer/version.rb +1 -1
- metadata +5 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 677dd1c82f41994160a22fbe4694bdefbf8837c6
|
4
|
+
data.tar.gz: 491df680a83830f9fe1ae92ae28dbb740b85375f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 123ab8662d43b73f8e3b77d27deab025d9e884b7655ebbd7301b7cce6ee9a88968fe9fd30629085e3317383858219d758f914478aa6bc7330439e1b96495ed7b
|
7
|
+
data.tar.gz: 49e1404dde0130dcae86ea108c070f49f12261b7936177ebaa2f7b4c47ec29ab82439bbe10a03f074b8e677d4881fa067ed3865676c39d341660b91fb0ad22ca
|
data/CHANGELOG.md
CHANGED
data/hanami-mailer.gemspec
CHANGED
@@ -5,8 +5,8 @@ require 'hanami/mailer/version'
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'hanami-mailer'
|
7
7
|
spec.version = Hanami::Mailer::VERSION
|
8
|
-
spec.authors = ['Luca Guidi'
|
9
|
-
spec.email = ['me@lucaguidi.com'
|
8
|
+
spec.authors = ['Luca Guidi']
|
9
|
+
spec.email = ['me@lucaguidi.com']
|
10
10
|
|
11
11
|
spec.summary = 'Mail for Ruby applications.'
|
12
12
|
spec.description = 'Mail for Ruby applications and Hanami mailers'
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
spec.required_ruby_version = '>= 2.3.0'
|
21
21
|
|
22
|
-
spec.add_dependency 'hanami-utils', '~> 1.0.0.
|
22
|
+
spec.add_dependency 'hanami-utils', '~> 1.0.0.rc1'
|
23
23
|
spec.add_dependency 'tilt', '~> 2.0', '>= 2.0.1'
|
24
24
|
spec.add_dependency 'mail', '~> 2.5'
|
25
25
|
|
data/lib/hanami/mailer.rb
CHANGED
@@ -223,8 +223,9 @@ module Hanami
|
|
223
223
|
# @api private
|
224
224
|
def deliver
|
225
225
|
mail.deliver
|
226
|
-
rescue ArgumentError
|
227
|
-
raise MissingDeliveryDataError
|
226
|
+
rescue ArgumentError => e
|
227
|
+
raise MissingDeliveryDataError if e.message =~ /An SMTP (To|From) address/
|
228
|
+
raise
|
228
229
|
end
|
229
230
|
|
230
231
|
protected
|
metadata
CHANGED
@@ -1,16 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanami-mailer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
8
|
-
- Ines Coelho
|
9
|
-
- Rosa Faria
|
10
8
|
autorequire:
|
11
9
|
bindir: exe
|
12
10
|
cert_chain: []
|
13
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-31 00:00:00.000000000 Z
|
14
12
|
dependencies:
|
15
13
|
- !ruby/object:Gem::Dependency
|
16
14
|
name: hanami-utils
|
@@ -18,14 +16,14 @@ dependencies:
|
|
18
16
|
requirements:
|
19
17
|
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.0.0.
|
19
|
+
version: 1.0.0.rc1
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
23
|
requirements:
|
26
24
|
- - "~>"
|
27
25
|
- !ruby/object:Gem::Version
|
28
|
-
version: 1.0.0.
|
26
|
+
version: 1.0.0.rc1
|
29
27
|
- !ruby/object:Gem::Dependency
|
30
28
|
name: tilt
|
31
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -105,8 +103,6 @@ dependencies:
|
|
105
103
|
description: Mail for Ruby applications and Hanami mailers
|
106
104
|
email:
|
107
105
|
- me@lucaguidi.com
|
108
|
-
- ines.opcoelho@gmail.com
|
109
|
-
- rosa1853@live.com
|
110
106
|
executables: []
|
111
107
|
extensions: []
|
112
108
|
extra_rdoc_files: []
|
@@ -143,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
139
|
version: 1.3.1
|
144
140
|
requirements: []
|
145
141
|
rubyforge_project:
|
146
|
-
rubygems_version: 2.6.
|
142
|
+
rubygems_version: 2.6.11
|
147
143
|
signing_key:
|
148
144
|
specification_version: 4
|
149
145
|
summary: Mail for Ruby applications.
|