maildown 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/maildown/ext/action_mailer.rb +3 -2
- data/lib/maildown/markdown_engine.rb +2 -2
- data/lib/maildown/version.rb +1 -1
- data/test/dummy/log/test.log +572 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 551647f8314b830aef6c8c6fceb8a44ffb551ca5a6b26988739405ccf8b5f648
|
4
|
+
data.tar.gz: 8aa4e019a2786fb0b5b530d9210db5dff41f71088a1616e5c3b6d549423f0c29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 254ba6390e4d600619c086dd6d2b7292bd835e8275095721d9bd64fe00018b75e03e30cb87394bd92d2607e48b873d890f647712769be7bdbeb8c9a14700fb38
|
7
|
+
data.tar.gz: a7c27bc4183e100ac6059a99c2789996138b8b87d8287c4c87064bb9a2ce3a3270b652a71aaeca5e3f2f7c2b2ad278db8acde6b4703311a02366fb5316fe2feb
|
@@ -45,8 +45,9 @@ class ActionMailer::Base
|
|
45
45
|
return templates if templates.first.handler != Maildown::Handlers::Markdown
|
46
46
|
|
47
47
|
html_template = templates.first
|
48
|
-
|
49
|
-
|
48
|
+
if html_template.instance_variable_defined?(:"@maildown_text_template")
|
49
|
+
text_template = html_template.instance_variable_get(:"@maildown_text_template")
|
50
|
+
else
|
50
51
|
text_template = html_template.dup
|
51
52
|
formats = html_template.formats.dup.tap { |f| f.delete(:html) }
|
52
53
|
|
@@ -49,8 +49,6 @@ module Maildown
|
|
49
49
|
end
|
50
50
|
|
51
51
|
def self.default_html_block
|
52
|
-
require 'kramdown' unless defined? Kramdown
|
53
|
-
|
54
52
|
->(string) { Kramdown::Document.new(string).to_html }
|
55
53
|
end
|
56
54
|
|
@@ -59,3 +57,5 @@ module Maildown
|
|
59
57
|
end
|
60
58
|
end
|
61
59
|
end
|
60
|
+
|
61
|
+
Maildown::MarkdownEngine.autoload(:"Kramdown", "kramdown")
|
data/lib/maildown/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -27173,3 +27173,575 @@ MarkdownEngineTest: test_default_works_in_multiple_threads
|
|
27173
27173
|
----------------------------------------------------------------
|
27174
27174
|
MarkdownEngineTest: test_custom_engine_works_in_multiple_threads
|
27175
27175
|
----------------------------------------------------------------
|
27176
|
+
----------------------------------------------
|
27177
|
+
TemplateHandlerTest: test_.md_template_handler
|
27178
|
+
----------------------------------------------
|
27179
|
+
Started GET "/handlers/plain_markdown" for 127.0.0.1 at 2018-03-27 13:42:15 -0500
|
27180
|
+
Processing by HandlersController#show as HTML
|
27181
|
+
Parameters: {"id"=>"plain_markdown"}
|
27182
|
+
Rendering handlers/plain_markdown.html.md within layouts/application
|
27183
|
+
Rendered handlers/plain_markdown.html.md within layouts/application (51.1ms)
|
27184
|
+
Completed 200 OK in 60ms (Views: 60.2ms)
|
27185
|
+
---------------------------------------------------
|
27186
|
+
TemplateHandlerTest: test_dont_whitespace_templates
|
27187
|
+
---------------------------------------------------
|
27188
|
+
Rendering user_no_layout_mailer/leading_whitespace_again.md+erb
|
27189
|
+
Rendered user_no_layout_mailer/leading_whitespace_again.md+erb (2.9ms)
|
27190
|
+
Rendering user_no_layout_mailer/leading_whitespace_again.md+erb
|
27191
|
+
Rendered user_no_layout_mailer/leading_whitespace_again.md+erb (0.1ms)
|
27192
|
+
UserNoLayoutMailer#leading_whitespace_again: processed outbound mail in 161.4ms
|
27193
|
+
Sent mail to foo@example.com (9.2ms)
|
27194
|
+
Date: Tue, 27 Mar 2018 13:42:15 -0500
|
27195
|
+
From: from@example.com
|
27196
|
+
Reply-To: noreply@schneems.com
|
27197
|
+
To: foo@example.com
|
27198
|
+
Message-ID: <5aba9087ae3fa_74763fe06c43edc495021@rschneeman-ltm4.internal.salesforce.com.mail>
|
27199
|
+
Subject: hello world
|
27200
|
+
Mime-Version: 1.0
|
27201
|
+
Content-Type: multipart/alternative;
|
27202
|
+
boundary="--==_mimepart_5aba9087ac92a_74763fe06c43edc494951";
|
27203
|
+
charset=UTF-8
|
27204
|
+
Content-Transfer-Encoding: 7bit
|
27205
|
+
|
27206
|
+
|
27207
|
+
----==_mimepart_5aba9087ac92a_74763fe06c43edc494951
|
27208
|
+
Content-Type: text/plain;
|
27209
|
+
charset=UTF-8
|
27210
|
+
Content-Transfer-Encoding: 7bit
|
27211
|
+
|
27212
|
+
## Leading again
|
27213
|
+
|
27214
|
+
----==_mimepart_5aba9087ac92a_74763fe06c43edc494951
|
27215
|
+
Content-Type: text/html;
|
27216
|
+
charset=UTF-8
|
27217
|
+
Content-Transfer-Encoding: 7bit
|
27218
|
+
|
27219
|
+
<pre><code> ## Leading again
|
27220
|
+
</code></pre>
|
27221
|
+
|
27222
|
+
----==_mimepart_5aba9087ac92a_74763fe06c43edc494951--
|
27223
|
+
|
27224
|
+
----------------------------------------------------
|
27225
|
+
TemplateHandlerTest: test_strip_whitespace_templates
|
27226
|
+
----------------------------------------------------
|
27227
|
+
Rendering user_no_layout_mailer/leading_whitespace.md+erb
|
27228
|
+
Rendered user_no_layout_mailer/leading_whitespace.md+erb (0.7ms)
|
27229
|
+
Rendering user_no_layout_mailer/leading_whitespace.md+erb
|
27230
|
+
Rendered user_no_layout_mailer/leading_whitespace.md+erb (0.1ms)
|
27231
|
+
UserNoLayoutMailer#leading_whitespace: processed outbound mail in 25.3ms
|
27232
|
+
Sent mail to foo@example.com (1.7ms)
|
27233
|
+
Date: Tue, 27 Mar 2018 13:42:15 -0500
|
27234
|
+
From: from@example.com
|
27235
|
+
Reply-To: noreply@schneems.com
|
27236
|
+
To: foo@example.com
|
27237
|
+
Message-ID: <5aba9087b58c1_74763fe06c43edc495269@rschneeman-ltm4.internal.salesforce.com.mail>
|
27238
|
+
Subject: hello world
|
27239
|
+
Mime-Version: 1.0
|
27240
|
+
Content-Type: multipart/alternative;
|
27241
|
+
boundary="--==_mimepart_5aba9087b544d_74763fe06c43edc4951ba";
|
27242
|
+
charset=UTF-8
|
27243
|
+
Content-Transfer-Encoding: 7bit
|
27244
|
+
|
27245
|
+
|
27246
|
+
----==_mimepart_5aba9087b544d_74763fe06c43edc4951ba
|
27247
|
+
Content-Type: text/plain;
|
27248
|
+
charset=UTF-8
|
27249
|
+
Content-Transfer-Encoding: 7bit
|
27250
|
+
|
27251
|
+
## Leading
|
27252
|
+
|
27253
|
+
----==_mimepart_5aba9087b544d_74763fe06c43edc4951ba
|
27254
|
+
Content-Type: text/html;
|
27255
|
+
charset=UTF-8
|
27256
|
+
Content-Transfer-Encoding: 7bit
|
27257
|
+
|
27258
|
+
<h2 id="leading">Leading</h2>
|
27259
|
+
|
27260
|
+
----==_mimepart_5aba9087b544d_74763fe06c43edc4951ba--
|
27261
|
+
|
27262
|
+
----------------------------------------
|
27263
|
+
TemplateHandlerTest: test_dual_templates
|
27264
|
+
----------------------------------------
|
27265
|
+
Rendering user_no_layout_mailer/contact.md.erb
|
27266
|
+
Rendered user_no_layout_mailer/contact.md.erb (0.8ms)
|
27267
|
+
Rendering user_no_layout_mailer/contact.md.erb
|
27268
|
+
Rendered user_no_layout_mailer/contact.md.erb (0.1ms)
|
27269
|
+
UserNoLayoutMailer#contact: processed outbound mail in 26.6ms
|
27270
|
+
Sent mail to foo@example.com (2.2ms)
|
27271
|
+
Date: Tue, 27 Mar 2018 13:42:15 -0500
|
27272
|
+
From: from@example.com
|
27273
|
+
Reply-To: noreply@schneems.com
|
27274
|
+
To: foo@example.com
|
27275
|
+
Message-ID: <5aba9087bca2d_74763fe06c43edc4954d3@rschneeman-ltm4.internal.salesforce.com.mail>
|
27276
|
+
Subject: hello world
|
27277
|
+
Mime-Version: 1.0
|
27278
|
+
Content-Type: multipart/alternative;
|
27279
|
+
boundary="--==_mimepart_5aba9087bc51a_74763fe06c43edc49531a";
|
27280
|
+
charset=UTF-8
|
27281
|
+
Content-Transfer-Encoding: 7bit
|
27282
|
+
|
27283
|
+
|
27284
|
+
----==_mimepart_5aba9087bc51a_74763fe06c43edc49531a
|
27285
|
+
Content-Type: text/plain;
|
27286
|
+
charset=UTF-8
|
27287
|
+
Content-Transfer-Encoding: 7bit
|
27288
|
+
|
27289
|
+
Dual templates **rock**!
|
27290
|
+
|
27291
|
+
----==_mimepart_5aba9087bc51a_74763fe06c43edc49531a
|
27292
|
+
Content-Type: text/html;
|
27293
|
+
charset=UTF-8
|
27294
|
+
Content-Transfer-Encoding: 7bit
|
27295
|
+
|
27296
|
+
<p>Dual templates <strong>rock</strong>!</p>
|
27297
|
+
|
27298
|
+
----==_mimepart_5aba9087bc51a_74763fe06c43edc49531a--
|
27299
|
+
|
27300
|
+
-------------------------------------------------------------
|
27301
|
+
DoubleCompileTest: test_rendering_the_same_layout_twice_works
|
27302
|
+
-------------------------------------------------------------
|
27303
|
+
Rendering user_no_layout_mailer/welcome.md+erb
|
27304
|
+
Rendered user_no_layout_mailer/welcome.md+erb (0.7ms)
|
27305
|
+
Rendering user_no_layout_mailer/welcome.md+erb
|
27306
|
+
Rendered user_no_layout_mailer/welcome.md+erb (0.1ms)
|
27307
|
+
UserNoLayoutMailer#welcome: processed outbound mail in 26.5ms
|
27308
|
+
Sent mail to foo@example.com (2.2ms)
|
27309
|
+
Date: Tue, 27 Mar 2018 13:42:15 -0500
|
27310
|
+
From: from@example.com
|
27311
|
+
Reply-To: noreply@schneems.com
|
27312
|
+
To: foo@example.com
|
27313
|
+
Message-ID: <5aba9087c476e_74763fe06c43edc4956eb@rschneeman-ltm4.internal.salesforce.com.mail>
|
27314
|
+
Subject: hello world
|
27315
|
+
Mime-Version: 1.0
|
27316
|
+
Content-Type: multipart/alternative;
|
27317
|
+
boundary="--==_mimepart_5aba9087c4286_74763fe06c43edc4955d3";
|
27318
|
+
charset=UTF-8
|
27319
|
+
Content-Transfer-Encoding: 7bit
|
27320
|
+
|
27321
|
+
|
27322
|
+
----==_mimepart_5aba9087c4286_74763fe06c43edc4955d3
|
27323
|
+
Content-Type: text/plain;
|
27324
|
+
charset=UTF-8
|
27325
|
+
Content-Transfer-Encoding: 7bit
|
27326
|
+
|
27327
|
+
## Welcome!
|
27328
|
+
|
27329
|
+
----==_mimepart_5aba9087c4286_74763fe06c43edc4955d3
|
27330
|
+
Content-Type: text/html;
|
27331
|
+
charset=UTF-8
|
27332
|
+
Content-Transfer-Encoding: 7bit
|
27333
|
+
|
27334
|
+
<h2 id="welcome">Welcome!</h2>
|
27335
|
+
|
27336
|
+
----==_mimepart_5aba9087c4286_74763fe06c43edc4955d3--
|
27337
|
+
|
27338
|
+
Rendering user_no_layout_mailer/welcome.md+erb
|
27339
|
+
Rendered user_no_layout_mailer/welcome.md+erb (0.4ms)
|
27340
|
+
Rendering user_no_layout_mailer/welcome.md+erb
|
27341
|
+
Rendered user_no_layout_mailer/welcome.md+erb (0.0ms)
|
27342
|
+
UserNoLayoutMailer#welcome: processed outbound mail in 1.6ms
|
27343
|
+
Sent mail to foo@example.com (1.8ms)
|
27344
|
+
Date: Tue, 27 Mar 2018 13:42:15 -0500
|
27345
|
+
From: from@example.com
|
27346
|
+
Reply-To: noreply@schneems.com
|
27347
|
+
To: foo@example.com
|
27348
|
+
Message-ID: <5aba9087c57d5_74763fe06c43edc4958b2@rschneeman-ltm4.internal.salesforce.com.mail>
|
27349
|
+
Subject: hello world
|
27350
|
+
Mime-Version: 1.0
|
27351
|
+
Content-Type: multipart/alternative;
|
27352
|
+
boundary="--==_mimepart_5aba9087c5356_74763fe06c43edc4957c7";
|
27353
|
+
charset=UTF-8
|
27354
|
+
Content-Transfer-Encoding: 7bit
|
27355
|
+
|
27356
|
+
|
27357
|
+
----==_mimepart_5aba9087c5356_74763fe06c43edc4957c7
|
27358
|
+
Content-Type: text/plain;
|
27359
|
+
charset=UTF-8
|
27360
|
+
Content-Transfer-Encoding: 7bit
|
27361
|
+
|
27362
|
+
## Welcome!
|
27363
|
+
|
27364
|
+
----==_mimepart_5aba9087c5356_74763fe06c43edc4957c7
|
27365
|
+
Content-Type: text/html;
|
27366
|
+
charset=UTF-8
|
27367
|
+
Content-Transfer-Encoding: 7bit
|
27368
|
+
|
27369
|
+
<h2 id="welcome">Welcome!</h2>
|
27370
|
+
|
27371
|
+
----==_mimepart_5aba9087c5356_74763fe06c43edc4957c7--
|
27372
|
+
|
27373
|
+
---------------------------------------
|
27374
|
+
MarkdownEngineTest: test_can_set_engine
|
27375
|
+
---------------------------------------
|
27376
|
+
----------------------------------------------------------------
|
27377
|
+
MarkdownEngineTest: test_custom_engine_works_in_multiple_threads
|
27378
|
+
----------------------------------------------------------------
|
27379
|
+
----------------------------------------------------------
|
27380
|
+
MarkdownEngineTest: test_default_works_in_multiple_threads
|
27381
|
+
----------------------------------------------------------
|
27382
|
+
----------------------------------------------
|
27383
|
+
ExtActionMailerTest: test_monkeypatch_location
|
27384
|
+
----------------------------------------------
|
27385
|
+
---------------------------
|
27386
|
+
LayoutsTest: test_no_layout
|
27387
|
+
---------------------------
|
27388
|
+
Rendering user_no_layout_mailer/welcome.md+erb
|
27389
|
+
Rendered user_no_layout_mailer/welcome.md+erb (0.3ms)
|
27390
|
+
Rendering user_no_layout_mailer/welcome.md+erb
|
27391
|
+
Rendered user_no_layout_mailer/welcome.md+erb (0.0ms)
|
27392
|
+
UserNoLayoutMailer#welcome: processed outbound mail in 3.2ms
|
27393
|
+
Sent mail to foo@example.com (2.1ms)
|
27394
|
+
Date: Tue, 27 Mar 2018 13:42:15 -0500
|
27395
|
+
From: from@example.com
|
27396
|
+
Reply-To: noreply@schneems.com
|
27397
|
+
To: foo@example.com
|
27398
|
+
Message-ID: <5aba9087c7573_74763fe06c43edc49607b@rschneeman-ltm4.internal.salesforce.com.mail>
|
27399
|
+
Subject: hello world
|
27400
|
+
Mime-Version: 1.0
|
27401
|
+
Content-Type: multipart/alternative;
|
27402
|
+
boundary="--==_mimepart_5aba9087c7045_74763fe06c43edc4959a5";
|
27403
|
+
charset=UTF-8
|
27404
|
+
Content-Transfer-Encoding: 7bit
|
27405
|
+
|
27406
|
+
|
27407
|
+
----==_mimepart_5aba9087c7045_74763fe06c43edc4959a5
|
27408
|
+
Content-Type: text/plain;
|
27409
|
+
charset=UTF-8
|
27410
|
+
Content-Transfer-Encoding: 7bit
|
27411
|
+
|
27412
|
+
## Welcome!
|
27413
|
+
|
27414
|
+
----==_mimepart_5aba9087c7045_74763fe06c43edc4959a5
|
27415
|
+
Content-Type: text/html;
|
27416
|
+
charset=UTF-8
|
27417
|
+
Content-Transfer-Encoding: 7bit
|
27418
|
+
|
27419
|
+
<h2 id="welcome">Welcome!</h2>
|
27420
|
+
|
27421
|
+
----==_mimepart_5aba9087c7045_74763fe06c43edc4959a5--
|
27422
|
+
|
27423
|
+
-------------------------------------
|
27424
|
+
LayoutsTest: test_layout_renders_fine
|
27425
|
+
-------------------------------------
|
27426
|
+
Rendering user_with_layout_mailer/welcome.md+erb within layouts/mail_layout
|
27427
|
+
Rendered user_with_layout_mailer/welcome.md+erb within layouts/mail_layout (0.7ms)
|
27428
|
+
Rendering user_with_layout_mailer/welcome.md+erb within layouts/mail_layout
|
27429
|
+
Rendered user_with_layout_mailer/welcome.md+erb within layouts/mail_layout (0.2ms)
|
27430
|
+
UserWithLayoutMailer#welcome: processed outbound mail in 31.3ms
|
27431
|
+
Sent mail to foo@example.com (2.3ms)
|
27432
|
+
Date: Tue, 27 Mar 2018 13:42:15 -0500
|
27433
|
+
From: from@example.com
|
27434
|
+
Reply-To: noreply@schneems.com
|
27435
|
+
To: foo@example.com
|
27436
|
+
Message-ID: <5aba9087d063f_74763fe06c43edc49625a@rschneeman-ltm4.internal.salesforce.com.mail>
|
27437
|
+
Subject: hello world
|
27438
|
+
Mime-Version: 1.0
|
27439
|
+
Content-Type: multipart/alternative;
|
27440
|
+
boundary="--==_mimepart_5aba9087d008d_74763fe06c43edc496188";
|
27441
|
+
charset=UTF-8
|
27442
|
+
Content-Transfer-Encoding: 7bit
|
27443
|
+
|
27444
|
+
|
27445
|
+
----==_mimepart_5aba9087d008d_74763fe06c43edc496188
|
27446
|
+
Content-Type: text/plain;
|
27447
|
+
charset=UTF-8
|
27448
|
+
Content-Transfer-Encoding: 7bit
|
27449
|
+
|
27450
|
+
TEXT## Welcome!
|
27451
|
+
|
27452
|
+
|
27453
|
+
----==_mimepart_5aba9087d008d_74763fe06c43edc496188
|
27454
|
+
Content-Type: text/html;
|
27455
|
+
charset=UTF-8
|
27456
|
+
Content-Transfer-Encoding: 7bit
|
27457
|
+
|
27458
|
+
HTML<h2 id="welcome">Welcome!</h2>
|
27459
|
+
|
27460
|
+
----==_mimepart_5aba9087d008d_74763fe06c43edc496188--
|
27461
|
+
|
27462
|
+
-------------------------------------------------------------
|
27463
|
+
DoubleCompileTest: test_rendering_the_same_layout_twice_works
|
27464
|
+
-------------------------------------------------------------
|
27465
|
+
Rendering user_no_layout_mailer/welcome.md+erb
|
27466
|
+
Rendered user_no_layout_mailer/welcome.md+erb (46.0ms)
|
27467
|
+
Rendering user_no_layout_mailer/welcome.md+erb
|
27468
|
+
Rendered user_no_layout_mailer/welcome.md+erb (0.2ms)
|
27469
|
+
UserNoLayoutMailer#welcome: processed outbound mail in 76.8ms
|
27470
|
+
Sent mail to foo@example.com (10.1ms)
|
27471
|
+
Date: Tue, 27 Mar 2018 13:47:05 -0500
|
27472
|
+
From: from@example.com
|
27473
|
+
Reply-To: noreply@schneems.com
|
27474
|
+
To: foo@example.com
|
27475
|
+
Message-ID: <5aba91a9883e2_75ab3ffa04c24dd47792f@rschneeman-ltm4.internal.salesforce.com.mail>
|
27476
|
+
Subject: hello world
|
27477
|
+
Mime-Version: 1.0
|
27478
|
+
Content-Type: multipart/alternative;
|
27479
|
+
boundary="--==_mimepart_5aba91a9867cf_75ab3ffa04c24dd4778a6";
|
27480
|
+
charset=UTF-8
|
27481
|
+
Content-Transfer-Encoding: 7bit
|
27482
|
+
|
27483
|
+
|
27484
|
+
----==_mimepart_5aba91a9867cf_75ab3ffa04c24dd4778a6
|
27485
|
+
Content-Type: text/plain;
|
27486
|
+
charset=UTF-8
|
27487
|
+
Content-Transfer-Encoding: 7bit
|
27488
|
+
|
27489
|
+
## Welcome!
|
27490
|
+
|
27491
|
+
----==_mimepart_5aba91a9867cf_75ab3ffa04c24dd4778a6
|
27492
|
+
Content-Type: text/html;
|
27493
|
+
charset=UTF-8
|
27494
|
+
Content-Transfer-Encoding: 7bit
|
27495
|
+
|
27496
|
+
<h2 id="welcome">Welcome!</h2>
|
27497
|
+
|
27498
|
+
----==_mimepart_5aba91a9867cf_75ab3ffa04c24dd4778a6--
|
27499
|
+
|
27500
|
+
Rendering user_no_layout_mailer/welcome.md+erb
|
27501
|
+
Rendered user_no_layout_mailer/welcome.md+erb (0.5ms)
|
27502
|
+
Rendering user_no_layout_mailer/welcome.md+erb
|
27503
|
+
Rendered user_no_layout_mailer/welcome.md+erb (0.0ms)
|
27504
|
+
UserNoLayoutMailer#welcome: processed outbound mail in 4.3ms
|
27505
|
+
Sent mail to foo@example.com (2.3ms)
|
27506
|
+
Date: Tue, 27 Mar 2018 13:47:05 -0500
|
27507
|
+
From: from@example.com
|
27508
|
+
Reply-To: noreply@schneems.com
|
27509
|
+
To: foo@example.com
|
27510
|
+
Message-ID: <5aba91a98a816_75ab3ffa04c24dd478190@rschneeman-ltm4.internal.salesforce.com.mail>
|
27511
|
+
Subject: hello world
|
27512
|
+
Mime-Version: 1.0
|
27513
|
+
Content-Type: multipart/alternative;
|
27514
|
+
boundary="--==_mimepart_5aba91a9899fb_75ab3ffa04c24dd478082";
|
27515
|
+
charset=UTF-8
|
27516
|
+
Content-Transfer-Encoding: 7bit
|
27517
|
+
|
27518
|
+
|
27519
|
+
----==_mimepart_5aba91a9899fb_75ab3ffa04c24dd478082
|
27520
|
+
Content-Type: text/plain;
|
27521
|
+
charset=UTF-8
|
27522
|
+
Content-Transfer-Encoding: 7bit
|
27523
|
+
|
27524
|
+
## Welcome!
|
27525
|
+
|
27526
|
+
----==_mimepart_5aba91a9899fb_75ab3ffa04c24dd478082
|
27527
|
+
Content-Type: text/html;
|
27528
|
+
charset=UTF-8
|
27529
|
+
Content-Transfer-Encoding: 7bit
|
27530
|
+
|
27531
|
+
<h2 id="welcome">Welcome!</h2>
|
27532
|
+
|
27533
|
+
----==_mimepart_5aba91a9899fb_75ab3ffa04c24dd478082--
|
27534
|
+
|
27535
|
+
----------------------------------------------------------------
|
27536
|
+
MarkdownEngineTest: test_custom_engine_works_in_multiple_threads
|
27537
|
+
----------------------------------------------------------------
|
27538
|
+
---------------------------------------
|
27539
|
+
MarkdownEngineTest: test_can_set_engine
|
27540
|
+
---------------------------------------
|
27541
|
+
----------------------------------------------------------
|
27542
|
+
MarkdownEngineTest: test_default_works_in_multiple_threads
|
27543
|
+
----------------------------------------------------------
|
27544
|
+
---------------------------
|
27545
|
+
LayoutsTest: test_no_layout
|
27546
|
+
---------------------------
|
27547
|
+
Rendering user_no_layout_mailer/welcome.md+erb
|
27548
|
+
Rendered user_no_layout_mailer/welcome.md+erb (0.3ms)
|
27549
|
+
Rendering user_no_layout_mailer/welcome.md+erb
|
27550
|
+
Rendered user_no_layout_mailer/welcome.md+erb (0.0ms)
|
27551
|
+
UserNoLayoutMailer#welcome: processed outbound mail in 1.7ms
|
27552
|
+
Sent mail to foo@example.com (2.2ms)
|
27553
|
+
Date: Tue, 27 Mar 2018 13:47:05 -0500
|
27554
|
+
From: from@example.com
|
27555
|
+
Reply-To: noreply@schneems.com
|
27556
|
+
To: foo@example.com
|
27557
|
+
Message-ID: <5aba91a98c05f_75ab3ffa04c24dd4783dc@rschneeman-ltm4.internal.salesforce.com.mail>
|
27558
|
+
Subject: hello world
|
27559
|
+
Mime-Version: 1.0
|
27560
|
+
Content-Type: multipart/alternative;
|
27561
|
+
boundary="--==_mimepart_5aba91a98bb69_75ab3ffa04c24dd478267";
|
27562
|
+
charset=UTF-8
|
27563
|
+
Content-Transfer-Encoding: 7bit
|
27564
|
+
|
27565
|
+
|
27566
|
+
----==_mimepart_5aba91a98bb69_75ab3ffa04c24dd478267
|
27567
|
+
Content-Type: text/plain;
|
27568
|
+
charset=UTF-8
|
27569
|
+
Content-Transfer-Encoding: 7bit
|
27570
|
+
|
27571
|
+
## Welcome!
|
27572
|
+
|
27573
|
+
----==_mimepart_5aba91a98bb69_75ab3ffa04c24dd478267
|
27574
|
+
Content-Type: text/html;
|
27575
|
+
charset=UTF-8
|
27576
|
+
Content-Transfer-Encoding: 7bit
|
27577
|
+
|
27578
|
+
<h2 id="welcome">Welcome!</h2>
|
27579
|
+
|
27580
|
+
----==_mimepart_5aba91a98bb69_75ab3ffa04c24dd478267--
|
27581
|
+
|
27582
|
+
-------------------------------------
|
27583
|
+
LayoutsTest: test_layout_renders_fine
|
27584
|
+
-------------------------------------
|
27585
|
+
Rendering user_with_layout_mailer/welcome.md+erb within layouts/mail_layout
|
27586
|
+
Rendered user_with_layout_mailer/welcome.md+erb within layouts/mail_layout (0.9ms)
|
27587
|
+
Rendering user_with_layout_mailer/welcome.md+erb within layouts/mail_layout
|
27588
|
+
Rendered user_with_layout_mailer/welcome.md+erb within layouts/mail_layout (0.3ms)
|
27589
|
+
UserWithLayoutMailer#welcome: processed outbound mail in 31.3ms
|
27590
|
+
Sent mail to foo@example.com (2.3ms)
|
27591
|
+
Date: Tue, 27 Mar 2018 13:47:05 -0500
|
27592
|
+
From: from@example.com
|
27593
|
+
Reply-To: noreply@schneems.com
|
27594
|
+
To: foo@example.com
|
27595
|
+
Message-ID: <5aba91a994e94_75ab3ffa04c24dd478580@rschneeman-ltm4.internal.salesforce.com.mail>
|
27596
|
+
Subject: hello world
|
27597
|
+
Mime-Version: 1.0
|
27598
|
+
Content-Type: multipart/alternative;
|
27599
|
+
boundary="--==_mimepart_5aba91a99486e_75ab3ffa04c24dd4784f8";
|
27600
|
+
charset=UTF-8
|
27601
|
+
Content-Transfer-Encoding: 7bit
|
27602
|
+
|
27603
|
+
|
27604
|
+
----==_mimepart_5aba91a99486e_75ab3ffa04c24dd4784f8
|
27605
|
+
Content-Type: text/plain;
|
27606
|
+
charset=UTF-8
|
27607
|
+
Content-Transfer-Encoding: 7bit
|
27608
|
+
|
27609
|
+
TEXT## Welcome!
|
27610
|
+
|
27611
|
+
|
27612
|
+
----==_mimepart_5aba91a99486e_75ab3ffa04c24dd4784f8
|
27613
|
+
Content-Type: text/html;
|
27614
|
+
charset=UTF-8
|
27615
|
+
Content-Transfer-Encoding: 7bit
|
27616
|
+
|
27617
|
+
HTML<h2 id="welcome">Welcome!</h2>
|
27618
|
+
|
27619
|
+
----==_mimepart_5aba91a99486e_75ab3ffa04c24dd4784f8--
|
27620
|
+
|
27621
|
+
----------------------------------------------
|
27622
|
+
TemplateHandlerTest: test_.md_template_handler
|
27623
|
+
----------------------------------------------
|
27624
|
+
Started GET "/handlers/plain_markdown" for 127.0.0.1 at 2018-03-27 13:47:05 -0500
|
27625
|
+
Processing by HandlersController#show as HTML
|
27626
|
+
Parameters: {"id"=>"plain_markdown"}
|
27627
|
+
Rendering handlers/plain_markdown.html.md within layouts/application
|
27628
|
+
Rendered handlers/plain_markdown.html.md within layouts/application (0.6ms)
|
27629
|
+
Completed 200 OK in 8ms (Views: 7.8ms)
|
27630
|
+
---------------------------------------------------
|
27631
|
+
TemplateHandlerTest: test_dont_whitespace_templates
|
27632
|
+
---------------------------------------------------
|
27633
|
+
Rendering user_no_layout_mailer/leading_whitespace_again.md+erb
|
27634
|
+
Rendered user_no_layout_mailer/leading_whitespace_again.md+erb (2.3ms)
|
27635
|
+
Rendering user_no_layout_mailer/leading_whitespace_again.md+erb
|
27636
|
+
Rendered user_no_layout_mailer/leading_whitespace_again.md+erb (0.2ms)
|
27637
|
+
UserNoLayoutMailer#leading_whitespace_again: processed outbound mail in 29.5ms
|
27638
|
+
Sent mail to foo@example.com (2.1ms)
|
27639
|
+
Date: Tue, 27 Mar 2018 13:47:05 -0500
|
27640
|
+
From: from@example.com
|
27641
|
+
Reply-To: noreply@schneems.com
|
27642
|
+
To: foo@example.com
|
27643
|
+
Message-ID: <5aba91a9a838f_75ab3ffa04c24dd4787b3@rschneeman-ltm4.internal.salesforce.com.mail>
|
27644
|
+
Subject: hello world
|
27645
|
+
Mime-Version: 1.0
|
27646
|
+
Content-Type: multipart/alternative;
|
27647
|
+
boundary="--==_mimepart_5aba91a9a7dda_75ab3ffa04c24dd47868f";
|
27648
|
+
charset=UTF-8
|
27649
|
+
Content-Transfer-Encoding: 7bit
|
27650
|
+
|
27651
|
+
|
27652
|
+
----==_mimepart_5aba91a9a7dda_75ab3ffa04c24dd47868f
|
27653
|
+
Content-Type: text/plain;
|
27654
|
+
charset=UTF-8
|
27655
|
+
Content-Transfer-Encoding: 7bit
|
27656
|
+
|
27657
|
+
## Leading again
|
27658
|
+
|
27659
|
+
----==_mimepart_5aba91a9a7dda_75ab3ffa04c24dd47868f
|
27660
|
+
Content-Type: text/html;
|
27661
|
+
charset=UTF-8
|
27662
|
+
Content-Transfer-Encoding: 7bit
|
27663
|
+
|
27664
|
+
<pre><code> ## Leading again
|
27665
|
+
</code></pre>
|
27666
|
+
|
27667
|
+
----==_mimepart_5aba91a9a7dda_75ab3ffa04c24dd47868f--
|
27668
|
+
|
27669
|
+
----------------------------------------
|
27670
|
+
TemplateHandlerTest: test_dual_templates
|
27671
|
+
----------------------------------------
|
27672
|
+
Rendering user_no_layout_mailer/contact.md.erb
|
27673
|
+
Rendered user_no_layout_mailer/contact.md.erb (0.9ms)
|
27674
|
+
Rendering user_no_layout_mailer/contact.md.erb
|
27675
|
+
Rendered user_no_layout_mailer/contact.md.erb (0.2ms)
|
27676
|
+
UserNoLayoutMailer#contact: processed outbound mail in 26.1ms
|
27677
|
+
Sent mail to foo@example.com (2.1ms)
|
27678
|
+
Date: Tue, 27 Mar 2018 13:47:05 -0500
|
27679
|
+
From: from@example.com
|
27680
|
+
Reply-To: noreply@schneems.com
|
27681
|
+
To: foo@example.com
|
27682
|
+
Message-ID: <5aba91a9af542_75ab3ffa04c24dd4789b4@rschneeman-ltm4.internal.salesforce.com.mail>
|
27683
|
+
Subject: hello world
|
27684
|
+
Mime-Version: 1.0
|
27685
|
+
Content-Type: multipart/alternative;
|
27686
|
+
boundary="--==_mimepart_5aba91a9aef25_75ab3ffa04c24dd4788d2";
|
27687
|
+
charset=UTF-8
|
27688
|
+
Content-Transfer-Encoding: 7bit
|
27689
|
+
|
27690
|
+
|
27691
|
+
----==_mimepart_5aba91a9aef25_75ab3ffa04c24dd4788d2
|
27692
|
+
Content-Type: text/plain;
|
27693
|
+
charset=UTF-8
|
27694
|
+
Content-Transfer-Encoding: 7bit
|
27695
|
+
|
27696
|
+
Dual templates **rock**!
|
27697
|
+
|
27698
|
+
----==_mimepart_5aba91a9aef25_75ab3ffa04c24dd4788d2
|
27699
|
+
Content-Type: text/html;
|
27700
|
+
charset=UTF-8
|
27701
|
+
Content-Transfer-Encoding: 7bit
|
27702
|
+
|
27703
|
+
<p>Dual templates <strong>rock</strong>!</p>
|
27704
|
+
|
27705
|
+
----==_mimepart_5aba91a9aef25_75ab3ffa04c24dd4788d2--
|
27706
|
+
|
27707
|
+
----------------------------------------------------
|
27708
|
+
TemplateHandlerTest: test_strip_whitespace_templates
|
27709
|
+
----------------------------------------------------
|
27710
|
+
Rendering user_no_layout_mailer/leading_whitespace.md+erb
|
27711
|
+
Rendered user_no_layout_mailer/leading_whitespace.md+erb (0.9ms)
|
27712
|
+
Rendering user_no_layout_mailer/leading_whitespace.md+erb
|
27713
|
+
Rendered user_no_layout_mailer/leading_whitespace.md+erb (0.2ms)
|
27714
|
+
UserNoLayoutMailer#leading_whitespace: processed outbound mail in 28.0ms
|
27715
|
+
Sent mail to foo@example.com (2.8ms)
|
27716
|
+
Date: Tue, 27 Mar 2018 13:47:05 -0500
|
27717
|
+
From: from@example.com
|
27718
|
+
Reply-To: noreply@schneems.com
|
27719
|
+
To: foo@example.com
|
27720
|
+
Message-ID: <5aba91a9b6f7e_75ab3ffa04c24dd4791fd@rschneeman-ltm4.internal.salesforce.com.mail>
|
27721
|
+
Subject: hello world
|
27722
|
+
Mime-Version: 1.0
|
27723
|
+
Content-Type: multipart/alternative;
|
27724
|
+
boundary="--==_mimepart_5aba91a9b68ec_75ab3ffa04c24dd47908d";
|
27725
|
+
charset=UTF-8
|
27726
|
+
Content-Transfer-Encoding: 7bit
|
27727
|
+
|
27728
|
+
|
27729
|
+
----==_mimepart_5aba91a9b68ec_75ab3ffa04c24dd47908d
|
27730
|
+
Content-Type: text/plain;
|
27731
|
+
charset=UTF-8
|
27732
|
+
Content-Transfer-Encoding: 7bit
|
27733
|
+
|
27734
|
+
## Leading
|
27735
|
+
|
27736
|
+
----==_mimepart_5aba91a9b68ec_75ab3ffa04c24dd47908d
|
27737
|
+
Content-Type: text/html;
|
27738
|
+
charset=UTF-8
|
27739
|
+
Content-Transfer-Encoding: 7bit
|
27740
|
+
|
27741
|
+
<h2 id="leading">Leading</h2>
|
27742
|
+
|
27743
|
+
----==_mimepart_5aba91a9b68ec_75ab3ffa04c24dd47908d--
|
27744
|
+
|
27745
|
+
----------------------------------------------
|
27746
|
+
ExtActionMailerTest: test_monkeypatch_location
|
27747
|
+
----------------------------------------------
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maildown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- schneems
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|