isomorfeus-mailer 23.9.0.rc11 → 23.9.0.rc12

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
  SHA256:
3
- metadata.gz: 61de40b1f15c709672cce9c8068d155022b71b211d61e2429baaae6b32e38166
4
- data.tar.gz: b22012881eed3125c058f6ad07717892728dd5f1504fa7630da53a9c902632cf
3
+ metadata.gz: 1bddbad61a4e955303755eb3ef65a08b1c1ec4ae415149ff2faf88ff2d129a8e
4
+ data.tar.gz: a80bb29b8333cc5c2e5cbd12881c070775073a2ac8a4cf7569201b269fa7f839
5
5
  SHA512:
6
- metadata.gz: a35fc3ac28659e8cb6efd40d6e7fcc1352f04adef801e4301cd6642640d5f92c2aae09b3ddb298fd0925184b11049145aefb7c09a25cdd3115c61acb55af6719
7
- data.tar.gz: 5777766cbfbab11027378799ae33e39edcd3fcd533606252e7fd2faeabd46bd7ac0205c4b2c2f6c088bc21e8adab7b74cba7d18e4655ed33358c54f5811b99e4
6
+ metadata.gz: ec2c740acfcc4495823b8633ae9dc1c61ddd4cbe783de0be6eac6d90f71496e08117c059e1bb2cd0e437fbe119409e15503de74e89d7e5b6fa75b8fdef398dcc
7
+ data.tar.gz: b780c7ce95c01262f36f1826b976d7ac7642e8c887bb1be4bc61ac578eee98131bdfe851f1cb429cf8d5289540c041b5d3e9134486c6d5869bdedeaf3898b912
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  module Mailer
3
- VERSION = '23.9.0.rc11'
3
+ VERSION = '23.9.0.rc12'
4
4
  end
5
5
  end
data/lib/lucid_mail.rb CHANGED
@@ -42,7 +42,8 @@ class LucidMail
42
42
 
43
43
  def build
44
44
  render_component unless @rendered_component
45
- text_body = Html2Text.convert(@rendered_component)
45
+ text_body = Html2Text.convert(@rendered_component) # keep, because blocks below change scope
46
+ html_body = @rendered_component # keep, because blocks below change scope
46
47
  @mail = Mail.new
47
48
  @mail.to(props[:to])
48
49
  @mail.from(props[:from])
@@ -55,7 +56,7 @@ class LucidMail
55
56
  @mail.html_part do
56
57
  content_transfer_encoding 'binary'
57
58
  content_type 'text/html; charset=UTF-8'
58
- body @rendered_component
59
+ body html_body
59
60
  end
60
61
  self
61
62
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 23.9.0.rc11
4
+ version: 23.9.0.rc12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
@@ -120,56 +120,56 @@ dependencies:
120
120
  requirements:
121
121
  - - '='
122
122
  - !ruby/object:Gem::Version
123
- version: 23.9.0.rc11
123
+ version: 23.9.0.rc12
124
124
  type: :runtime
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - '='
129
129
  - !ruby/object:Gem::Version
130
- version: 23.9.0.rc11
130
+ version: 23.9.0.rc12
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: isomorfeus-redux
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - '='
136
136
  - !ruby/object:Gem::Version
137
- version: 23.9.0.rc11
137
+ version: 23.9.0.rc12
138
138
  type: :runtime
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - '='
143
143
  - !ruby/object:Gem::Version
144
- version: 23.9.0.rc11
144
+ version: 23.9.0.rc12
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: isomorfeus-transport
147
147
  requirement: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - '='
150
150
  - !ruby/object:Gem::Version
151
- version: 23.9.0.rc11
151
+ version: 23.9.0.rc12
152
152
  type: :runtime
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - '='
157
157
  - !ruby/object:Gem::Version
158
- version: 23.9.0.rc11
158
+ version: 23.9.0.rc12
159
159
  - !ruby/object:Gem::Dependency
160
160
  name: isomorfeus
161
161
  requirement: !ruby/object:Gem::Requirement
162
162
  requirements:
163
163
  - - '='
164
164
  - !ruby/object:Gem::Version
165
- version: 23.9.0.rc11
165
+ version: 23.9.0.rc12
166
166
  type: :development
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
169
169
  requirements:
170
170
  - - '='
171
171
  - !ruby/object:Gem::Version
172
- version: 23.9.0.rc11
172
+ version: 23.9.0.rc12
173
173
  - !ruby/object:Gem::Dependency
174
174
  name: rake
175
175
  requirement: !ruby/object:Gem::Requirement