legal_markdown 0.2.1 → 0.2.2

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.
Files changed (66) hide show
  1. data/.gitignore +0 -1
  2. data/README.md +1 -1
  3. data/lib/legal_markdown.rb +29 -12
  4. data/lib/legal_markdown/make_yaml_frontmatter.rb +1 -1
  5. data/lib/legal_markdown/version.rb +1 -1
  6. data/test/test_legal_markdown_to_markdown.rb +43 -0
  7. data/test/tests/00.load_write_no_action.lmd +20 -0
  8. data/test/tests/00.load_write_no_action.md +20 -0
  9. data/test/tests/01.load_partial_no_action.lmd +22 -0
  10. data/test/tests/01.load_partial_no_action.md +27 -0
  11. data/test/tests/02.load_partials_no_action.lmd +24 -0
  12. data/test/tests/02.load_partials_no_action.md +34 -0
  13. data/test/tests/10.mixins_in_headers_and_text.lmd +20 -0
  14. data/test/tests/10.mixins_in_headers_and_text.md +12 -0
  15. data/test/tests/11.mixins_in_today_function.lmd +4 -0
  16. data/test/tests/11.mixins_in_today_function.md +1 -0
  17. data/test/tests/12.opt_clauses_no_subs.lmd +18 -0
  18. data/test/tests/12.opt_clauses_no_subs.md +9 -0
  19. data/test/tests/13.opt_clauses_subs.lmd +27 -0
  20. data/test/tests/13.opt_clauses_subs.md +11 -0
  21. data/test/tests/14.opt_clauses_with_mixins.lmd +24 -0
  22. data/test/tests/14.opt_clauses_with_mixins.md +9 -0
  23. data/test/tests/20.block_no_addons.lmd +32 -0
  24. data/test/tests/20.block_no_addons.md +40 -0
  25. data/test/tests/21.block_no_indents.lmd +33 -0
  26. data/test/tests/21.block_no_indents.md +40 -0
  27. data/test/tests/22.block_all_indents.lmd +33 -0
  28. data/test/tests/22.block_all_indents.md +40 -0
  29. data/test/tests/23.block_all_indents.md +40 -0
  30. data/test/tests/24.block_part_indents.lmd +40 -0
  31. data/test/tests/24.block_part_indents.md +52 -0
  32. data/test/tests/25.block_no_resets.lmd +33 -0
  33. data/test/tests/25.block_no_resets.md +40 -0
  34. data/test/tests/26.block_all_resets.lmd +33 -0
  35. data/test/tests/26.block_all_resets.md +40 -0
  36. data/test/tests/27.block_part_resets.lmd +40 -0
  37. data/test/tests/27.block_part_resets.md +52 -0
  38. data/test/tests/28.block_provs_multi_line_no_indent.lmd +42 -0
  39. data/test/tests/28.block_provs_multi_line_no_indent.md +52 -0
  40. data/test/tests/29.block_provs_multi_line_indents.lmd +42 -0
  41. data/test/tests/29.block_provs_multi_line_indents.md +52 -0
  42. data/test/tests/30.block_all_leader_types.lmd +43 -0
  43. data/test/tests/30.block_all_leader_types.md +52 -0
  44. data/test/tests/31.block_complex_leader_types.lmd +44 -0
  45. data/test/tests/31.block_complex_leader_types.md +52 -0
  46. data/test/tests/32.block_new_leader_style.lmd +47 -0
  47. data/test/tests/32.block_new_leader_style.md +52 -0
  48. data/test/tests/33.block_with_pre_simple.lmd +33 -0
  49. data/test/tests/33.block_with_pre_simple.md +40 -0
  50. data/test/tests/34.block_with_pre_complex.lmd +34 -0
  51. data/test/tests/34.block_with_pre_complex.md +40 -0
  52. data/test/tests/35.block_with_preval.lmd +33 -0
  53. data/test/tests/35.block_with_preval.md +40 -0
  54. data/test/tests/36.block_with_crossrefs.lmd +33 -0
  55. data/test/tests/36.block_with_crossrefs.md +40 -0
  56. data/test/tests/37.block_with_diff_start_pt.lmd +34 -0
  57. data/test/tests/37.block_with_diff_start_pt.md +40 -0
  58. data/test/tests/40.block_with_mixins.lmd +45 -0
  59. data/test/tests/40.block_with_mixins.md +52 -0
  60. data/test/tests/41.block_with_opt_clauses.lmd +48 -0
  61. data/test/tests/41.block_with_opt_clauses.md +50 -0
  62. data/test/tests/42.block_with_opt_clauses_and_mixins.lmd +54 -0
  63. data/test/tests/42.block_with_opt_clauses_and_mixins.md +50 -0
  64. data/test/tests/partials/z.partial1 +6 -0
  65. data/test/tests/partials/z.partial2 +6 -0
  66. metadata +125 -5
