mediacloth 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mediacloth/mediawikiast.rb +42 -0
- data/lib/mediacloth/mediawikihtmlgenerator.rb +100 -29
- data/lib/mediacloth/mediawikilexer.rb +292 -37
- data/lib/mediacloth/mediawikilexer.rb~ +491 -0
- data/lib/mediacloth/mediawikiparser.rb +535 -173
- data/lib/mediacloth/mediawikiparser.y +183 -15
- data/lib/mediacloth/mediawikiparser.y~ +210 -0
- data/lib/mediacloth/mediawikiwalker.rb +56 -8
- data/test/data/html1 +1 -1
- data/test/data/html10 +98 -0
- data/test/data/html3 +1 -1
- data/test/data/html4 +11 -1
- data/test/data/html5 +5 -1
- data/test/data/html7 +1 -2
- data/test/data/html8 +1 -1
- data/test/data/html9 +6 -0
- data/test/data/input1 +5 -0
- data/test/data/input10 +124 -0
- data/test/data/input4 +50 -1
- data/test/data/input5 +8 -0
- data/test/data/input7 +35 -2
- data/test/data/input9 +14 -0
- data/test/data/lex1 +5 -1
- data/test/data/lex10 +87 -0
- data/test/data/lex4 +47 -1
- data/test/data/lex5 +7 -1
- data/test/data/lex7 +35 -2
- data/test/data/lex9 +14 -0
- data/test/dataproducers/html.rb +2 -2
- data/test/dataproducers/html.rb~ +24 -0
- data/test/dataproducers/lex.rb +3 -3
- data/test/dataproducers/lex.rb~ +15 -0
- data/test/debugwalker.rb +1 -1
- data/test/htmlgenerator.rb +5 -4
- data/test/lexer.rb +40 -3
- data/test/parser.rb +0 -1
- metadata +14 -3
data/test/parser.rb
CHANGED
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.
|
2
|
+
rubygems_version: 0.9.0
|
3
3
|
specification_version: 1
|
4
4
|
name: mediacloth
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
7
|
-
date:
|
6
|
+
version: 0.0.3
|
7
|
+
date: 2007-10-31 00:00:00 +02:00
|
8
8
|
summary: A MediaWiki syntax parser and HTML generator.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -25,15 +25,18 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
25
25
|
platform: ruby
|
26
26
|
signing_key:
|
27
27
|
cert_chain:
|
28
|
+
post_install_message:
|
28
29
|
authors:
|
29
30
|
- Pluron Inc.
|
30
31
|
files:
|
31
32
|
- lib/mediacloth
|
32
33
|
- lib/mediacloth.rb
|
33
34
|
- lib/mediacloth/mediawikihtmlgenerator.rb
|
35
|
+
- lib/mediacloth/mediawikilexer.rb~
|
34
36
|
- lib/mediacloth/mediawikiparams.rb
|
35
37
|
- lib/mediacloth/mediawikiwalker.rb
|
36
38
|
- lib/mediacloth/mediawikiparser.rb
|
39
|
+
- lib/mediacloth/mediawikiparser.y~
|
37
40
|
- lib/mediacloth/mediawikiparser.y
|
38
41
|
- lib/mediacloth/mediawikilexer.rb
|
39
42
|
- lib/mediacloth/mediawikiast.rb
|
@@ -52,6 +55,7 @@ files:
|
|
52
55
|
- test/data/lex6
|
53
56
|
- test/data/lex7
|
54
57
|
- test/data/lex8
|
58
|
+
- test/data/lex9
|
55
59
|
- test/data/result1
|
56
60
|
- test/data/html1
|
57
61
|
- test/data/html2
|
@@ -61,6 +65,9 @@ files:
|
|
61
65
|
- test/data/html6
|
62
66
|
- test/data/html7
|
63
67
|
- test/data/html8
|
68
|
+
- test/data/html9
|
69
|
+
- test/data/lex10
|
70
|
+
- test/data/html10
|
64
71
|
- test/data/input1
|
65
72
|
- test/data/input2
|
66
73
|
- test/data/input3
|
@@ -69,6 +76,10 @@ files:
|
|
69
76
|
- test/data/input6
|
70
77
|
- test/data/input7
|
71
78
|
- test/data/input8
|
79
|
+
- test/data/input9
|
80
|
+
- test/data/input10
|
81
|
+
- test/dataproducers/html.rb~
|
82
|
+
- test/dataproducers/lex.rb~
|
72
83
|
- test/dataproducers/lex.rb
|
73
84
|
- test/dataproducers/html.rb
|
74
85
|
- README
|