isomorfeus-mailer 2.0.0.rc1 → 2.0.0.rc2

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: 29ff3b31fb733470744e91e76dd1815927d7aecb513a64cdac961d1ed1e11dec
4
+ data.tar.gz: 478b4f2a7fd1d719359ae2d91f6799ab728223c861fb56bf8a5cb84c57d2868b
5
5
  SHA512:
6
- metadata.gz: 5563e358861dc2bd0d5f03a15721ca9b076df9c8b4007170b965fb738b07919809690c87eb409c049e6305540d5ef0750f2ab5ffeb0604f13be24a552f4a0ef7
7
- data.tar.gz: 3897d20ba5613439775ded97c19afdb94ae8b0e454bcc1d1bdc96ea9edf64de2f82909d5558b494a7330f962696ded5c89d15d8c962df8278793bc53dd61aeef
6
+ metadata.gz: 8e5f1f689be467761a8894752db3d2ec3f1d8244d3595415e0a65a6c69b52c54418625ff3d51beb8a2a02485820e2d38c5a89313ccfe612779e545f0992c1d5d
7
+ data.tar.gz: 3276940f7bcb00db121e131f63130c90dce243662b189901c9580b3177c421fc1d39848ead42818d31a7654611b88ab0446c3781ea214f1af2942fc4b8ec5ba9
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.rc2'
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.rc2
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-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.13.2
103
+ version: 0.13.3
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.13.3
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: isomorfeus-preact
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -128,42 +128,42 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 4.1.8
131
+ version: 4.1.9
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.9
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.rc2
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.rc2
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.rc2
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.rc2
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rake
169
169
  requirement: !ruby/object:Gem::Requirement