wikitext 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/ary.h +99 -0
- data/ext/depend +22 -0
- data/ext/extconf.rb +23 -0
- data/ext/parser.c +2174 -0
- data/ext/parser.h +31 -0
- data/ext/str.h +135 -0
- data/ext/token.c +109 -0
- data/ext/token.h +95 -0
- data/ext/wikitext.c +60 -0
- data/ext/wikitext.h +30 -0
- data/ext/wikitext_ragel.c +3354 -0
- data/ext/wikitext_ragel.h +17 -0
- data/spec/autolinking_spec.rb +122 -0
- data/spec/blockquote_spec.rb +570 -0
- data/spec/em_spec.rb +97 -0
- data/spec/encoding_spec.rb +124 -0
- data/spec/entity_spec.rb +40 -0
- data/spec/external_link_spec.rb +289 -0
- data/spec/h1_spec.rb +59 -0
- data/spec/h2_spec.rb +59 -0
- data/spec/h3_spec.rb +59 -0
- data/spec/h4_spec.rb +59 -0
- data/spec/h5_spec.rb +59 -0
- data/spec/h6_spec.rb +59 -0
- data/spec/indentation_spec.rb +70 -0
- data/spec/integration_spec.rb +265 -0
- data/spec/internal_link_spec.rb +445 -0
- data/spec/line_endings_spec.rb +81 -0
- data/spec/link_encoding_spec.rb +132 -0
- data/spec/link_sanitizing_spec.rb +228 -0
- data/spec/nowiki_spec.rb +155 -0
- data/spec/p_spec.rb +44 -0
- data/spec/pre_spec.rb +411 -0
- data/spec/regressions_spec.rb +45 -0
- data/spec/spec_helper.rb +77 -0
- data/spec/strong_em_spec.rb +89 -0
- data/spec/strong_spec.rb +99 -0
- data/spec/tokenizing_spec.rb +190 -0
- data/spec/tt_spec.rb +100 -0
- data/spec/ul_spec.rb +307 -0
- data/spec/wikitext_spec.rb +50 -0
- metadata +93 -0
metadata
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wikitext
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: "0.1"
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Wincent Colaiuta
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-02-13 00:00:00 +01:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: Wikitext is a fast wikitext-to-HTML translator written in C.
|
17
|
+
email: win@wincent.com
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions:
|
21
|
+
- ext/extconf.rb
|
22
|
+
extra_rdoc_files: []
|
23
|
+
|
24
|
+
files:
|
25
|
+
- spec/autolinking_spec.rb
|
26
|
+
- spec/blockquote_spec.rb
|
27
|
+
- spec/em_spec.rb
|
28
|
+
- spec/encoding_spec.rb
|
29
|
+
- spec/entity_spec.rb
|
30
|
+
- spec/external_link_spec.rb
|
31
|
+
- spec/h1_spec.rb
|
32
|
+
- spec/h2_spec.rb
|
33
|
+
- spec/h3_spec.rb
|
34
|
+
- spec/h4_spec.rb
|
35
|
+
- spec/h5_spec.rb
|
36
|
+
- spec/h6_spec.rb
|
37
|
+
- spec/indentation_spec.rb
|
38
|
+
- spec/integration_spec.rb
|
39
|
+
- spec/internal_link_spec.rb
|
40
|
+
- spec/line_endings_spec.rb
|
41
|
+
- spec/link_encoding_spec.rb
|
42
|
+
- spec/link_sanitizing_spec.rb
|
43
|
+
- spec/nowiki_spec.rb
|
44
|
+
- spec/p_spec.rb
|
45
|
+
- spec/pre_spec.rb
|
46
|
+
- spec/regressions_spec.rb
|
47
|
+
- spec/spec_helper.rb
|
48
|
+
- spec/strong_em_spec.rb
|
49
|
+
- spec/strong_spec.rb
|
50
|
+
- spec/tokenizing_spec.rb
|
51
|
+
- spec/tt_spec.rb
|
52
|
+
- spec/ul_spec.rb
|
53
|
+
- spec/wikitext_spec.rb
|
54
|
+
- ext/extconf.rb
|
55
|
+
- ext/parser.c
|
56
|
+
- ext/token.c
|
57
|
+
- ext/wikitext.c
|
58
|
+
- ext/wikitext_ragel.c
|
59
|
+
- ext/ary.h
|
60
|
+
- ext/parser.h
|
61
|
+
- ext/str.h
|
62
|
+
- ext/token.h
|
63
|
+
- ext/wikitext.h
|
64
|
+
- ext/wikitext_ragel.h
|
65
|
+
- ext/depend
|
66
|
+
has_rdoc: true
|
67
|
+
homepage: http://wikitext.rubyforge.org/
|
68
|
+
post_install_message:
|
69
|
+
rdoc_options: []
|
70
|
+
|
71
|
+
require_paths:
|
72
|
+
- ext
|
73
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: "0"
|
78
|
+
version:
|
79
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: "0"
|
84
|
+
version:
|
85
|
+
requirements: []
|
86
|
+
|
87
|
+
rubyforge_project: wikitext
|
88
|
+
rubygems_version: 1.0.1
|
89
|
+
signing_key:
|
90
|
+
specification_version: 2
|
91
|
+
summary: Wikitext-to-HTML translator
|
92
|
+
test_files: []
|
93
|
+
|