bluecloth 2.0.5-x86-mingw32 → 2.0.6.pre120-x86-mingw32
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.
- data/ChangeLog +242 -663
- data/LICENSE +1 -1
- data/README +2 -2
- data/Rakefile +40 -37
- data/Rakefile.local +21 -41
- data/ext/VERSION +1 -1
- data/ext/bluecloth.c +17 -3
- data/ext/bluecloth.h +19 -0
- data/ext/config.h +4 -0
- data/ext/cstring.h +3 -2
- data/ext/extconf.rb +5 -1
- data/ext/generate.c +148 -27
- data/ext/markdown.c +135 -27
- data/ext/markdown.h +3 -2
- data/ext/mkdio.h +1 -0
- data/lib/1.8/bluecloth_ext.so +0 -0
- data/lib/1.9/bluecloth_ext.so +0 -0
- data/lib/bluecloth.rb +11 -8
- data/rake/helpers.rb +23 -1
- data/rake/hg.rb +70 -11
- data/rake/manual.rb +1 -1
- data/rake/packaging.rb +25 -34
- data/rake/publishing.rb +15 -67
- data/spec/bluecloth/blockquotes_spec.rb +24 -22
- data/spec/bluecloth_spec.rb +31 -0
- data/spec/bugfix_spec.rb +37 -1
- data/spec/discount_spec.rb +117 -0
- data/spec/markdowntest_spec.rb +8 -8
- metadata +11 -135
data/spec/markdowntest_spec.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
BEGIN {
|
4
4
|
require 'pathname'
|
5
5
|
basedir = Pathname.new( __FILE__ ).dirname.parent
|
6
|
-
|
6
|
+
|
7
7
|
libdir = basedir + 'lib'
|
8
8
|
extdir = basedir + 'ext'
|
9
|
-
|
9
|
+
|
10
10
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
11
11
|
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
12
12
|
}
|
@@ -33,7 +33,7 @@ describe BlueCloth, "-- MarkdownTest 1.0.3: " do
|
|
33
33
|
before( :all ) do
|
34
34
|
soext = Config::CONFIG['LIBRUBY_ALIASES'].sub( /.*\./, '' )
|
35
35
|
@dlname = "libtidy.#{soext}"
|
36
|
-
|
36
|
+
|
37
37
|
begin
|
38
38
|
DL.dlopen( @dlname )
|
39
39
|
rescue RuntimeError => err
|
@@ -46,7 +46,7 @@ describe BlueCloth, "-- MarkdownTest 1.0.3: " do
|
|
46
46
|
@have_libtidy = true
|
47
47
|
@tidy_error = nil
|
48
48
|
end
|
49
|
-
|
49
|
+
|
50
50
|
begin
|
51
51
|
require 'tidy'
|
52
52
|
rescue LoadError, NameError => err
|
@@ -55,12 +55,12 @@ describe BlueCloth, "-- MarkdownTest 1.0.3: " do
|
|
55
55
|
end
|
56
56
|
|
57
57
|
end
|
58
|
-
|
58
|
+
|
59
59
|
before( :each ) do
|
60
60
|
pending( "These tests require the tidy library: #@tidy_error" ) unless @have_libtidy
|
61
61
|
end
|
62
|
-
|
63
|
-
|
62
|
+
|
63
|
+
|
64
64
|
markdowntest_dir = Pathname.new( __FILE__ ).dirname + 'data/markdowntest'
|
65
65
|
pattern = markdowntest_dir + '*.text'
|
66
66
|
Pathname.glob( pattern.to_s ).each do |textfile|
|
@@ -70,7 +70,7 @@ describe BlueCloth, "-- MarkdownTest 1.0.3: " do
|
|
70
70
|
markdown = textfile.read
|
71
71
|
expected = resultfile.read
|
72
72
|
options = { :smartypants => false }
|
73
|
-
|
73
|
+
|
74
74
|
the_markdown( markdown, options ).should be_transformed_into_normalized_html( expected )
|
75
75
|
end
|
76
76
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bluecloth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.6.pre120
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -9,139 +9,10 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-15 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
name: text-format
|
17
|
-
type: :development
|
18
|
-
version_requirement:
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 1.0.0
|
24
|
-
version:
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: termios
|
27
|
-
type: :development
|
28
|
-
version_requirement:
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: "0"
|
34
|
-
version:
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: rubyforge
|
37
|
-
type: :development
|
38
|
-
version_requirement:
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
40
|
-
requirements:
|
41
|
-
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: "0"
|
44
|
-
version:
|
45
|
-
- !ruby/object:Gem::Dependency
|
46
|
-
name: rspec
|
47
|
-
type: :development
|
48
|
-
version_requirement:
|
49
|
-
version_requirements: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - ">="
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: "0"
|
54
|
-
version:
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
57
|
-
type: :development
|
58
|
-
version_requirement:
|
59
|
-
version_requirements: !ruby/object:Gem::Requirement
|
60
|
-
requirements:
|
61
|
-
- - ">="
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: 0.8.1
|
64
|
-
version:
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: libxml-ruby
|
67
|
-
type: :development
|
68
|
-
version_requirement:
|
69
|
-
version_requirements: !ruby/object:Gem::Requirement
|
70
|
-
requirements:
|
71
|
-
- - ">="
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: 0.8.3
|
74
|
-
version:
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: ultraviolet
|
77
|
-
type: :development
|
78
|
-
version_requirement:
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - ">="
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: 0.10.2
|
84
|
-
version:
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: tmail
|
87
|
-
type: :development
|
88
|
-
version_requirement:
|
89
|
-
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
requirements:
|
91
|
-
- - ">="
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: 1.2.3.1
|
94
|
-
version:
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: amatch
|
97
|
-
type: :development
|
98
|
-
version_requirement:
|
99
|
-
version_requirements: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 0.2.3
|
104
|
-
version:
|
105
|
-
- !ruby/object:Gem::Dependency
|
106
|
-
name: rcov
|
107
|
-
type: :development
|
108
|
-
version_requirement:
|
109
|
-
version_requirements: !ruby/object:Gem::Requirement
|
110
|
-
requirements:
|
111
|
-
- - ">="
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version: "0"
|
114
|
-
version:
|
115
|
-
- !ruby/object:Gem::Dependency
|
116
|
-
name: RedCloth
|
117
|
-
type: :development
|
118
|
-
version_requirement:
|
119
|
-
version_requirements: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - ">="
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: 4.0.3
|
124
|
-
version:
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rdoc
|
127
|
-
type: :development
|
128
|
-
version_requirement:
|
129
|
-
version_requirements: !ruby/object:Gem::Requirement
|
130
|
-
requirements:
|
131
|
-
- - ">="
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: 2.4.3
|
134
|
-
version:
|
135
|
-
- !ruby/object:Gem::Dependency
|
136
|
-
name: rcodetools
|
137
|
-
type: :development
|
138
|
-
version_requirement:
|
139
|
-
version_requirements: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - ">="
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
version: 0.7.0.0
|
144
|
-
version:
|
14
|
+
dependencies: []
|
15
|
+
|
145
16
|
description: |-
|
146
17
|
BlueCloth is a Ruby implementation of [Markdown][1], a text-to-HTML conversion
|
147
18
|
tool for web writers. To quote from the project page: Markdown allows you to
|
@@ -157,6 +28,7 @@ extra_rdoc_files:
|
|
157
28
|
- ChangeLog
|
158
29
|
- README
|
159
30
|
- LICENSE
|
31
|
+
- LICENSE.discount
|
160
32
|
files:
|
161
33
|
- Rakefile
|
162
34
|
- ChangeLog
|
@@ -197,6 +69,7 @@ files:
|
|
197
69
|
- ext/xml.c
|
198
70
|
- ext/xmlpage.c
|
199
71
|
- ext/amalloc.h
|
72
|
+
- ext/bluecloth.h
|
200
73
|
- ext/config.h
|
201
74
|
- ext/cstring.h
|
202
75
|
- ext/markdown.h
|
@@ -266,6 +139,9 @@ files:
|
|
266
139
|
- ./spec/data/markdowntest/Tidyness.html
|
267
140
|
- ./ext/VERSION
|
268
141
|
- Rakefile.local
|
142
|
+
- LICENSE.discount
|
143
|
+
- lib/1.8/bluecloth_ext.so
|
144
|
+
- lib/1.9/bluecloth_ext.so
|
269
145
|
has_rdoc: true
|
270
146
|
homepage: http://deveiate.org/projects/BlueCloth/
|
271
147
|
licenses: []
|
@@ -300,8 +176,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
300
176
|
version:
|
301
177
|
requirements: []
|
302
178
|
|
303
|
-
rubyforge_project:
|
304
|
-
rubygems_version: 1.3.
|
179
|
+
rubyforge_project:
|
180
|
+
rubygems_version: 1.3.5
|
305
181
|
signing_key:
|
306
182
|
specification_version: 3
|
307
183
|
summary: BlueCloth is a Ruby implementation of Markdown
|