isomorfeus-mailer 1.0.0.zeta15 → 1.0.0.zeta16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/isomorfeus/mailer/config.rb +3 -6
- data/lib/isomorfeus/mailer/version.rb +1 -1
- data/lib/lucid_mail.rb +0 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19dcfecd348c58dbd62d7098f5544fa611306a4b0bcac6921e62946eef02e8c1
|
4
|
+
data.tar.gz: 38d4b14a087396345a6b2c2218af9121051b0532f20d6c2b0a8f7355fef41492
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c70ff8167095e85c708de4cdc2fd400d5142baa6ea493ef2ad8ced81b10e1521dfe7d435afc9241a2393e4fc9b8756e3d6fa8d0e6d49b090e6d9d1510eb37f1a
|
7
|
+
data.tar.gz: 4038510b62a679cbeefd0332503cd1239cac79f4284ed1ef9a6a5566c250fcac4171058afeae8fd616009d997479739127adae30f540bf4c719d86103e052293
|
data/README.md
CHANGED
@@ -18,6 +18,7 @@ All configuration options of Mailhandler can be passed in the hash. For Mailhand
|
|
18
18
|
|
19
19
|
Within a isomorfeus project components for building emails are the app/mail_components directory.
|
20
20
|
When using LucidComponent or LucidMaterial::Component the main component passed to the mail must be either a LucidApp or LucidMaterial::App component.
|
21
|
+
Each mail template build of components can be considered a tiny App.
|
21
22
|
|
22
23
|
One class is provided to actually build and send the mail: LucidMail. This class is only available on the server.
|
23
24
|
|
@@ -1,10 +1,7 @@
|
|
1
1
|
module Isomorfeus
|
2
2
|
# available settings
|
3
3
|
class << self
|
4
|
-
if RUBY_ENGINE
|
5
|
-
# nothing
|
6
|
-
else
|
7
|
-
|
4
|
+
if RUBY_ENGINE != 'opal'
|
8
5
|
def email_sender_config
|
9
6
|
@email_sender_config ||= { type: :smtp }
|
10
7
|
end
|
@@ -16,8 +13,8 @@ module Isomorfeus
|
|
16
13
|
|
17
14
|
def email_sender
|
18
15
|
@email_sender ||= MailHandler.sender(Isomorfeus.email_sender_config[:type]) do |dispatcher|
|
19
|
-
Isomorfeus.email_sender_config.each do |key,value|
|
20
|
-
dispatcher.
|
16
|
+
Isomorfeus.email_sender_config.each do |key, value|
|
17
|
+
dispatcher.__send__("#{key}=".to_sym, value) unless key == :type
|
21
18
|
end
|
22
19
|
end
|
23
20
|
end
|
data/lib/lucid_mail.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isomorfeus-mailer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.zeta16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - '='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1.0.0.
|
131
|
+
version: 1.0.0.zeta16
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - '='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 1.0.0.
|
138
|
+
version: 1.0.0.zeta16
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: opal-webpack-loader
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|