@@ -0,0 +1,40 @@
1
+ # TEST 4
2
+
3
+ Article 1. Provision for Article 1.
4
+
5
+ Section 101. Provision for Section 1.1.
6
+
7
+ Section 102. Provision for 1.1.1. under Article 1
8
+
9
+ 102(a) Provision for 1.1.2.
10
+
11
+ 102(b) Provision for Section 1.2.
12
+
13
+ 102(c) Provision for 1.2.1. above is 102(a)
14
+
15
+ Article 2. Provision for 1.2.2.
16
+
17
+ Section 201. Profivis asl;jksfd;lg; lkshflksjdh
18
+
19
+ Section 202. asd;flkajsdf;lkj
20
+
21
+ 202(a) ;alsdkfjas Article 1 d;flkajsd
22
+
23
+ Section 203. as;dlfkjasd;flakjsdll.
24
+
25
+ 203(a) a;lsdfkjasd; 102(a) lfkj
26
+
27
+ 203(b) a;sdlfkajsd;flk
28
+
29
+ Article 3. as;dlfkajsd;flkj
30
+
31
+ Section 301. a;sldfkajsd;
32
+
33
+ 301(a) a;sldfkjasd;flkajs
34
+
35
+ 301(b) a;lsdfkajsd;lfkj
36
+
37
+ 301(c) a;sdlfkajsd;flkajs
38
+
39
+ 301(d) as;dlfkjasd;lfkjs
40
+
@@ -0,0 +1,34 @@
1
+ ---
2
+
3
+ # Structured Headers
4
+ level-1: "Article 100."
5
+ level-2: "Section X."
6
+ level-3: "P."
7
+ no-indent: l., ll., lll.
8
+ no-reset: l., ll., lll.
9
+
10
+ ---
11
+
12
+ # TEST 4
13
+
14
+ ```
15
+ l. Provision for Article 1.
16
+ ll. Provision for Section 1.1.
17
+ ll. Provision for 1.1.1.
18
+ lll. Provision for 1.1.2.
19
+ lll. Provision for Section 1.2.
20
+ lll. Provision for 1.2.1.
21
+ l. Provision for 1.2.2.
22
+ ll. Profivis asl;jksfd;lg; lkshflksjdh
23
+ ll. asd;flkajsdf;lkj
24
+ lll. ;alsdkfjasd;flkajsd
25
+ ll. as;dlfkjasd;flakjsdll.
26
+ lll. a;lsdfkjasd;lfkj
27
+ lll. a;sdlfkajsd;flk
28
+ l. as;dlfkajsd;flkj
29
+ ll. a;sldfkajsd;
30
+ lll. a;sldfkjasd;flkajs
31
+ lll. a;lsdfkajsd;lfkj
32
+ lll. a;sdlfkajsd;flkajs
33
+ lll. as;dlfkjasd;lfkjs
34
+ ```
@@ -0,0 +1,40 @@
1
+ # TEST 4
2
+
3
+ Article 100. Provision for Article 1.
4
+
5
+ Section X. Provision for Section 1.1.
6
+
7
+ Section XI. Provision for 1.1.1.
8
+
9
+ P. Provision for 1.1.2.
10
+
11
+ Q. Provision for Section 1.2.
12
+
13
+ R. Provision for 1.2.1.
14
+
15
+ Article 101. Provision for 1.2.2.
16
+
17
+ Section XII. Profivis asl;jksfd;lg; lkshflksjdh
18
+
19
+ Section XIII. asd;flkajsdf;lkj
20
+
21
+ S. ;alsdkfjasd;flkajsd
22
+
23
+ Section XIV. as;dlfkjasd;flakjsdll.
24
+
25
+ T. a;lsdfkjasd;lfkj
26
+
27
+ U. a;sdlfkajsd;flk
28
+
29
+ Article 102. as;dlfkajsd;flkj
30
+
31
+ Section XV. a;sldfkajsd;
32
+
33
+ V. a;sldfkjasd;flkajs
34
+
35
+ W. a;lsdfkajsd;lfkj
36
+
37
+ X. a;sdlfkajsd;flkajs
38
+
39
+ Y. as;dlfkjasd;lfkjs
40
+
@@ -0,0 +1,45 @@
1
+ ---
2
+
3
+ # Mixins
4
+ test-5: "987654"
5
+ test1: "lkjuytrd"
6
+ test4: "123456789"
7
+ test_78: ")(*&^%$#@"
8
+
9
+ # Structured Headers
10
+ level-1: "Article 1."
11
+ level-2: "Section 1."
12
+ level-3: "1."
13
+ no-indent: l., ll., lll.
14
+
15
+ ---
16
+
17
+ # TEST 4
18
+
19
+ ```
20
+ l. Provision for Article 1.
21
+ ll. Provision for Section 1.1.
22
+ ll. Provision for 1.1.1.
23
+ lll. Provision for 1.1.2.
24
+ lll. Provision for Section 1.2.
25
+ lll. Provision for 1.2.1.
26
+ l. Provision for 1.2.2.
27
+ ll. Profivis asl;jksfd;lg; lkshflksjdh
28
+ ll. asd;flkajsdf;lkj
29
+ lll. ;alsdkfjasd;flkajsd
30
+ ll. as;dlfk{{test4}}jasd;flakjsdll.
31
+ lll. a;lsdfkjasd;lfkj
32
+ lll. a;sdlfkajsd;flk
33
+ l. as;dlfkajsd;flkj
34
+ ll. a;sldfkajsd;
35
+ lll. a;sldfkjasd;flkajs
36
+ lll. a;lsdfk {{test-5}} ajsd;lfkj
37
+ lll. a;sdlfkajsd;flkajs
38
+ lll. as;dlfkjasd;lfkjs
39
+ ll. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
40
+ l. tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
41
+ ll. quis nostrud {{test1}} exercitation ullamco laboris nisi ut aliquip ex ea commodo
42
+ lll. consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
43
+ lll. cillum dolore eu fugiat {{test_78}} nulla pariatur. Excepteur sint occaecat cupidatat non
44
+ ll. proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
45
+ ```
@@ -0,0 +1,52 @@
1
+ # TEST 4
2
+
3
+ Article 1. Provision for Article 1.
4
+
5
+ Section 1. Provision for Section 1.1.
6
+
7
+ Section 2. Provision for 1.1.1.
8
+
9
+ 1. Provision for 1.1.2.
10
+
11
+ 2. Provision for Section 1.2.
12
+
13
+ 3. Provision for 1.2.1.
14
+
15
+ Article 2. Provision for 1.2.2.
16
+
17
+ Section 1. Profivis asl;jksfd;lg; lkshflksjdh
18
+
19
+ Section 2. asd;flkajsdf;lkj
20
+
21
+ 1. ;alsdkfjasd;flkajsd
22
+
23
+ Section 3. as;dlfk123456789jasd;flakjsdll.
24
+
25
+ 1. a;lsdfkjasd;lfkj
26
+
27
+ 2. a;sdlfkajsd;flk
28
+
29
+ Article 3. as;dlfkajsd;flkj
30
+
31
+ Section 1. a;sldfkajsd;
32
+
33
+ 1. a;sldfkjasd;flkajs
34
+
35
+ 2. a;lsdfk 987654 ajsd;lfkj
36
+
37
+ 3. a;sdlfkajsd;flkajs
38
+
39
+ 4. as;dlfkjasd;lfkjs
40
+
41
+ Section 2. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
42
+
43
+ Article 4. tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
44
+
45
+ Section 1. quis nostrud lkjuytrd exercitation ullamco laboris nisi ut aliquip ex ea commodo
46
+
47
+ 1. consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
48
+
49
+ 2. cillum dolore eu fugiat )(*&^%$#@ nulla pariatur. Excepteur sint occaecat cupidatat non
50
+
51
+ Section 2. proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
52
+
@@ -0,0 +1,48 @@
1
+ ---
2
+
3
+ # Optional Clauses
4
+ test09: true
5
+ test1: false
6
+ test4: true
7
+ test_5: true
8
+ test_7: false
9
+ test_78: false
10
+
11
+ # Structured Headers
12
+ level-1: "Article 1."
13
+ level-2: "Section 1."
14
+ level-3: "1."
15
+ no-indent: l., ll., lll.
16
+
17
+ ---
18
+
19
+ # TEST 4
20
+
21
+ ```
22
+ l. Provision for Article 1.
23
+ ll. Provision for Section 1.1.
24
+ ll. Provision for 1.1.1.
25
+ lll. [{{test_7}} Provision] for 1.1.2.
26
+ lll. Provision for Section 1.2.
27
+ lll. Provision for 1.2.1.
28
+ l. Provision for 1.2.2.
29
+ ll. Profivis asl;jksfd;lg; lkshflksjdh
30
+ ll. asd;flkajsdf;lkj
31
+ lll. ;alsdkfjasd;flkajsd
32
+ [{{test4}}ll. as;dlfkjasd;flakjsdll.]
33
+ lll. a;lsdfkjasd;lfkj
34
+ lll. a;sdlfkajsd;flk
35
+ l. as;dlfkajsd;flkj
36
+ ll. a;sldfkajsd;
37
+ lll. a;sldfkjasd;flkajs
38
+ lll. a;lsdfk [{{test_5}} ajsd;lfkj]
39
+ lll. a;sdlfkajsd;flkajs
40
+ lll. as;dlfkjasd;lfkjs
41
+ ll. Lorem ipsum [{{test09}} dolor sit amet,
42
+ consectetur adipisicing] elit, sed do eiusmod
43
+ l. tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
44
+ [{{test1}} ll. quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo]
45
+ lll. consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
46
+ lll. cillum dolore eu fugiat [{{test_78}} nulla pariatur. Excepteur sint occaecat cupidatat non
47
+ proident, sunt in culpa qui] officia deserunt mollit anim id est laborum.
48
+ ```
@@ -0,0 +1,50 @@
1
+ # TEST 4
2
+
3
+ Article 1. Provision for Article 1.
4
+
5
+ Section 1. Provision for Section 1.1.
6
+
7
+ Section 2. Provision for 1.1.1.
8
+
9
+ 1. for 1.1.2.
10
+
11
+ 2. Provision for Section 1.2.
12
+
13
+ 3. Provision for 1.2.1.
14
+
15
+ Article 2. Provision for 1.2.2.
16
+
17
+ Section 1. Profivis asl;jksfd;lg; lkshflksjdh
18
+
19
+ Section 2. asd;flkajsdf;lkj
20
+
21
+ 1. ;alsdkfjasd;flkajsd
22
+
23
+ Section 3. as;dlfkjasd;flakjsdll.
24
+
25
+ 1. a;lsdfkjasd;lfkj
26
+
27
+ 2. a;sdlfkajsd;flk
28
+
29
+ Article 3. as;dlfkajsd;flkj
30
+
31
+ Section 1. a;sldfkajsd;
32
+
33
+ 1. a;sldfkjasd;flkajs
34
+
35
+ 2. a;lsdfk ajsd;lfkj
36
+
37
+ 3. a;sdlfkajsd;flkajs
38
+
39
+ 4. as;dlfkjasd;lfkjs
40
+
41
+ Section 2. Lorem ipsum dolor sit amet,
42
+
43
+ consectetur adipisicing elit, sed do eiusmod
44
+
45
+ Article 4. tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
46
+
47
+ 1. consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
48
+
49
+ 2. cillum dolore eu fugiat officia deserunt mollit anim id est laborum.
50
+
@@ -0,0 +1,54 @@
1
+ ---
2
+
3
+ # Mixins
4
+ asdfg: "234567890"
5
+ gfdsa: "oiuytrew"
6
+ nbvcx: ".,mnbvcxz"
7
+ qwer: "qsdcv rtghjm"
8
+
9
+ # Optional Clauses
10
+ test09: true
11
+ test1: false
12
+ test4: true
13
+ test_5: true
14
+ test_7: false
15
+ test_78: false
16
+
17
+ # Structured Headers
18
+ level-1: "Article 1."
19
+ level-2: "Section 1."
20
+ level-3: "1."
21
+ no-indent: l., ll., lll.
22
+
23
+ ---
24
+
25
+ # TEST 4
26
+
27
+ ```
28
+ l. Provision for Article 1.
29
+ ll. Provision for{{gfdsa}} Section 1.1.
30
+ ll. Provision for 1.1.1.
31
+ lll. [{{test_7}} Provision] for 1.1.2.
32
+ lll. Provision for Section 1.2.
33
+ lll. Provision for 1.2.1. {{nbvcx}}
34
+ l. Provision for 1.2.2.
35
+ ll. Profivis asl;jksfd;lg; lkshflksjdh
36
+ ll. asd;flkajsdf;lkj
37
+ lll. ;alsdkfjasd;flkajsd
38
+ [{{test4}}ll. as;dlfk{{qwer}}jasd;flakjsdll.]
39
+ lll. a;lsdfkjasd;lfkj
40
+ lll. a;sdlfkajsd;flk
41
+ l. as;dlfkajsd;flkj
42
+ ll. a;sldfkajsd;
43
+ lll. a;sldfkjasd;flkajs
44
+ lll. a;lsdfk [{{test_5}} ajsd;lfkj]
45
+ lll. a;sdlfkajsd;flkajs
46
+ lll. as;dlfkjasd;lfkjs
47
+ ll. Lorem ipsum [{{test09}} dolor sit amet, {{asdfg}}
48
+ consectetur adipisicing] elit, sed do eiusmod
49
+ l. tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
50
+ [{{test1}} ll. quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo]
51
+ lll. consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
52
+ lll. cillum dolore eu fugiat [{{test_78}} nulla pariatur. Excepteur sint occaecat cupidatat non
53
+ proident, sunt in culpa qui] officia deserunt mollit anim id est laborum.
54
+ ```
@@ -0,0 +1,50 @@
1
+ # TEST 4
2
+
3
+ Article 1. Provision for Article 1.
4
+
5
+ Section 1. Provision foroiuytrew Section 1.1.
6
+
7
+ Section 2. Provision for 1.1.1.
8
+
9
+ 1. for 1.1.2.
10
+
11
+ 2. Provision for Section 1.2.
12
+
13
+ 3. Provision for 1.2.1. .,mnbvcxz
14
+
15
+ Article 2. Provision for 1.2.2.
16
+
17
+ Section 1. Profivis asl;jksfd;lg; lkshflksjdh
18
+
19
+ Section 2. asd;flkajsdf;lkj
20
+
21
+ 1. ;alsdkfjasd;flkajsd
22
+
23
+ Section 3. as;dlfkqsdcv rtghjmjasd;flakjsdll.
24
+
25
+ 1. a;lsdfkjasd;lfkj
26
+
27
+ 2. a;sdlfkajsd;flk
28
+
29
+ Article 3. as;dlfkajsd;flkj
30
+
31
+ Section 1. a;sldfkajsd;
32
+
33
+ 1. a;sldfkjasd;flkajs
34
+
35
+ 2. a;lsdfk ajsd;lfkj
36
+
37
+ 3. a;sdlfkajsd;flkajs
38
+
39
+ 4. as;dlfkjasd;lfkjs
40
+
41
+ Section 2. Lorem ipsum dolor sit amet, 234567890
42
+
43
+ consectetur adipisicing elit, sed do eiusmod
44
+
45
+ Article 4. tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
46
+
47
+ 1. consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
48
+
49
+ 2. cillum dolore eu fugiat officia deserunt mollit anim id est laborum.
50
+
@@ -0,0 +1,6 @@
1
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
2
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
3
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
4
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
5
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
6
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
@@ -0,0 +1,6 @@
1
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
2
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
3
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
4
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
5
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
6
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legal_markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-08 00:00:00.000000000 Z
12
+ date: 2013-07-12 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! ' This gem will parse YAML Front Matter of Markdown Documents. Typically,
15
15
  this gem would be called with a md renderer, such as Pandoc, that would turn the
@@ -39,6 +39,66 @@ files:
39
39
  - lib/legal_markdown/make_yaml_frontmatter.rb
40
40
  - lib/legal_markdown/roman-numerals.rb
41
41
  - lib/legal_markdown/version.rb
42
+ - test/test_legal_markdown_to_markdown.rb
43
+ - test/tests/00.load_write_no_action.lmd
44
+ - test/tests/00.load_write_no_action.md
45
+ - test/tests/01.load_partial_no_action.lmd
46
+ - test/tests/01.load_partial_no_action.md
47
+ - test/tests/02.load_partials_no_action.lmd
48
+ - test/tests/02.load_partials_no_action.md
49
+ - test/tests/10.mixins_in_headers_and_text.lmd
50
+ - test/tests/10.mixins_in_headers_and_text.md
51
+ - test/tests/11.mixins_in_today_function.lmd
52
+ - test/tests/11.mixins_in_today_function.md
53
+ - test/tests/12.opt_clauses_no_subs.lmd
54
+ - test/tests/12.opt_clauses_no_subs.md
55
+ - test/tests/13.opt_clauses_subs.lmd
56
+ - test/tests/13.opt_clauses_subs.md
57
+ - test/tests/14.opt_clauses_with_mixins.lmd
58
+ - test/tests/14.opt_clauses_with_mixins.md
59
+ - test/tests/20.block_no_addons.lmd
60
+ - test/tests/20.block_no_addons.md
61
+ - test/tests/21.block_no_indents.lmd
62
+ - test/tests/21.block_no_indents.md
63
+ - test/tests/22.block_all_indents.lmd
64
+ - test/tests/22.block_all_indents.md
65
+ - test/tests/23.block_all_indents.md
66
+ - test/tests/24.block_part_indents.lmd
67
+ - test/tests/24.block_part_indents.md
68
+ - test/tests/25.block_no_resets.lmd
69
+ - test/tests/25.block_no_resets.md
70
+ - test/tests/26.block_all_resets.lmd
71
+ - test/tests/26.block_all_resets.md
72
+ - test/tests/27.block_part_resets.lmd
73
+ - test/tests/27.block_part_resets.md
74
+ - test/tests/28.block_provs_multi_line_no_indent.lmd
75
+ - test/tests/28.block_provs_multi_line_no_indent.md
76
+ - test/tests/29.block_provs_multi_line_indents.lmd
77
+ - test/tests/29.block_provs_multi_line_indents.md
78
+ - test/tests/30.block_all_leader_types.lmd
79
+ - test/tests/30.block_all_leader_types.md
80
+ - test/tests/31.block_complex_leader_types.lmd
81
+ - test/tests/31.block_complex_leader_types.md
82
+ - test/tests/32.block_new_leader_style.lmd
83
+ - test/tests/32.block_new_leader_style.md
84
+ - test/tests/33.block_with_pre_simple.lmd
85
+ - test/tests/33.block_with_pre_simple.md
86
+ - test/tests/34.block_with_pre_complex.lmd
87
+ - test/tests/34.block_with_pre_complex.md
88
+ - test/tests/35.block_with_preval.lmd
89
+ - test/tests/35.block_with_preval.md
90
+ - test/tests/36.block_with_crossrefs.lmd
91
+ - test/tests/36.block_with_crossrefs.md
92
+ - test/tests/37.block_with_diff_start_pt.lmd
93
+ - test/tests/37.block_with_diff_start_pt.md
94
+ - test/tests/40.block_with_mixins.lmd
95
+ - test/tests/40.block_with_mixins.md
96
+ - test/tests/41.block_with_opt_clauses.lmd
97
+ - test/tests/41.block_with_opt_clauses.md
98
+ - test/tests/42.block_with_opt_clauses_and_mixins.lmd
99
+ - test/tests/42.block_with_opt_clauses_and_mixins.md
100
+ - test/tests/partials/z.partial1
101
+ - test/tests/partials/z.partial2
42
102
  homepage: http://github.com/compleatang/legal-markdown
43
103
  licenses: []
44
104
  post_install_message:
@@ -53,7 +113,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
53
113
  version: '0'
54
114
  segments:
55
115
  - 0
56
- hash: 3224213833953127737
116
+ hash: -4263874591834672768
57
117
  required_rubygems_version: !ruby/object:Gem::Requirement
58
118
  none: false
59
119
  requirements:
@@ -62,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
122
  version: '0'
63
123
  segments:
64
124
  - 0
65
- hash: 3224213833953127737
125
+ hash: -4263874591834672768
66
126
  requirements: []
67
127
  rubyforge_project:
68
128
  rubygems_version: 1.8.25
@@ -70,4 +130,64 @@ signing_key:
70
130
  specification_version: 3
71
131
  summary: Gem for parsing legal documents written in markdown for processing with legal
72
132
  specific requirements.
73
- test_files: []
133
+ test_files:
134
+ - test/test_legal_markdown_to_markdown.rb
135
+ - test/tests/00.load_write_no_action.lmd
136
+ - test/tests/00.load_write_no_action.md
137
+ - test/tests/01.load_partial_no_action.lmd
138
+ - test/tests/01.load_partial_no_action.md
139
+ - test/tests/02.load_partials_no_action.lmd
140
+ - test/tests/02.load_partials_no_action.md
141
+ - test/tests/10.mixins_in_headers_and_text.lmd
142
+ - test/tests/10.mixins_in_headers_and_text.md
143
+ - test/tests/11.mixins_in_today_function.lmd
144
+ - test/tests/11.mixins_in_today_function.md
145
+ - test/tests/12.opt_clauses_no_subs.lmd
146
+ - test/tests/12.opt_clauses_no_subs.md
147
+ - test/tests/13.opt_clauses_subs.lmd
148
+ - test/tests/13.opt_clauses_subs.md
149
+ - test/tests/14.opt_clauses_with_mixins.lmd
150
+ - test/tests/14.opt_clauses_with_mixins.md
151
+ - test/tests/20.block_no_addons.lmd
152
+ - test/tests/20.block_no_addons.md
153
+ - test/tests/21.block_no_indents.lmd
154
+ - test/tests/21.block_no_indents.md
155
+ - test/tests/22.block_all_indents.lmd
156
+ - test/tests/22.block_all_indents.md
157
+ - test/tests/23.block_all_indents.md
158
+ - test/tests/24.block_part_indents.lmd
159
+ - test/tests/24.block_part_indents.md
160
+ - test/tests/25.block_no_resets.lmd
161
+ - test/tests/25.block_no_resets.md
162
+ - test/tests/26.block_all_resets.lmd
163
+ - test/tests/26.block_all_resets.md
164
+ - test/tests/27.block_part_resets.lmd
165
+ - test/tests/27.block_part_resets.md
166
+ - test/tests/28.block_provs_multi_line_no_indent.lmd
167
+ - test/tests/28.block_provs_multi_line_no_indent.md
168
+ - test/tests/29.block_provs_multi_line_indents.lmd
169
+ - test/tests/29.block_provs_multi_line_indents.md
170
+ - test/tests/30.block_all_leader_types.lmd
171
+ - test/tests/30.block_all_leader_types.md
172
+ - test/tests/31.block_complex_leader_types.lmd
173
+ - test/tests/31.block_complex_leader_types.md
174
+ - test/tests/32.block_new_leader_style.lmd
175
+ - test/tests/32.block_new_leader_style.md
176
+ - test/tests/33.block_with_pre_simple.lmd
177
+ - test/tests/33.block_with_pre_simple.md
178
+ - test/tests/34.block_with_pre_complex.lmd
179
+ - test/tests/34.block_with_pre_complex.md
180
+ - test/tests/35.block_with_preval.lmd
181
+ - test/tests/35.block_with_preval.md
182
+ - test/tests/36.block_with_crossrefs.lmd
183
+ - test/tests/36.block_with_crossrefs.md
184
+ - test/tests/37.block_with_diff_start_pt.lmd
185
+ - test/tests/37.block_with_diff_start_pt.md
186
+ - test/tests/40.block_with_mixins.lmd
187
+ - test/tests/40.block_with_mixins.md
188
+ - test/tests/41.block_with_opt_clauses.lmd
189
+ - test/tests/41.block_with_opt_clauses.md
190
+ - test/tests/42.block_with_opt_clauses_and_mixins.lmd
191
+ - test/tests/42.block_with_opt_clauses_and_mixins.md
192
+ - test/tests/partials/z.partial1
193
+ - test/tests/partials/z.partial2