hanami-mailer 1.0.0.beta1 → 1.0.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/LICENSE.md +1 -1
- data/README.md +1 -1
- data/lib/hanami/mailer.rb +9 -6
- data/lib/hanami/mailer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f828e2e744053c61b19601027eaef1dc6ba17b1
|
4
|
+
data.tar.gz: 71dec340af40308c4127c43edeb0535f49d3168c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffed1c34bb7110b0278e0f87ad665d326ccf687a0282b8e67bfbb4675875c70859054d78b8cd5829057e0ce06982b6aaf700b0d7375eb58148dfba94595662cc
|
7
|
+
data.tar.gz: f33791f13fadec3df25d44def5553f32ed73b89ba441d95e9649b8d9dca70f2b6a6ea63ab9b953d1bd491126a3f9be28f4787cdeb2fde8e273de3f3c0f18f235
|
data/CHANGELOG.md
CHANGED
data/LICENSE.md
CHANGED
data/README.md
CHANGED
@@ -414,6 +414,6 @@ __Hanami::Mailer__ uses [Semantic Versioning 2.0.0](http://semver.org)
|
|
414
414
|
|
415
415
|
## Copyright
|
416
416
|
|
417
|
-
Copyright © 2015-
|
417
|
+
Copyright © 2015-2017 Luca Guidi – Released under MIT License
|
418
418
|
|
419
419
|
This project was formerly known as Lotus (`lotus-mailer`).
|
data/lib/hanami/mailer.rb
CHANGED
@@ -4,6 +4,9 @@ require 'hanami/mailer/configuration'
|
|
4
4
|
require 'hanami/mailer/dsl'
|
5
5
|
require 'mail'
|
6
6
|
|
7
|
+
# Hanami
|
8
|
+
#
|
9
|
+
# @since 0.1.0
|
7
10
|
module Hanami
|
8
11
|
# Hanami::Mailer
|
9
12
|
#
|
@@ -260,7 +263,7 @@ module Hanami
|
|
260
263
|
def prepare
|
261
264
|
end
|
262
265
|
|
263
|
-
# @private
|
266
|
+
# @api private
|
264
267
|
# @since 0.1.0
|
265
268
|
def method_missing(m)
|
266
269
|
@locals.fetch(m) { super }
|
@@ -269,7 +272,7 @@ module Hanami
|
|
269
272
|
# @since 0.1.0
|
270
273
|
attr_reader :mail
|
271
274
|
|
272
|
-
# @private
|
275
|
+
# @api private
|
273
276
|
# @since 0.1.0
|
274
277
|
attr_reader :charset
|
275
278
|
|
@@ -295,7 +298,7 @@ module Hanami
|
|
295
298
|
# rubocop:enable Metrics/MethodLength
|
296
299
|
# rubocop:enable Metrics/AbcSize
|
297
300
|
|
298
|
-
# @private
|
301
|
+
# @api private
|
299
302
|
# @since 0.1.0
|
300
303
|
def __dsl(method_name)
|
301
304
|
case result = self.class.__send__(method_name)
|
@@ -306,7 +309,7 @@ module Hanami
|
|
306
309
|
end
|
307
310
|
end
|
308
311
|
|
309
|
-
# @private
|
312
|
+
# @api private
|
310
313
|
# @since 0.1.0
|
311
314
|
def __part(format)
|
312
315
|
return unless __part?(format)
|
@@ -317,14 +320,14 @@ module Hanami
|
|
317
320
|
end
|
318
321
|
end
|
319
322
|
|
320
|
-
# @private
|
323
|
+
# @api private
|
321
324
|
# @since 0.1.0
|
322
325
|
def __part?(format)
|
323
326
|
@format == format ||
|
324
327
|
(!@format && !self.class.templates(format).nil?)
|
325
328
|
end
|
326
329
|
|
327
|
-
# @private
|
330
|
+
# @api private
|
328
331
|
# @since 0.4.0
|
329
332
|
def respond_to_missing?(m, _include_all)
|
330
333
|
@locals.key?(m)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-
|
13
|
+
date: 2017-03-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: hanami-utils
|