nydp-html 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 85b8b871b325a09e1ed4092544af3205820e3185
4
- data.tar.gz: 0138daad46a200840138859679f2a2b2d7987c8d
3
+ metadata.gz: 751aa88fd39cb3d8f3a95ade9ed8160572f45092
4
+ data.tar.gz: 43f776df056578e92a468cbabd376cf4d2839433
5
5
  SHA512:
6
- metadata.gz: 7e5afdc1dfd90171a94ef3e0e7bcc66e4d44bc076cdbfccb7358cb03fd0025a9576a575a8df6110b50c7813bf2f14ed92444d66123dcf41400e9a828b11663a0
7
- data.tar.gz: 864f724f996c71ec0f0a61f7b486cbcb87bd86002d0ddd1fd14c7de8fed1363c9dbb116e8e08b3dead3102f92a0756fe01648830ffe2a4ccc8d4d8737db41057
6
+ metadata.gz: f1f82b3e379729919d5c1338dd33834d8c490acd9fa502cdd0cf53ceb9185fcae02f132717ae0b5a456748366fdcedac0f5d95a42716db7bf4684a63bd2dc65a
7
+ data.tar.gz: 0cc111be4533c79bb865e85b7a42f3952bbc082ecc4a7cdcac08136be730634d980617fa748b498b10308d94bf860227c0abe6ae75ec1859ccdc63978b54cf70
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014 conanite
1
+ Copyright (c) 2014-2016 Conan Dalton conan@conandalton.net
2
2
 
3
3
  MIT License
4
4
 
@@ -23,25 +23,46 @@ Also provides percent-syntax for concise html-generation in nydp, for example
23
23
  (splot (or (hash-get hsh part)
24
24
  part)))))
25
25
 
