simple_markdown 0.0.2 → 0.0.3
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 +4 -4
- data/lib/simple_markdown/action_view/helpers.rb +16 -7
- data/lib/simple_markdown/version.rb +1 -1
- data/test/dummy/log/test.log +992 -0
- data/test/simple_markdown_test.rb +32 -2
- metadata +12 -6
- data/README.rdoc +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52abdccf10ccbc9eafad3be5caed51583cf40357
|
4
|
+
data.tar.gz: ca1487fd73283f0d68eed8a17fce6793cdcbea1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 570f1b2b88abb8d3e97f03213e0706c99639f23ce9cb62652aa223218794a51f5aa48321639dbebeb44555c20ab06787adfa904a13f47bd378a94f082ddbf0e5
|
7
|
+
data.tar.gz: 0caebe8b933f3f3d548e05f183c43b38e38d0b44903a7876c9a6d25bd417125178fbe6274084ba41112b9f7c93232c87529d073f69bec301a9ef7f39a3dc91a5
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
1
3
|
module SimpleMarkdown
|
2
4
|
module ActionView
|
3
5
|
module Helpers
|
@@ -27,33 +29,40 @@ module SimpleMarkdown
|
|
27
29
|
elsif @text_map.peek.match(/^\s*```\s*$/) # code block
|
28
30
|
@text_map.next
|
29
31
|
parse_code
|
30
|
-
elsif @text_map.peek.match(
|
32
|
+
elsif @text_map.peek.match(/^\s*\#/)
|
31
33
|
parse_title # title, only works if has return before
|
32
34
|
else # normal block
|
33
35
|
@io << "<p>"
|
36
|
+
@io << "\n"
|
34
37
|
parse_normal
|
38
|
+
@io << "\n"
|
35
39
|
@io << "</p>"
|
36
40
|
end
|
37
41
|
end
|
38
42
|
rescue
|
39
|
-
|
43
|
+
# do nothing
|
40
44
|
end
|
41
45
|
end
|
42
46
|
|
43
47
|
def parse_normal
|
48
|
+
first_time = true
|
44
49
|
begin
|
45
50
|
line = @text_map.next
|
46
|
-
|
51
|
+
while(!line.match(/^\s*$/)) # end paragraph if empty line
|
47
52
|
line.gsub!(/(^|[^!])\[([^\]]*)\]\(([^\)]*)\)/, "#{'\1'}<a href=\"#{'\3'.strip}\">#{'\2'}</a>") # link
|
48
53
|
line.gsub!(/!\[([^\]]*)\]\(([^\)]*)\)/, "<img src=\"#{'\2'}\" alt=\"#{'\1'.strip}\">") # link
|
49
54
|
line.gsub!(/^\s*\*\s(.*)/, "• #{'\1'}<br>") # list
|
50
55
|
line.gsub!(/`([^`]+)`/) { |match| "<code>#{h(Regexp.last_match[1])}</code>"} # inline code
|
51
56
|
line.gsub!(/(^|[^\*])\*([^\*]+)\*/, "#{'\1'}<em>#{'\2'}</em>") # italic
|
52
57
|
line.gsub!(/\*\*([^\*]*)\*\*/, "<strong>#{'\1'}</strong>") # bold
|
58
|
+
if(first_time)
|
59
|
+
first_time = false
|
60
|
+
else
|
61
|
+
@io << " "
|
62
|
+
end
|
53
63
|
@io << line
|
54
|
-
@io << "<br
|
55
|
-
|
56
|
-
parse_normal
|
64
|
+
@io << "<br>\n" if line.match(/\s{2,}$/) # return if more than 2 spaces at the end of the line
|
65
|
+
line = @text_map.next
|
57
66
|
end
|
58
67
|
rescue StopIteration
|
59
68
|
@continue = false
|
@@ -81,7 +90,7 @@ module SimpleMarkdown
|
|
81
90
|
|
82
91
|
def parse_title
|
83
92
|
line = @text_map.next
|
84
|
-
line.gsub!(/^\
|
93
|
+
line.gsub!(/^\s{0,4}(\#{1,6})(.*)$/) { |match|
|
85
94
|
num = Regexp.last_match[1].size # number of # = type of <hn></hn>
|
86
95
|
"<h#{num}>#{Regexp.last_match[2].strip}</h#{num}>"
|
87
96
|
}
|
data/test/dummy/log/test.log
CHANGED
@@ -316,3 +316,995 @@ SimpleMarkdownTest: test_markdown
|
|
316
316
|
SimpleMarkdownTest: test_truth
|
317
317
|
------------------------------
|
318
318
|
[1m[35m (0.1ms)[0m rollback transaction
|
319
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
320
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
321
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
322
|
+
[1m[36m (1.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
323
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
324
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
325
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
326
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
327
|
+
------------------------------
|
328
|
+
SimpleMarkdownTest: test_truth
|
329
|
+
------------------------------
|
330
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
331
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
332
|
+
---------------------------------
|
333
|
+
SimpleMarkdownTest: test_markdown
|
334
|
+
---------------------------------
|
335
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
336
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
337
|
+
[1m[36m (2.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
338
|
+
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
339
|
+
[1m[36m (1.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
340
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
341
|
+
[1m[36m (1.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
342
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
343
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
344
|
+
---------------------------------
|
345
|
+
SimpleMarkdownTest: test_markdown
|
346
|
+
---------------------------------
|
347
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
348
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
349
|
+
------------------------------
|
350
|
+
SimpleMarkdownTest: test_truth
|
351
|
+
------------------------------
|
352
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
353
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
354
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
355
|
+
[1m[35m (0.8ms)[0m select sqlite_version(*)
|
356
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
357
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
358
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
359
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
360
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
361
|
+
---------------------------------
|
362
|
+
SimpleMarkdownTest: test_markdown
|
363
|
+
---------------------------------
|
364
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
365
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
366
|
+
------------------------------
|
367
|
+
SimpleMarkdownTest: test_truth
|
368
|
+
------------------------------
|
369
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
370
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
371
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
372
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
373
|
+
[1m[36m (2.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
374
|
+
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
375
|
+
[1m[36m (9.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
376
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
377
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
378
|
+
------------------------------
|
379
|
+
SimpleMarkdownTest: test_truth
|
380
|
+
------------------------------
|
381
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
382
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
383
|
+
---------------------------------
|
384
|
+
SimpleMarkdownTest: test_markdown
|
385
|
+
---------------------------------
|
386
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
387
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
388
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
389
|
+
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
390
|
+
[1m[36m (1.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
391
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
392
|
+
[1m[36m (3.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
393
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
394
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
395
|
+
------------------------------------
|
396
|
+
SimpleMarkdownTest: test_test_titles
|
397
|
+
------------------------------------
|
398
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
399
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
400
|
+
------------------------------
|
401
|
+
SimpleMarkdownTest: test_truth
|
402
|
+
------------------------------
|
403
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
404
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
405
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
406
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
407
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
408
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
409
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
410
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
411
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
412
|
+
-------------------------------------
|
413
|
+
SimpleMarkdownTest: test_empty_string
|
414
|
+
-------------------------------------
|
415
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
416
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
417
|
+
------------------------------------
|
418
|
+
SimpleMarkdownTest: test_test_titles
|
419
|
+
------------------------------------
|
420
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
421
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
422
|
+
------------------------------
|
423
|
+
SimpleMarkdownTest: test_truth
|
424
|
+
------------------------------
|
425
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
426
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
427
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
428
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
429
|
+
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
430
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
431
|
+
[1m[36m (2.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
432
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
433
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
434
|
+
------------------------------
|
435
|
+
SimpleMarkdownTest: test_truth
|
436
|
+
------------------------------
|
437
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
438
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
439
|
+
------------------------------------
|
440
|
+
SimpleMarkdownTest: test_test_titles
|
441
|
+
------------------------------------
|
442
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
443
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
444
|
+
-------------------------------------
|
445
|
+
SimpleMarkdownTest: test_empty_string
|
446
|
+
-------------------------------------
|
447
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
448
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
449
|
+
---------------------------------
|
450
|
+
SimpleMarkdownTest: test_emphasis
|
451
|
+
---------------------------------
|
452
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
453
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
454
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
455
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
456
|
+
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
457
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
458
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
459
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
460
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
461
|
+
------------------------------
|
462
|
+
SimpleMarkdownTest: test_truth
|
463
|
+
------------------------------
|
464
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
465
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
466
|
+
-------------------------------------
|
467
|
+
SimpleMarkdownTest: test_empty_string
|
468
|
+
-------------------------------------
|
469
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
470
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
471
|
+
------------------------------------
|
472
|
+
SimpleMarkdownTest: test_test_titles
|
473
|
+
------------------------------------
|
474
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
475
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
476
|
+
---------------------------------
|
477
|
+
SimpleMarkdownTest: test_emphasis
|
478
|
+
---------------------------------
|
479
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
480
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
481
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
482
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
483
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
484
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
485
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
486
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
487
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
488
|
+
-------------------------------------
|
489
|
+
SimpleMarkdownTest: test_empty_string
|
490
|
+
-------------------------------------
|
491
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
492
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
493
|
+
------------------------------------
|
494
|
+
SimpleMarkdownTest: test_test_titles
|
495
|
+
------------------------------------
|
496
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
497
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
498
|
+
---------------------------------
|
499
|
+
SimpleMarkdownTest: test_emphasis
|
500
|
+
---------------------------------
|
501
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
502
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
503
|
+
------------------------------
|
504
|
+
SimpleMarkdownTest: test_truth
|
505
|
+
------------------------------
|
506
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
507
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
508
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
509
|
+
[1m[35m (0.9ms)[0m select sqlite_version(*)
|
510
|
+
[1m[36m (7.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
511
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
512
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
513
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
514
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
515
|
+
----------------------------------
|
516
|
+
SimpleMarkdownTest: test_paragraph
|
517
|
+
----------------------------------
|
518
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
519
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
520
|
+
---------------------------------
|
521
|
+
SimpleMarkdownTest: test_emphasis
|
522
|
+
---------------------------------
|
523
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
524
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
525
|
+
------------------------------
|
526
|
+
SimpleMarkdownTest: test_truth
|
527
|
+
------------------------------
|
528
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
529
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
530
|
+
------------------------------------
|
531
|
+
SimpleMarkdownTest: test_test_titles
|
532
|
+
------------------------------------
|
533
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
534
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
535
|
+
-------------------------------------
|
536
|
+
SimpleMarkdownTest: test_empty_string
|
537
|
+
-------------------------------------
|
538
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
539
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
540
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
541
|
+
[1m[35m (1.4ms)[0m select sqlite_version(*)
|
542
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
543
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
544
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
545
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
546
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
547
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
548
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
549
|
+
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
550
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
551
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
552
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
553
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
554
|
+
---------------------------------
|
555
|
+
SimpleMarkdownTest: test_emphasis
|
556
|
+
---------------------------------
|
557
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
558
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
559
|
+
-------------------------------------
|
560
|
+
SimpleMarkdownTest: test_empty_string
|
561
|
+
-------------------------------------
|
562
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
563
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
564
|
+
------------------------------------
|
565
|
+
SimpleMarkdownTest: test_test_titles
|
566
|
+
------------------------------------
|
567
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
568
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
569
|
+
------------------------------
|
570
|
+
SimpleMarkdownTest: test_truth
|
571
|
+
------------------------------
|
572
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
573
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
574
|
+
----------------------------------
|
575
|
+
SimpleMarkdownTest: test_paragraph
|
576
|
+
----------------------------------
|
577
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
578
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
579
|
+
--------------------------------------------
|
580
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
581
|
+
--------------------------------------------
|
582
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
583
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
584
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
585
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
586
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
587
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
588
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
589
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
590
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
591
|
+
----------------------------------
|
592
|
+
SimpleMarkdownTest: test_paragraph
|
593
|
+
----------------------------------
|
594
|
+
[1m[35m (1.6ms)[0m rollback transaction
|
595
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
596
|
+
--------------------------------------------
|
597
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
598
|
+
--------------------------------------------
|
599
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
601
|
+
-------------------------------------
|
602
|
+
SimpleMarkdownTest: test_empty_string
|
603
|
+
-------------------------------------
|
604
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
605
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
606
|
+
------------------------------
|
607
|
+
SimpleMarkdownTest: test_truth
|
608
|
+
------------------------------
|
609
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
610
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
611
|
+
---------------------------------
|
612
|
+
SimpleMarkdownTest: test_emphasis
|
613
|
+
---------------------------------
|
614
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
615
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
616
|
+
------------------------------------
|
617
|
+
SimpleMarkdownTest: test_test_titles
|
618
|
+
------------------------------------
|
619
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
620
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
621
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
622
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
623
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
624
|
+
[1m[35m (1.6ms)[0m SELECT version FROM "schema_migrations"
|
625
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
626
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
627
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
628
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
629
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
630
|
+
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
631
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
632
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
633
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
634
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
635
|
+
---------------------------------
|
636
|
+
SimpleMarkdownTest: test_emphasis
|
637
|
+
---------------------------------
|
638
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
639
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
640
|
+
-------------------------------------
|
641
|
+
SimpleMarkdownTest: test_empty_string
|
642
|
+
-------------------------------------
|
643
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
644
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
645
|
+
------------------------------
|
646
|
+
SimpleMarkdownTest: test_truth
|
647
|
+
------------------------------
|
648
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
649
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
650
|
+
----------------------------------
|
651
|
+
SimpleMarkdownTest: test_paragraph
|
652
|
+
----------------------------------
|
653
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
654
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
655
|
+
---------------------------------------------------------------------------
|
656
|
+
SimpleMarkdownTest: test_no_return_with_one_return_without_space_at_the_end
|
657
|
+
---------------------------------------------------------------------------
|
658
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
659
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
660
|
+
--------------------------------------------
|
661
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
662
|
+
--------------------------------------------
|
663
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
664
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
665
|
+
------------------------------------
|
666
|
+
SimpleMarkdownTest: test_test_titles
|
667
|
+
------------------------------------
|
668
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
669
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
670
|
+
[1m[36m (87.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
671
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
672
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
673
|
+
[1m[35m (0.6ms)[0m SELECT version FROM "schema_migrations"
|
674
|
+
[1m[36m (4.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
675
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
676
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
677
|
+
------------------------------
|
678
|
+
SimpleMarkdownTest: test_truth
|
679
|
+
------------------------------
|
680
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
682
|
+
-------------------------------------
|
683
|
+
SimpleMarkdownTest: test_empty_string
|
684
|
+
-------------------------------------
|
685
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
686
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
687
|
+
------------------------------------
|
688
|
+
SimpleMarkdownTest: test_test_titles
|
689
|
+
------------------------------------
|
690
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
691
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
692
|
+
--------------------------------------------
|
693
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
694
|
+
--------------------------------------------
|
695
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
696
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
697
|
+
---------------------------------
|
698
|
+
SimpleMarkdownTest: test_emphasis
|
699
|
+
---------------------------------
|
700
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
701
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
702
|
+
----------------------------------
|
703
|
+
SimpleMarkdownTest: test_paragraph
|
704
|
+
----------------------------------
|
705
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
706
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
707
|
+
---------------------------------------------------------------------------
|
708
|
+
SimpleMarkdownTest: test_no_return_with_one_return_without_space_at_the_end
|
709
|
+
---------------------------------------------------------------------------
|
710
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
711
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
712
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
713
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
714
|
+
[1m[36m (2.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
715
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
716
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
717
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
718
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
719
|
+
-------------------------------------
|
720
|
+
SimpleMarkdownTest: test_empty_string
|
721
|
+
-------------------------------------
|
722
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
723
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
724
|
+
---------------------------------
|
725
|
+
SimpleMarkdownTest: test_emphasis
|
726
|
+
---------------------------------
|
727
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
728
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
729
|
+
---------------------------------------------------------------------------
|
730
|
+
SimpleMarkdownTest: test_no_return_with_one_return_without_space_at_the_end
|
731
|
+
---------------------------------------------------------------------------
|
732
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
733
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
734
|
+
------------------------------
|
735
|
+
SimpleMarkdownTest: test_truth
|
736
|
+
------------------------------
|
737
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
738
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
739
|
+
------------------------------------
|
740
|
+
SimpleMarkdownTest: test_test_titles
|
741
|
+
------------------------------------
|
742
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
743
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
744
|
+
----------------------------------
|
745
|
+
SimpleMarkdownTest: test_paragraph
|
746
|
+
----------------------------------
|
747
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
748
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
749
|
+
--------------------------------------------
|
750
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
751
|
+
--------------------------------------------
|
752
|
+
[1m[35m (4.4ms)[0m rollback transaction
|
753
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
754
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
755
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
756
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
757
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
758
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
759
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
760
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
761
|
+
------------------------------
|
762
|
+
SimpleMarkdownTest: test_truth
|
763
|
+
------------------------------
|
764
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
765
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
766
|
+
--------------------------------------------
|
767
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
768
|
+
--------------------------------------------
|
769
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
770
|
+
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
771
|
+
---------------------------------------------------------------------------
|
772
|
+
SimpleMarkdownTest: test_no_return_with_one_return_without_space_at_the_end
|
773
|
+
---------------------------------------------------------------------------
|
774
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
775
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
776
|
+
----------------------------------
|
777
|
+
SimpleMarkdownTest: test_paragraph
|
778
|
+
----------------------------------
|
779
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
780
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
781
|
+
------------------------------------
|
782
|
+
SimpleMarkdownTest: test_test_titles
|
783
|
+
------------------------------------
|
784
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
785
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
786
|
+
-------------------------------------
|
787
|
+
SimpleMarkdownTest: test_empty_string
|
788
|
+
-------------------------------------
|
789
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
790
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
791
|
+
---------------------------------
|
792
|
+
SimpleMarkdownTest: test_emphasis
|
793
|
+
---------------------------------
|
794
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
795
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
796
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
797
|
+
[1m[35m (2.2ms)[0m select sqlite_version(*)
|
798
|
+
[1m[36m (1.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
799
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
800
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
801
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
802
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
803
|
+
------------------------------
|
804
|
+
SimpleMarkdownTest: test_truth
|
805
|
+
------------------------------
|
806
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
807
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
808
|
+
------------------------------------
|
809
|
+
SimpleMarkdownTest: test_test_titles
|
810
|
+
------------------------------------
|
811
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
812
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
813
|
+
----------------------------------
|
814
|
+
SimpleMarkdownTest: test_paragraph
|
815
|
+
----------------------------------
|
816
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
817
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
818
|
+
---------------------------------------------------------------------------
|
819
|
+
SimpleMarkdownTest: test_no_return_with_one_return_without_space_at_the_end
|
820
|
+
---------------------------------------------------------------------------
|
821
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
822
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
823
|
+
---------------------------------
|
824
|
+
SimpleMarkdownTest: test_emphasis
|
825
|
+
---------------------------------
|
826
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
827
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
828
|
+
-------------------------------------
|
829
|
+
SimpleMarkdownTest: test_empty_string
|
830
|
+
-------------------------------------
|
831
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
832
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
833
|
+
--------------------------------------------
|
834
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
835
|
+
--------------------------------------------
|
836
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
837
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
838
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
839
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
840
|
+
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
841
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
842
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
843
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
844
|
+
[1m[36m (65.2ms)[0m [1mbegin transaction[0m
|
845
|
+
------------------------------
|
846
|
+
SimpleMarkdownTest: test_truth
|
847
|
+
------------------------------
|
848
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
849
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
850
|
+
---------------------------------------------------------------------------
|
851
|
+
SimpleMarkdownTest: test_no_return_with_one_return_without_space_at_the_end
|
852
|
+
---------------------------------------------------------------------------
|
853
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
854
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
855
|
+
---------------------------------
|
856
|
+
SimpleMarkdownTest: test_emphasis
|
857
|
+
---------------------------------
|
858
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
859
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
860
|
+
----------------------------------
|
861
|
+
SimpleMarkdownTest: test_paragraph
|
862
|
+
----------------------------------
|
863
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
864
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
865
|
+
-------------------------------------
|
866
|
+
SimpleMarkdownTest: test_empty_string
|
867
|
+
-------------------------------------
|
868
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
869
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
870
|
+
------------------------------------
|
871
|
+
SimpleMarkdownTest: test_test_titles
|
872
|
+
------------------------------------
|
873
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
874
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
875
|
+
--------------------------------------------
|
876
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
877
|
+
--------------------------------------------
|
878
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
879
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
880
|
+
[1m[36m (3.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
881
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
882
|
+
[1m[36m (2.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
883
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
884
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
885
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
886
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
887
|
+
------------------------------
|
888
|
+
SimpleMarkdownTest: test_truth
|
889
|
+
------------------------------
|
890
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
891
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
892
|
+
-------------------------------------
|
893
|
+
SimpleMarkdownTest: test_empty_string
|
894
|
+
-------------------------------------
|
895
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
896
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
897
|
+
------------------------------------
|
898
|
+
SimpleMarkdownTest: test_test_titles
|
899
|
+
------------------------------------
|
900
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
901
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
902
|
+
----------------------------------
|
903
|
+
SimpleMarkdownTest: test_paragraph
|
904
|
+
----------------------------------
|
905
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
906
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
907
|
+
--------------------------------------------
|
908
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
909
|
+
--------------------------------------------
|
910
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
911
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
912
|
+
---------------------------------
|
913
|
+
SimpleMarkdownTest: test_emphasis
|
914
|
+
---------------------------------
|
915
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
916
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
917
|
+
---------------------------------------------------------------------------
|
918
|
+
SimpleMarkdownTest: test_no_return_with_one_return_without_space_at_the_end
|
919
|
+
---------------------------------------------------------------------------
|
920
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
921
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
922
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
923
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
924
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
925
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
926
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
927
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
928
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
929
|
+
[1m[36m (7.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
930
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
931
|
+
[1m[36m (4.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
932
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
933
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
934
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
935
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
936
|
+
------------------------------
|
937
|
+
SimpleMarkdownTest: test_truth
|
938
|
+
------------------------------
|
939
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
940
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
941
|
+
-------------------------------------
|
942
|
+
SimpleMarkdownTest: test_empty_string
|
943
|
+
-------------------------------------
|
944
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
945
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
946
|
+
--------------------------------------------
|
947
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
948
|
+
--------------------------------------------
|
949
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
950
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
951
|
+
---------------------------------------------------------------------------
|
952
|
+
SimpleMarkdownTest: test_no_return_with_one_return_without_space_at_the_end
|
953
|
+
---------------------------------------------------------------------------
|
954
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
955
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
956
|
+
----------------------------------
|
957
|
+
SimpleMarkdownTest: test_paragraph
|
958
|
+
----------------------------------
|
959
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
960
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
961
|
+
------------------------------------
|
962
|
+
SimpleMarkdownTest: test_test_titles
|
963
|
+
------------------------------------
|
964
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
965
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
966
|
+
---------------------------------
|
967
|
+
SimpleMarkdownTest: test_emphasis
|
968
|
+
---------------------------------
|
969
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
970
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
971
|
+
-----------------------------
|
972
|
+
SimpleMarkdownTest: test_zbra
|
973
|
+
-----------------------------
|
974
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
975
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
976
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
977
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
978
|
+
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
979
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
980
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
981
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
982
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
983
|
+
---------------------------------
|
984
|
+
SimpleMarkdownTest: test_emphasis
|
985
|
+
---------------------------------
|
986
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
987
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
988
|
+
---------------------------------------------------------------------------
|
989
|
+
SimpleMarkdownTest: test_no_return_with_one_return_without_space_at_the_end
|
990
|
+
---------------------------------------------------------------------------
|
991
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
992
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
993
|
+
--------------------------------------------
|
994
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
995
|
+
--------------------------------------------
|
996
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
997
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
998
|
+
------------------------------
|
999
|
+
SimpleMarkdownTest: test_truth
|
1000
|
+
------------------------------
|
1001
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1002
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1003
|
+
----------------------------------
|
1004
|
+
SimpleMarkdownTest: test_paragraph
|
1005
|
+
----------------------------------
|
1006
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1007
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1008
|
+
-------------------------------------
|
1009
|
+
SimpleMarkdownTest: test_empty_string
|
1010
|
+
-------------------------------------
|
1011
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1012
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
1013
|
+
-----------------------------
|
1014
|
+
SimpleMarkdownTest: test_zbra
|
1015
|
+
-----------------------------
|
1016
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1017
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1018
|
+
------------------------------------
|
1019
|
+
SimpleMarkdownTest: test_test_titles
|
1020
|
+
------------------------------------
|
1021
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1022
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1023
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1024
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1025
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1026
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
1027
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
1028
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1029
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1030
|
+
------------------------------
|
1031
|
+
SimpleMarkdownTest: test_truth
|
1032
|
+
------------------------------
|
1033
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1034
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1035
|
+
--------------------------------------------
|
1036
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
1037
|
+
--------------------------------------------
|
1038
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1039
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1040
|
+
-------------------------------------
|
1041
|
+
SimpleMarkdownTest: test_empty_string
|
1042
|
+
-------------------------------------
|
1043
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1044
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1045
|
+
---------------------------------
|
1046
|
+
SimpleMarkdownTest: test_emphasis
|
1047
|
+
---------------------------------
|
1048
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1049
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1050
|
+
-----------------------------
|
1051
|
+
SimpleMarkdownTest: test_zbra
|
1052
|
+
-----------------------------
|
1053
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1054
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1055
|
+
---------------------------------------------------------------------------
|
1056
|
+
SimpleMarkdownTest: test_no_return_with_one_return_without_space_at_the_end
|
1057
|
+
---------------------------------------------------------------------------
|
1058
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1059
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1060
|
+
------------------------------------
|
1061
|
+
SimpleMarkdownTest: test_test_titles
|
1062
|
+
------------------------------------
|
1063
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1064
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1065
|
+
----------------------------------
|
1066
|
+
SimpleMarkdownTest: test_paragraph
|
1067
|
+
----------------------------------
|
1068
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1069
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1070
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1071
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1072
|
+
[1m[36m (1.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1073
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
1074
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
1075
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1076
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1077
|
+
------------------------------
|
1078
|
+
SimpleMarkdownTest: test_truth
|
1079
|
+
------------------------------
|
1080
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1081
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1082
|
+
-------------------------------------
|
1083
|
+
SimpleMarkdownTest: test_empty_string
|
1084
|
+
-------------------------------------
|
1085
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1086
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1087
|
+
---------------------------------------------------------------------------
|
1088
|
+
SimpleMarkdownTest: test_no_return_with_one_return_without_space_at_the_end
|
1089
|
+
---------------------------------------------------------------------------
|
1090
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1091
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1092
|
+
---------------------------------
|
1093
|
+
SimpleMarkdownTest: test_emphasis
|
1094
|
+
---------------------------------
|
1095
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1096
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1097
|
+
------------------------------------
|
1098
|
+
SimpleMarkdownTest: test_test_titles
|
1099
|
+
------------------------------------
|
1100
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1101
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1102
|
+
----------------------------------
|
1103
|
+
SimpleMarkdownTest: test_paragraph
|
1104
|
+
----------------------------------
|
1105
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1106
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1107
|
+
--------------------------------------------
|
1108
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
1109
|
+
--------------------------------------------
|
1110
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1111
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1112
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1113
|
+
[1m[35m (0.6ms)[0m select sqlite_version(*)
|
1114
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1115
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
1116
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
1117
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1119
|
+
-------------------------------------
|
1120
|
+
SimpleMarkdownTest: test_empty_string
|
1121
|
+
-------------------------------------
|
1122
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1123
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1124
|
+
----------------------------------------------------------------------------------------
|
1125
|
+
SimpleMarkdownTest: test_no_<br>_with_one_return_without_spaces_at_the_end_and_add_space
|
1126
|
+
----------------------------------------------------------------------------------------
|
1127
|
+
[1m[35m (8.5ms)[0m rollback transaction
|
1128
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1129
|
+
------------------------------------
|
1130
|
+
SimpleMarkdownTest: test_test_titles
|
1131
|
+
------------------------------------
|
1132
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1133
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1134
|
+
--------------------------------------------
|
1135
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
1136
|
+
--------------------------------------------
|
1137
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1138
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1139
|
+
----------------------------------------------------------------------------
|
1140
|
+
SimpleMarkdownTest: test_add_<br>_if_return_with_2_or_more_spaces_at_the_end
|
1141
|
+
----------------------------------------------------------------------------
|
1142
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1143
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1144
|
+
----------------------------------
|
1145
|
+
SimpleMarkdownTest: test_paragraph
|
1146
|
+
----------------------------------
|
1147
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1148
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1149
|
+
---------------------------------
|
1150
|
+
SimpleMarkdownTest: test_emphasis
|
1151
|
+
---------------------------------
|
1152
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1153
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1154
|
+
------------------------------
|
1155
|
+
SimpleMarkdownTest: test_truth
|
1156
|
+
------------------------------
|
1157
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1158
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1159
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1160
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1161
|
+
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1162
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
1163
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
1164
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1165
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1166
|
+
--------------------------------------------
|
1167
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
1168
|
+
--------------------------------------------
|
1169
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1170
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1171
|
+
----------------------------------------------------------------------------------------
|
1172
|
+
SimpleMarkdownTest: test_no_<br>_with_one_return_without_spaces_at_the_end_and_add_space
|
1173
|
+
----------------------------------------------------------------------------------------
|
1174
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1175
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1176
|
+
----------------------------------------------------------------------------
|
1177
|
+
SimpleMarkdownTest: test_add_<br>_if_return_with_2_or_more_spaces_at_the_end
|
1178
|
+
----------------------------------------------------------------------------
|
1179
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1180
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1181
|
+
------------------------------
|
1182
|
+
SimpleMarkdownTest: test_truth
|
1183
|
+
------------------------------
|
1184
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1185
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1186
|
+
----------------------------------
|
1187
|
+
SimpleMarkdownTest: test_paragraph
|
1188
|
+
----------------------------------
|
1189
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1190
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1191
|
+
---------------------------------
|
1192
|
+
SimpleMarkdownTest: test_emphasis
|
1193
|
+
---------------------------------
|
1194
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1195
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1196
|
+
------------------------------------
|
1197
|
+
SimpleMarkdownTest: test_test_titles
|
1198
|
+
------------------------------------
|
1199
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1200
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1201
|
+
-------------------------------------
|
1202
|
+
SimpleMarkdownTest: test_empty_string
|
1203
|
+
-------------------------------------
|
1204
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1205
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1206
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1207
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
1208
|
+
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1209
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
1210
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
1211
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1212
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1213
|
+
----------------------------------------------------------------------------------------
|
1214
|
+
SimpleMarkdownTest: test_no_<br>_with_one_return_without_spaces_at_the_end_and_add_space
|
1215
|
+
----------------------------------------------------------------------------------------
|
1216
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1217
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1218
|
+
--------------------------------------------
|
1219
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
1220
|
+
--------------------------------------------
|
1221
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1223
|
+
----------------------------------
|
1224
|
+
SimpleMarkdownTest: test_paragraph
|
1225
|
+
----------------------------------
|
1226
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1227
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1228
|
+
----------------------------------------------------------------------------
|
1229
|
+
SimpleMarkdownTest: test_add_<br>_if_return_with_2_or_more_spaces_at_the_end
|
1230
|
+
----------------------------------------------------------------------------
|
1231
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1232
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1233
|
+
-------------------------------------
|
1234
|
+
SimpleMarkdownTest: test_empty_string
|
1235
|
+
-------------------------------------
|
1236
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1237
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1238
|
+
---------------------------------
|
1239
|
+
SimpleMarkdownTest: test_emphasis
|
1240
|
+
---------------------------------
|
1241
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1242
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1243
|
+
------------------------------------
|
1244
|
+
SimpleMarkdownTest: test_test_titles
|
1245
|
+
------------------------------------
|
1246
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1247
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1248
|
+
------------------------------
|
1249
|
+
SimpleMarkdownTest: test_truth
|
1250
|
+
------------------------------
|
1251
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1252
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1253
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1254
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1255
|
+
[1m[36m (5.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1256
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
1257
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
1258
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1259
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1260
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1261
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1262
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1263
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
1264
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
1265
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1266
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1267
|
+
-------------------------------------
|
1268
|
+
SimpleMarkdownTest: test_empty_string
|
1269
|
+
-------------------------------------
|
1270
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1271
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1272
|
+
----------------------------------
|
1273
|
+
SimpleMarkdownTest: test_paragraph
|
1274
|
+
----------------------------------
|
1275
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1277
|
+
------------------------------
|
1278
|
+
SimpleMarkdownTest: test_truth
|
1279
|
+
------------------------------
|
1280
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1281
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1282
|
+
--------------------------------------------
|
1283
|
+
SimpleMarkdownTest: test_multiple_paragraphs
|
1284
|
+
--------------------------------------------
|
1285
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1286
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1287
|
+
----------------------------------------------------------------------------------------
|
1288
|
+
SimpleMarkdownTest: test_no_<br>_with_one_return_without_spaces_at_the_end_and_add_space
|
1289
|
+
----------------------------------------------------------------------------------------
|
1290
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1291
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1292
|
+
---------------------------------
|
1293
|
+
SimpleMarkdownTest: test_emphasis
|
1294
|
+
---------------------------------
|
1295
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1296
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1297
|
+
-------------------------------
|
1298
|
+
SimpleMarkdownTest: test_strong
|
1299
|
+
-------------------------------
|
1300
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1301
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1302
|
+
------------------------------------
|
1303
|
+
SimpleMarkdownTest: test_test_titles
|
1304
|
+
------------------------------------
|
1305
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1306
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1307
|
+
----------------------------------------------------------------------------
|
1308
|
+
SimpleMarkdownTest: test_add_<br>_if_return_with_2_or_more_spaces_at_the_end
|
1309
|
+
----------------------------------------------------------------------------
|
1310
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
@@ -8,8 +8,38 @@ class SimpleMarkdownTest < ActiveSupport::TestCase
|
|
8
8
|
assert_kind_of Module, SimpleMarkdown
|
9
9
|
end
|
10
10
|
|
11
|
-
test "
|
12
|
-
|
11
|
+
test "test titles" do
|
12
|
+
1.upto(6) do |i|
|
13
|
+
assert_equal "<h#{i}>Title</h#{i}>", simple_markdown("#{'#'*i} Title")
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
test "empty string" do
|
18
|
+
assert_equal "", simple_markdown("")
|
19
|
+
end
|
20
|
+
|
21
|
+
test "paragraph" do
|
22
|
+
assert_equal "<p>\nText\n</p>", simple_markdown("Text")
|
23
|
+
end
|
24
|
+
|
25
|
+
test "multiple paragraphs" do
|
26
|
+
assert_equal "<p>\nText\n</p><p>\nText2\n</p>", simple_markdown("Text\n\nText2")
|
27
|
+
end
|
28
|
+
|
29
|
+
test "no <br> with one return without spaces at the end and add space" do
|
30
|
+
assert_equal "<p>\nText and more\n</p>", simple_markdown("Text\nand more")
|
31
|
+
end
|
32
|
+
|
33
|
+
test "add <br> if return with 2 or more spaces at the end" do
|
34
|
+
assert_equal "<p>\nText <br>\n and more\n</p>", simple_markdown("Text \nand more")
|
35
|
+
end
|
36
|
+
|
37
|
+
test "emphasis" do
|
38
|
+
assert_equal "<p>\n<em>Text</em>\n</p>", simple_markdown("*Text*")
|
39
|
+
end
|
40
|
+
|
41
|
+
test "strong" do
|
42
|
+
assert_equal "<p>\n<strong>Text</strong>\n</p>", simple_markdown("**Text**")
|
13
43
|
end
|
14
44
|
|
15
45
|
end
|
metadata
CHANGED
@@ -1,20 +1,23 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noémien Kocher
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.2'
|
20
|
+
- - '>='
|
18
21
|
- !ruby/object:Gem::Version
|
19
22
|
version: 4.2.1
|
20
23
|
type: :runtime
|
@@ -22,23 +25,27 @@ dependencies:
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '4.2'
|
30
|
+
- - '>='
|
25
31
|
- !ruby/object:Gem::Version
|
26
32
|
version: 4.2.1
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: sqlite3
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- -
|
37
|
+
- - ~>
|
32
38
|
- !ruby/object:Gem::Version
|
33
39
|
version: '0'
|
34
40
|
type: :development
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
|
-
- -
|
44
|
+
- - ~>
|
39
45
|
- !ruby/object:Gem::Version
|
40
46
|
version: '0'
|
41
|
-
description: Given a markdown formated text,
|
47
|
+
description: Given a markdown formated text, transforms it to html via a simple method
|
48
|
+
`simple_markdown`
|
42
49
|
email:
|
43
50
|
- nkcr.je@gmail.com
|
44
51
|
executables: []
|
@@ -46,7 +53,6 @@ extensions: []
|
|
46
53
|
extra_rdoc_files: []
|
47
54
|
files:
|
48
55
|
- MIT-LICENSE
|
49
|
-
- README.rdoc
|
50
56
|
- Rakefile
|
51
57
|
- lib/simple_markdown.rb
|
52
58
|
- lib/simple_markdown/action_view/helpers.rb
|
data/README.rdoc
DELETED