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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f828e2e744053c61b19601027eaef1dc6ba17b1
4
- data.tar.gz: 71dec340af40308c4127c43edeb0535f49d3168c
3
+ metadata.gz: 677dd1c82f41994160a22fbe4694bdefbf8837c6
4
+ data.tar.gz: 491df680a83830f9fe1ae92ae28dbb740b85375f
5
5
  SHA512:
6
- metadata.gz: ffed1c34bb7110b0278e0f87ad665d326ccf687a0282b8e67bfbb4675875c70859054d78b8cd5829057e0ce06982b6aaf700b0d7375eb58148dfba94595662cc
7
- data.tar.gz: f33791f13fadec3df25d44def5553f32ed73b89ba441d95e9649b8d9dca70f2b6a6ea63ab9b953d1bd491126a3f9be28f4787cdeb2fde8e273de3f3c0f18f235
6
+ metadata.gz: 123ab8662d43b73f8e3b77d27deab025d9e884b7655ebbd7301b7cce6ee9a88968fe9fd30629085e3317383858219d758f914478aa6bc7330439e1b96495ed7b
7
+ data.tar.gz: 49e1404dde0130dcae86ea108c070f49f12261b7936177ebaa2f7b4c47ec29ab82439bbe10a03f074b8e677d4881fa067ed3865676c39d341660b91fb0ad22ca
@@ -1,6 +1,10 @@
1
1
  # Hanami::Mailer
2
2
  Mail for Ruby applications
3
3
 
4
+ ## v1.0.0.rc1 - 2017-03-31
5
+ ### Fixed
6
+ - [Luca Guidi] Let `Hanami::Mailer.deliver` to bubble up `ArgumentError` exceptions
7
+
4
8
  ## v1.0.0.beta2 - 2017-03-17
5
9
 
6
10
  ## v1.0.0.beta1 - 2017-02-14
@@ -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', 'Ines Coelho', 'Rosa Faria']
9
- spec.email = ['me@lucaguidi.com', 'ines.opcoelho@gmail.com', 'rosa1853@live.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.beta1'
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
 
@@ -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
@@ -1,6 +1,6 @@
1
1
  module Hanami
2
2
  module Mailer
3
3
  # @since 0.1.0
4
- VERSION = '1.0.0.beta2'.freeze
4
+ VERSION = '1.0.0.rc1'.freeze
5
5
  end
6
6
  end
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.beta2
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-17 00:00:00.000000000 Z
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.beta1
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.beta1
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.8
142
+ rubygems_version: 2.6.11
147
143
  signing_key:
148
144
  specification_version: 4
149
145
  summary: Mail for Ruby applications.