26
- (def html-split-fn (seq sep hsh escapef)
26
+ (def html-split-fn (seq sep hsh escapef piece-handler)
27
27
  (fn (piece)
28
28
  (if (isa 'string piece)
29
29
  piece
30
30
  (let key (j "hsf:" (seq) ":hsf")
31
- (hash-set hsh key `(interpolate ,piece))
31
+ (hash-set hsh key (piece-handler piece))
32
32
  (escapef:j sep key sep)))))
33
33
 
34
- (def html-process-parts (parts converter)
35
- (with (hsh (hash)
36
- sep (random-string 12))
37
- (html-resplit (string-split (converter.method
38
- (j:map (html-split-fn (seqf 0) sep hsh converter.esc)
39
- parts))
40
- sep)
41
- hsh)))
34
+ (def html-build-processor (converter)
35
+ (with (hsh (hash)
36
+ sep (random-string 12))
37
+ { method converter.method
38
+ processor (html-split-fn (seqf 0)
39
+ sep
40
+ hsh
41
+ (or converter.esc x1)
42
+ (or converter.interpolate interpolatify))
43
+ hsh hsh
44
+ sep sep }))
45
+
46
+ (def interpolatify (arg) `(interpolate ,arg))
47
+
48
+ (def html-process-parts (parts processor)
49
+ ; 'parts a mixed list containing strings or uncompiled lisp forms - the cdr of 'string-pieces after parting a string with interpolations
50
+ ; 'converter is a hash with the following keys
51
+ ; * method - textile-to-html, haml-to-html, or strip-nydp-tags, or anything that takes a string and returns a string
52
+ ; * esc - a function that takes a string and returns another string such that when 'method processes the result, the original string is returned. For example, if 'method is 'textile-to-html, then 'esc could be (fn (txt) "==~|txt|==") because "==" is used by textile to mark text not-to-be-processed.
53
+ ; * interpolator - a function that takes an uncompiled lisp form and returns another uncompiled lisp form such that when executed in the context of 'string-pieces will give the desired result
54
+ ; returns a mixed list containing strings or uncompiled lisp forms such that the concatenation of the list is html output by converter.method (the textile, haml, or other processor)
55
+ (html-resplit (string-split (processor.method (j:map processor.processor parts))
56
+ processor.sep)
57
+ processor.hsh))
42
58
 
43
59
  (def html-build-interpolator (pieces converter)
44
- `(string-pieces ,@(html-process-parts pieces converter)))
60
+ `(string-pieces ,@(html-process-parts pieces (html-build-processor converter))))
61
+
62
+ (def strip-nydp-tags (txt)
63
+ ; remove <nydp> and </nydp> tags from given 'txt, some editing environments (ckeditor) may require such tags
64
+ ; in order to protect active content from reformatting or other transformations
65
+ (string-replace "</?nydp>" "" txt))
45
66
 
46
67
  (mac render-as-html (arg)
47
68
  ; produce code to convert 'arg to html using a null interpreter.
@@ -59,7 +80,7 @@ Also provides percent-syntax for concise html-generation in nydp, for example
59
80
  arg
60
81
  (and (pair? arg)
61
82
  (eq? 'string-pieces (car arg)))
62
- (html-build-interpolator (cdr arg) { method x1 esc x1 })
83
+ (html-build-interpolator (cdr arg) { method strip-nydp-tags esc x1 })
63
84
  arg))
64
85
 
65
86
  (mac render-as-haml (arg)
@@ -92,6 +113,14 @@ Also provides percent-syntax for concise html-generation in nydp, for example
92
113
  (html-build-interpolator (cdr arg) { method textile-to-html esc notextile-esc })
93
114
  `(textile-to-html ,arg)))
94
115
 
116
+ (def textile-to-html-source (doc)
117
+ (if (isa 'string doc)
118
+ (textile-to-html doc)
119
+ (and (pair? arg)
120
+ (eq? 'string-pieces (car arg)))
121
+ (html-build-interpolator (cdr arg) { method textile-to-html esc notextile-esc })
122
+ (error "can't convert doc to html: not a string")))
123
+
95
124
  (def to-css-rule (prop val) (joinstr "" prop ":" val ";"))
96
125
 
97
126
  (def to-css (hsh)
@@ -133,8 +162,11 @@ Also provides percent-syntax for concise html-generation in nydp, for example
133
162
  (+ `(class ,(joinstr " " (cdr dot-params))) attrs)))
134
163
  (build-html-tag-fn (to-string tagname) attrs)))
135
164
 
136
- (mac percent-syntax names
137
- (html-percent-syntax (cadr names) nil))
165
+ (mac percent-syntax (empty . names)
166
+ (let name (car names)
167
+ (if (caris 'colon-syntax name)
168
+ `(colon-syntax ,(html-percent-syntax (cadr name) nil) ,@(cddr name))
169
+ (html-percent-syntax name nil))))
138
170
 
139
171
  (define-prefix-list-macro "^%.+" vars expr
140
172
  ; allows (%a(href "/fr/index") "click" name)
@@ -160,3 +192,5 @@ Also provides percent-syntax for concise html-generation in nydp, for example
160
192
  (string-replace ">" "&gt;"
161
193
  (string-replace "<" "&lt;"
162
194
  (string-replace "&" "&amp;" txt))))
195
+
196
+ (def/cycler rowclass (oddrow evenrow))
@@ -17,7 +17,7 @@
17
17
  (%div.key k)
18
18
  "-&gt;"
19
19
  (%div.keyvalue (helpful/type thing.,k))))
20
- (hash-keys thing)))
20
+ (sort:hash-keys thing)))
21
21
 
22
22
  (def helpful/info (thing)
23
23
  ; tries to say something useful about the thing
@@ -0,0 +1,96 @@
1
+ (chapter-start 'html-help "Utilities for generating html-formatted documentation")
2
+
3
+ (def helpful/chapters/path (chapter-name)
4
+ ; override this to customise for your own application's routes
5
+ "/dox/chapters/~chapter-name")
6
+
7
+ (def helpful/items/path (item-name)
8
+ ; override this to customise for your own application's routes
9
+ "/dox/items/~(percent-encode item-name)")
10
+
11
+ (defmemo helpful/chapters/index ()
12
+ ; return a HTML table element with a row for each chapter. Each row provides a link to the chapter,
13
+ ; the chapter descripton, and chapter content names
14
+ (%table.chapters
15
+ (mapx (sort (chapter-names)) chap
16
+ (%tr (%td (%a(href (helpful/chapters/path chap)) chap))
17
+ (let chapter (chapter-find chap)
18
+ (j (%td chapter.description)
19
+ (%td (joinstr "\n"
20
+ (map λi(%a.item(href (helpful/items/path i.name)) (hesc i.name))
21
+ chapter.contents)))))))))
22
+
23
+ (defmemo helpful/chapters/show (chapter-name)
24
+ ; return a HTML div element containing a paragraph for the chapter description, and a table element
25
+ ; containing a row for each item. Each item row provides a link to the item, the item type, and
26
+ ; the item documentation
27
+ (let chapter (chapter-find chapter-name)
28
+ (%div (%p chapter.description)
29
+ (%table.chapter-items
30
+ (mapx (sort-by &name chapter.contents) item-group
31
+ (mapx item-group item
32
+ (%tr(class (rowclass))
33
+ (%td item.what)
34
+ (%td (%a.item(href (helpful/items/path item.name)) item.name))
35
+ (%td (render-as-textile (joinstr "\n" item.texts))))))))))
36
+
37
+
38
+ ; generate html to present documentation for a 'def or a 'mac
39
+ (def helpful/item/def (item)
40
+ (%div.item-info
41
+ (%h4 (%span.type item.what) " "
42
+ (%span.name item.name) " "
43
+ (%span.small.args (inspect item.args)))
44
+ (%p.small "Defined in " (%b (inspect item.file)) " in plugin " (%b (inspect item.plugin)))
45
+ (%p
46
+ (j:map λc(%a.chapter(href (helpful/chapters/path c)) c) item.chapters)
47
+ (render-as-textile (joinstr "\n" item.texts)))
48
+ (%h4 "Source")
49
+ (%pre.source (preserve:hesc:dox-show-src item.src))))
50
+
51
+ ; generate html documentation for a setting
52
+ (def helpful/item/setting (item)
53
+ (%div.item-info
54
+ (%h4 (%span.type item.setting.context) " " (%span.name item.name))
55
+ (%p (j:map λc(%a.chapter(href (helpful/chapters/path c)) c) item.chapters)
56
+ (render-as-textile (joinstr "\n" item.texts)))
57
+ (%h4 "Current value (evaluated)")
58
+ (%pre.source:setting item.setting.name)
59
+ (%h4 "Definitions and sources")
60
+ (%table.setting-values (settings/values/help item.values))))
61
+
62
+ (assign helpful/handlers
63
+ {
64
+ def helpful/item/def
65
+ mac helpful/item/def
66
+ setting helpful/item/setting
67
+ })
68
+
69
+ (def helpful/item/info (item)
70
+ ((hash-get helpful/handlers item.what) item))
71
+
72
+ (def helpful/item/example (example)
73
+ (%div.item-example
74
+ (%h5 "example: " (%b (car example)))
75
+ (%pre.source (preserve:hesc:dox-show-src:cadr example))
76
+ (%pre.source (preserve:hesc:dox-show-src:caddr example))))
77
+
78
+ (defmemo helpful/item (item-name)
79
+ ; return a HTML div element with lots of information about the named item
80
+ (with (items (dox-lookup item-name)
81
+ examples (dox-examples item-name))
82
+ (%div.items-info
83
+ (j:map λi(helpful/item/info i) items)
84
+ (%h4 "Examples")
85
+ (j:map λx(map λy(helpful/item/example y) x) examples))))
86
+
87
+ ; show history of setters for this item
88
+ (def settings/values/help (values)
89
+ (map-inline values val
90
+ (%tr (%td val.plugin) (%td val.script) (%td (%pre.source:preserve:hesc:dox-show-src val.value)))))
91
+
92
+ ; show history of setters for item with given name, except for initial default value
93
+ (def settings/values (name) (aif (dox-item-by-type 'setting (sym name)) (settings/values/help (all-but-last it.values))))
94
+
95
+ ; generate html documentation for the setting with the given name
96
+ (def settings/help (name) (settings/help/item (dox-item-by-type 'setting (sym name))))
@@ -1,4 +1,3 @@
1
- ;; this function and the following example are used as test-cases in examples-for help
2
1
  (def test-example-f (foo)
3
2
  ; more than just foo
4
3
  (+ 2 foo))
@@ -48,8 +47,7 @@ more than just foo
48
47
 
49
48
  source
50
49
  ======
51
- (def test-example-f (foo)
52
- (+ 2 foo))
50
+ (def test-example-f (foo) (+ 2 foo))
53
51
 
54
52
 
55
53
  <div class='helpful-examples'><h2>Examples for <span class='example-name'>test-example-f</span></h2><pre class='helpful-example'>test-example-f adds two to 45
@@ -30,3 +30,16 @@
30
30
  "</li>\n <li>item " (interpolate (assign counter (+ counter 1)))
31
31
  "</li>\n <li>item " (interpolate (assign counter (+ counter 1)))
32
32
  "</li>\n</ul>\n")))
33
+
34
+ (examples-for strip-nydp-tags
35
+ ("does nothing to an empty string"
36
+ (strip-nydp-tags "")
37
+ "")
38
+
39
+ ("does nothing to an ordinary string with no nydp tag"
40
+ (strip-nydp-tags "hello nothing to see here")
41
+ "hello nothing to see here")
42
+
43
+ ("removes <nydp> and </nydp> tags from given string"
44
+ (strip-nydp-tags "blah blah <nydp>\~(blah)</nydp> more blah")
45
+ "blah blah \~(blah) more blah"))
@@ -49,9 +49,17 @@
49
49
  (%p "hello " (%b.thick.dense "you") " over " (%i "there"))
50
50
  "<p>hello <b class='thick dense'>you</b> over <i>there</i></p>")
51
51
 
52
+ ("combine with colon syntax : precompile"
53
+ (pre-compile:car:parse "%th:len")
54
+ (fn args ((fn args (apply html-tag "th" nil args)) (apply len args))))
55
+
56
+ ("combine with colon syntax"
57
+ (%th:len "foobar")
58
+ "<th>6</th>")
59
+
52
60
  ("does not insert empty 'brace-list for no attributes"
53
61
  (pre-compile '(%p foo))
54
- ((curry html-tag "p" nil) foo)))
62
+ ((fn args (apply html-tag "p" nil args)) foo))
55
63
 
56
64
  (examples-for prefix-list
57
65
  ("generates a simple html tag with attributes"
@@ -20,5 +20,5 @@
20
20
  "a-b")
21
21
 
22
22
  ("escapes a bunch of stuff in the same string"
23
- (percent-encode "x[y?]=a&b%c")
24
- "x%5By%3F%5D=a&b%25c"))
23
+ (percent-encode "x[y?]=a&b%c/d")
24
+ "x%5By%3F%5D=a&b%25c%2Fd"))
@@ -1,26 +1,25 @@
1
- (register-test
2
- '(suite "textile"
3
- ("build a function to render a given textile string with the given arguments"
4
- (pre-compile '(render-as-textile "hello ~context.name this file was in ~(just source.name)."))
5
- (string-pieces
6
- "<p>hello "
7
- (interpolate (hash-get context 'name))
8
- " this file was in "
9
- (interpolate (hash-get source 'name))
10
- ".</p>"))
11
-
12
- ("render a plain textile string to html"
13
- (render-as-textile "h1. header text
1
+ (examples-for render-as-textile
2
+ ("build a function to render a given textile string with the given arguments"
3
+ (pre-compile '(render-as-textile "hello ~context.name this file was in ~(just source.name)."))
4
+ (string-pieces
5
+ "<p>hello "
6
+ (interpolate (hash-get context 'name))
7
+ " this file was in "
8
+ (interpolate (hash-get source 'name))
9
+ ".</p>"))
10
+
11
+ ("render a plain textile string to html"
12
+ (render-as-textile "h1. header text
14
13
 
15
14
  paragraph text
16
15
 
17
16
  * item 1
18
17
  * item 2
19
18
  ")
20
- "<h1>header text</h1>\n<p>paragraph text</p>\n<ul>\n\t<li>item 1</li>\n\t<li>item 2</li>\n</ul>")
19
+ "<h1>header text</h1>\n<p>paragraph text</p>\n<ul>\n\t<li>item 1</li>\n\t<li>item 2</li>\n</ul>")
21
20
 
22
- ("compile a string with interpolations to an instruction to generate textile"
23
- (pre-compile '(render-as-textile "h1. HEADER
21
+ ("compile a string with interpolations to an instruction to generate textile"
22
+ (pre-compile '(render-as-textile "h1. HEADER
24
23
 
25
24
  ~a and ~b and ~(c 3)
26
25
 
@@ -29,39 +28,39 @@ paragraph text
29
28
  * item ~(assign counter (+ counter 1))
30
29
  "))
31
30
 
32
- (string-pieces "<h1>HEADER</h1>\n<p>"
33
- (interpolate a) " and " (interpolate b) " and " (interpolate (c 3))
34
- "</p>\n<ul>\n\t<li>item " (interpolate (assign counter (+ counter 1)))
35
- "</li>\n\t<li>item " (interpolate (assign counter (+ counter 1)))
36
- "</li>\n\t<li>item " (interpolate (assign counter (+ counter 1)))
37
- "</li>\n</ul>"))
31
+ (string-pieces "<h1>HEADER</h1>\n<p>"
32
+ (interpolate a) " and " (interpolate b) " and " (interpolate (c 3))
33
+ "</p>\n<ul>\n\t<li>item " (interpolate (assign counter (+ counter 1)))
34
+ "</li>\n\t<li>item " (interpolate (assign counter (+ counter 1)))
35
+ "</li>\n\t<li>item " (interpolate (assign counter (+ counter 1)))
36
+ "</li>\n</ul>"))
38
37
 
39
- ("compile a function invocation to render as textile"
40
- (pre-compile '(render-as-textile a))
41
- (textile-to-html a))
38
+ ("compile a function invocation to render as textile"
39
+ (pre-compile '(render-as-textile a))
40
+ (textile-to-html a))
42
41
 
43
- ("compile a plain string with no interpolations to an instruction to generate textile"
44
- (pre-compile '(render-as-textile "h1. HEADER
42
+ ("compile a plain string with no interpolations to an instruction to generate textile"
43
+ (pre-compile '(render-as-textile "h1. HEADER
45
44
 
46
45
  para
47
46
 
48
47
  * item 1
49
48
  * item 2
50
49
  "))
51
- "<h1>HEADER</h1>\n<p>para</p>\n<ul>\n\t<li>item 1</li>\n\t<li>item 2</li>\n</ul>")
50
+ "<h1>HEADER</h1>\n<p>para</p>\n<ul>\n\t<li>item 1</li>\n\t<li>item 2</li>\n</ul>")
52
51
 
53
- ("compile a simple string with one interpolation to render html"
54
- (pre-compile '(render-as-textile "hello ~name "))
55
- (string-pieces "<p>hello " (interpolate name) "</p>"))
52
+ ("compile a simple string with one interpolation to render html"
53
+ (pre-compile '(render-as-textile "hello ~name "))
54
+ (string-pieces "<p>hello " (interpolate name) "</p>"))
56
55
 
57
- ("render a simple string with one interpolation to html"
58
- (let name "conan"
59
- (render-as-textile "hello ~name "))
60
- "<p>hello conan</p>")
56
+ ("render a simple string with one interpolation to html"
57
+ (let name "conan"
58
+ (render-as-textile "hello ~name "))
59
+ "<p>hello conan</p>")
61
60
 
62
- ("render a string with interpolations to html"
63
- (with (a 1 b 2 c (fn (x) (* 2 x)) counter 0)
64
- (render-as-textile "h1. HEADER
61
+ ("render a string with interpolations to html"
62
+ (with (a 1 b 2 c (fn (x) (* 2 x)) counter 0)
63
+ (render-as-textile "h1. HEADER
65
64
 
66
65
  ~a and ~b and ~(c 3)
67
66
 
@@ -70,20 +69,20 @@ para
70
69
  * item ~(assign counter (+ counter 1))
71
70
  "))
72
71
 
73
- "<h1>HEADER</h1>\n<p>1 and 2 and 6</p>\n<ul>\n\t<li>item 1</li>\n\t<li>item 2</li>\n\t<li>item 3</li>\n</ul>")
72
+ "<h1>HEADER</h1>\n<p>1 and 2 and 6</p>\n<ul>\n\t<li>item 1</li>\n\t<li>item 2</li>\n\t<li>item 3</li>\n</ul>")
74
73
 
75
- ("render a string with no interpolations to html"
76
- (with (a "hello, world") (render-as-textile a))
74
+ ("render a string with no interpolations to html"
75
+ (with (a "hello, world") (render-as-textile a))
77
76
 
78
- "<p>hello, world</p>")
77
+ "<p>hello, world</p>")
79
78
 
80
- ("render a string containing only a single interpolation"
81
- (with (π 3.14 r 12) (render-as-textile "~(* (* r r) π)"))
79
+ ("render a string containing only a single interpolation"
80
+ (with (π 3.14 r 12) (render-as-textile "~(* (* r r) π)"))
82
81
 
83
- "452.16")
82
+ "452.16")
84
83
 
85
- ("render a longer multi-line string with some lines containing only a single interpolation"
86
- (with (π 3.14 r 12) (render-as-textile "Start
84
+ ("render a longer multi-line string with some lines containing only a single interpolation"
85
+ (with (π 3.14 r 12) (render-as-textile "Start
87
86
 
88
87
  ~(* (* r r) π)
89
88
 
@@ -94,4 +93,4 @@ para
94
93
  end
95
94
  "))
96
95
 
97
- "<p>Start</p>\n452.16<p>-*-</p>\n904.32<p>end</p>")))
96
+ "<p>Start</p>\n452.16<p>-*-</p>\n904.32<p>end</p>"))
@@ -0,0 +1,30 @@
1
+ (examples-for textile-to-html-source
2
+ ("returns a html string for a textile string"
3
+ (textile-to-html-source "h1. hello
4
+
5
+ * item 1
6
+ * item 2
7
+
8
+ bye")
9
+ "<h1>hello</h1>
10
+ <ul>
11
+ \t<li>item 1</li>
12
+ \t<li>item 2</li>
13
+ </ul>
14
+ <p>bye</p>")
15
+
16
+ ("returns a html string with interpolations for a textile string with interpolations"
17
+ (textile-to-html-source "h1. hello
18
+
19
+ * item ~~first
20
+ * item ~~(second items)
21
+
22
+ bye")
23
+ "<h1>hello</h1>
24
+ <ul>
25
+ \t<li>item ~~first</li>
26
+ \t<li>item ~~(second items)</li>
27
+ </ul>
28
+ <p>bye</p>")
29
+
30
+ )
@@ -42,7 +42,7 @@ module Nydp
42
42
  end
43
43
 
44
44
  def percent_encode s
45
- s.gsub('%', '%25').gsub(/[ \n"\?.<>\\^_`{\|}~\[\]]/) { |x| "%%%2X" % x.ord }
45
+ s.gsub('%', '%25').gsub(/[ \n"\?.<>\\^_`{\|}~\[\]\/]/) { |x| "%%%2X" % x.ord }
46
46
  end
47
47
  end
48
48
 
@@ -1,5 +1,5 @@
1
1
  module Nydp
2
2
  module Html
3
- VERSION = "0.0.16"
3
+ VERSION = "0.0.17"
4
4
  end
5
5
  end
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency 'rspec', '~> 3.1'
25
25
  spec.add_development_dependency 'rspec_numbering_formatter'
26
26
 
27
- spec.add_dependency 'nydp', '~> 0.2.1'
27
+ spec.add_dependency 'nydp', '~> 0.4.2'
28
28
  spec.add_dependency 'haml', '~> 4.0'
29
29
  spec.add_dependency 'haml-contrib'
30
30
  spec.add_dependency 'RedCloth'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nydp-html
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Conan Dalton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-24 00:00:00.000000000 Z
11
+ date: 2018-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.2.1
75
+ version: 0.4.2
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.2.1
82
+ version: 0.4.2
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: haml
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -138,6 +138,7 @@ files:
138
138
  - bin/nydp-tests
139
139
  - lib/lisp/html-010-tools.nydp
140
140
  - lib/lisp/html-020-help.nydp
141
+ - lib/lisp/html-030-html-documentation.nydp
141
142
  - lib/lisp/tests/haml-tests.nydp
142
143
  - lib/lisp/tests/help-examples.nydp
143
144
  - lib/lisp/tests/hesc-examples.nydp
@@ -145,6 +146,7 @@ files:
145
146
  - lib/lisp/tests/html-tag-tests.nydp
146
147
  - lib/lisp/tests/percent-encode-examples.nydp
147
148
  - lib/lisp/tests/textile-tests.nydp
149
+ - lib/lisp/tests/textile-to-source-examples.nydp
148
150
  - lib/lisp/tests/to-url-examples.nydp
149
151
  - lib/nydp/html.rb
150
152
  - lib/nydp/html/version.rb