isomorfeus-mailer 2.0.0.rc1 → 2.0.0.rc5

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: 21128a581504bec7af191bcb4dc64562e02f028520d7a203185936360d652cc3
4
- data.tar.gz: 6a1e4817acc4de5d48ee5e229e4d0ae69f8681b2f3e2e00290085d88b01fa76c
3
+ metadata.gz: acdfb3ac29ae4a9911dbe81277dfa854d5583a0ea34e18f30d6be89bfd112883
4
+ data.tar.gz: 454b85eee1fe78eb68192670c359a30bd991618121d297ce332a76c6a16dbf8f
5
5
  SHA512:
6
- metadata.gz: 5563e358861dc2bd0d5f03a15721ca9b076df9c8b4007170b965fb738b07919809690c87eb409c049e6305540d5ef0750f2ab5ffeb0604f13be24a552f4a0ef7
7
- data.tar.gz: 3897d20ba5613439775ded97c19afdb94ae8b0e454bcc1d1bdc96ea9edf64de2f82909d5558b494a7330f962696ded5c89d15d8c962df8278793bc53dd61aeef
6
+ metadata.gz: '06970e3cf619d462cf7ba1a561f0d95154f045486d91638c6a85ebd5597e7a9e9d5fad6b477120e443d84fdecc8c68eb5e3b434313d186ee4b433f8205f94d49'
7
+ data.tar.gz: 6b93557d0b8e1b8ab1e9692da4efa723c7785a18bfe4de201198b9468838c5637e55c43f1f6cfef146740e71ead0aa107d83b0e99a16ca388737c40813abae8b
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Build mails with components and send them with [Mailhandler](https://github.com/wildbit/mailhandler#email-sending).
4
4
 
5
5
  ### Community and Support
6
- At the [Isomorfeus Framework Project](http://isomorfeus.com)
6
+ At the [Isomorfeus Framework Project](http://isomorfeus.com)
7
7
 
8
8
  ### Configuration
9
9
 
@@ -28,8 +28,8 @@ Inline styles work in Mail Components too.
28
28
  Example component:
29
29
  ```ruby
30
30
  class EmailComponent < LucidApp::Base
31
- # the toplevel component must be a App component
32
- # then oder LucidComponent's can be used in the render block
31
+ # the top level component must be a App component
32
+ # then other LucidComponent's can be used in the render block
33
33
 
34
34
  prop :name
35
35
 
@@ -41,11 +41,11 @@ end
41
41
 
42
42
  #### Sending Mail
43
43
 
44
- One class is provided to actually build and send the mail: LucidMail. This class is only available on the server.
44
+ One class is provided to actually build and send the mail: LucidMail. This class is only available on the server to prevent abuse.
45
45
 
46
- Sending mail with the rendered component:
46
+ Sending mail with the rendered component from the server:
47
47
  ```ruby
48
- mail = LucidMail.new(component: 'EmailComponent',
48
+ mail = LucidMail.new(component: 'EmailComponent',
49
49
  props: { name: 'Siegfried' }, # are passed to the component
50
50
  from: 'me@test.com',
51
51
  to: 'you@test.com',
@@ -62,7 +62,7 @@ html = mail.rendered_component
62
62
 
63
63
  #### Accessing the mail before sending
64
64
 
65
- It is possible to access the actual mail object after building it for further inspection or modification:
65
+ It is possible to access the actual mail object after building it for further inspection or modification:
66
66
  ```ruby
67
67
  mail.build
68
68
  mail_object = mail.mail
@@ -70,11 +70,11 @@ mail_object = mail.mail
70
70
  For documentation about the Mail Object see the [Mail Documentation](https://github.com/mikel/mail).
71
71
 
72
72
  #### Triggering mail from a client
73
- LucidMail is available only on the server. It can be wrapped in a operation to allow triggering the sending of mail from a client. Example:
73
+ LucidMail is available only on the server to prevent abuse. It can be wrapped in a operation to allow triggering the sending of mail from a client. Example:
74
74
  ```ruby
75
75
  class MailOp < LucidQuickOp::Base
76
76
  op do
77
- LucidMail.new(component: 'EmailComponent',
77
+ LucidMail.new(component: 'EmailComponent',
78
78
  from: 'me@test.com',
79
79
  to: current_user.email,
80
80
  subject: 'Welcome')
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  module Mailer
3
- VERSION = '2.0.0.rc1'
3
+ VERSION = '2.0.0.rc5'
4
4
  end
5
5
  end
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: 2.0.0.rc1
4
+ version: 2.0.0.rc5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-05 00:00:00.000000000 Z
11
+ date: 2021-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.3.0
75
+ version: 1.3.2
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.3.0
82
+ version: 1.3.2
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: opal-activesupport
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -100,70 +100,70 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.13.2
103
+ version: 0.14.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.13.2
110
+ version: 0.14.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: isomorfeus-preact
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 10.5.11
117
+ version: 10.6.1
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 10.5.11
124
+ version: 10.6.1
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: isomorfeus-redux
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 4.1.8
131
+ version: 4.1.10
132
132
  type: :runtime
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: 4.1.8
138
+ version: 4.1.10
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: isomorfeus-transport
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: 2.0.0.rc1
145
+ version: 2.0.0.rc5
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - '='
151
151
  - !ruby/object:Gem::Version
152
- version: 2.0.0.rc1
152
+ version: 2.0.0.rc5
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: isomorfeus
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - '='
158
158
  - !ruby/object:Gem::Version
159
- version: 2.0.0.rc1
159
+ version: 2.0.0.rc5
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - '='
165
165
  - !ruby/object:Gem::Version
166
- version: 2.0.0.rc1
166
+ version: 2.0.0.rc5
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rake
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 3.8.0
187
+ version: 3.10.0
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 3.8.0
194
+ version: 3.10.0
195
195
  description: Write mail template components and send mail.
196
196
  email: jan@kursator.de
197
197
  executables: []