bluecloth 2.0.10 → 2.0.11pre158
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/.gemtest +0 -0
- data/History.md +4 -0
- data/LICENSE +1 -1
- data/Manifest.txt +103 -0
- data/README.md +103 -0
- data/Rakefile +95 -324
- data/ext/VERSION +1 -1
- data/ext/bluecloth.c +1 -1
- data/ext/bluecloth.h +1 -1
- data/ext/extconf.rb +7 -9
- data/ext/generate.c +5 -6
- data/ext/markdown.c +12 -8
- data/lib/bluecloth.rb +14 -11
- data/spec/bluecloth/101_changes_spec.rb +0 -4
- data/spec/bluecloth/TEMPLATE +36 -0
- data/spec/bluecloth/autolinks_spec.rb +2 -6
- data/spec/bluecloth/blockquotes_spec.rb +1 -5
- data/spec/bluecloth/code_spans_spec.rb +0 -4
- data/spec/bluecloth/emphasis_spec.rb +0 -4
- data/spec/bluecloth/entities_spec.rb +0 -4
- data/spec/bluecloth/hrules_spec.rb +0 -4
- data/spec/bluecloth/images_spec.rb +0 -4
- data/spec/bluecloth/inline_html_spec.rb +0 -4
- data/spec/bluecloth/links_spec.rb +0 -4
- data/spec/bluecloth/lists_spec.rb +0 -4
- data/spec/bluecloth/paragraphs_spec.rb +0 -4
- data/spec/bluecloth/titles_spec.rb +0 -4
- data/spec/bluecloth_spec.rb +3 -5
- data/spec/bugfix_spec.rb +6 -8
- data/spec/contributions_spec.rb +0 -2
- data/spec/discount_spec.rb +2 -6
- data/spec/lib/helpers.rb +24 -0
- data/spec/lib/matchers.rb +1 -0
- data/spec/markdowntest_spec.rb +0 -4
- metadata +222 -139
- metadata.gz.sig +0 -0
- data/ChangeLog +0 -444
- data/README +0 -81
- data/Rakefile.local +0 -48
- data/rake/191_compat.rb +0 -26
- data/rake/dependencies.rb +0 -76
- data/rake/documentation.rb +0 -123
- data/rake/helpers.rb +0 -502
- data/rake/hg.rb +0 -318
- data/rake/manual.rb +0 -787
- data/rake/packaging.rb +0 -129
- data/rake/publishing.rb +0 -341
- data/rake/style.rb +0 -62
- data/rake/svn.rb +0 -668
- data/rake/testing.rb +0 -152
- data/rake/verifytask.rb +0 -64
@@ -17,8 +17,6 @@ require 'rspec'
|
|
17
17
|
require 'bluecloth'
|
18
18
|
|
19
19
|
require 'spec/lib/helpers'
|
20
|
-
require 'spec/lib/constants'
|
21
|
-
require 'spec/lib/matchers'
|
22
20
|
|
23
21
|
|
24
22
|
#####################################################################
|
@@ -26,8 +24,6 @@ require 'spec/lib/matchers'
|
|
26
24
|
#####################################################################
|
27
25
|
|
28
26
|
describe BlueCloth, "document with paragraphs" do
|
29
|
-
include BlueCloth::TestConstants,
|
30
|
-
BlueCloth::Matchers
|
31
27
|
|
32
28
|
it "wraps them in P tags" do
|
33
29
|
the_indented_markdown( <<-"---" ).should be_transformed_into(<<-"---").without_indentation
|
@@ -17,8 +17,6 @@ require 'rspec'
|
|
17
17
|
require 'bluecloth'
|
18
18
|
|
19
19
|
require 'spec/lib/helpers'
|
20
|
-
require 'spec/lib/constants'
|
21
|
-
require 'spec/lib/matchers'
|
22
20
|
|
23
21
|
|
24
22
|
#####################################################################
|
@@ -26,8 +24,6 @@ require 'spec/lib/matchers'
|
|
26
24
|
#####################################################################
|
27
25
|
|
28
26
|
describe BlueCloth, "titles" do
|
29
|
-
include BlueCloth::TestConstants,
|
30
|
-
BlueCloth::Matchers
|
31
27
|
|
32
28
|
# setext-style h1 -- three characters
|
33
29
|
it "transforms Setext-style level-one headers (three equals) into an H1" do
|
data/spec/bluecloth_spec.rb
CHANGED
@@ -17,8 +17,6 @@ require 'rspec'
|
|
17
17
|
require 'bluecloth'
|
18
18
|
|
19
19
|
require 'spec/lib/helpers'
|
20
|
-
require 'spec/lib/constants'
|
21
|
-
require 'spec/lib/matchers'
|
22
20
|
|
23
21
|
|
24
22
|
### Output some debugging if $DEBUG is true
|
@@ -174,8 +172,8 @@ describe BlueCloth do
|
|
174
172
|
|
175
173
|
it "correctly adds IDs to headers when :header_labels is enabled" do
|
176
174
|
input = %{# A header\n\nSome stuff\n\n## Another header\n\nMore stuff.\n\n}
|
177
|
-
expected = %{<
|
178
|
-
%{<
|
175
|
+
expected = %{<a name=\"A.header\"></a>\n<h1>A header</h1>\n\n<p>Some stuff</p>\n\n} +
|
176
|
+
%{<a name=\"Another.header\"></a>\n<h2>Another header</h2>\n\n<p>More stuff.</p>}
|
179
177
|
|
180
178
|
the_markdown( input, :header_labels => true ).should be_transformed_into( expected )
|
181
179
|
end
|
@@ -261,7 +259,7 @@ describe BlueCloth do
|
|
261
259
|
end
|
262
260
|
|
263
261
|
|
264
|
-
describe "encoding under Ruby 1.9.x" do
|
262
|
+
describe "encoding under Ruby 1.9.x", :ruby_19_only => true do
|
265
263
|
|
266
264
|
before( :each ) do
|
267
265
|
pending "only valid under a version of Ruby that has the Encoding class" unless
|
data/spec/bugfix_spec.rb
CHANGED
@@ -13,13 +13,11 @@ BEGIN {
|
|
13
13
|
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
14
|
}
|
15
15
|
|
16
|
-
require '
|
17
|
-
require 'rspec'
|
18
|
-
require 'bluecloth'
|
16
|
+
require 'timeout'
|
19
17
|
|
18
|
+
require 'rspec'
|
20
19
|
require 'spec/lib/helpers'
|
21
|
-
require '
|
22
|
-
require 'spec/lib/matchers'
|
20
|
+
require 'bluecloth'
|
23
21
|
|
24
22
|
|
25
23
|
#####################################################################
|
@@ -39,14 +37,14 @@ describe BlueCloth, "bugfixes" do
|
|
39
37
|
|
40
38
|
### Test to be sure the README file can be transformed.
|
41
39
|
it "can transform the included README file" do
|
42
|
-
readme = @basedir + 'README'
|
40
|
+
readme = @basedir + 'README.md'
|
43
41
|
contents = readme.read
|
44
42
|
|
45
43
|
bcobj = BlueCloth::new( contents )
|
46
44
|
|
47
|
-
|
45
|
+
expect {
|
48
46
|
timeout( 2 ) { bcobj.to_html }
|
49
|
-
|
47
|
+
}.to_not raise_error()
|
50
48
|
end
|
51
49
|
|
52
50
|
|
data/spec/contributions_spec.rb
CHANGED
data/spec/discount_spec.rb
CHANGED
@@ -18,8 +18,6 @@ require 'rspec'
|
|
18
18
|
require 'bluecloth'
|
19
19
|
|
20
20
|
require 'spec/lib/helpers'
|
21
|
-
require 'spec/lib/constants'
|
22
|
-
require 'spec/lib/matchers'
|
23
21
|
|
24
22
|
|
25
23
|
#####################################################################
|
@@ -27,8 +25,6 @@ require 'spec/lib/matchers'
|
|
27
25
|
#####################################################################
|
28
26
|
|
29
27
|
describe BlueCloth, "implementation of Discount-specific features" do
|
30
|
-
include BlueCloth::TestConstants,
|
31
|
-
BlueCloth::Matchers
|
32
28
|
|
33
29
|
before( :all ) do
|
34
30
|
@basedir = Pathname.new( __FILE__ ).dirname.parent
|
@@ -130,7 +126,7 @@ describe BlueCloth, "implementation of Discount-specific features" do
|
|
130
126
|
|
131
127
|
end
|
132
128
|
|
133
|
-
it "renders tables with leading and trailing pipes" do
|
129
|
+
it "renders tables with leading and trailing pipes", :pedantic => true do
|
134
130
|
pending "Discount doesn't support this kind (yet?)" do
|
135
131
|
the_indented_markdown( <<-"END_MARKDOWN", :tables => true ).should be_transformed_into(<<-"END_HTML").without_indentation
|
136
132
|
| First Header | Second Header |
|
@@ -160,7 +156,7 @@ describe BlueCloth, "implementation of Discount-specific features" do
|
|
160
156
|
end
|
161
157
|
end
|
162
158
|
|
163
|
-
it "renders tables with aligned columns" do
|
159
|
+
it "renders tables with aligned columns", :pedantic => true do
|
164
160
|
pending "Discount doesn't support this kind (yet?)" do
|
165
161
|
the_indented_markdown( <<-"END_MARKDOWN", :tables => true ).should be_transformed_into(<<-"END_HTML").without_indentation
|
166
162
|
| Item | Value |
|
data/spec/lib/helpers.rb
CHANGED
@@ -4,11 +4,35 @@
|
|
4
4
|
require 'rspec'
|
5
5
|
require 'bluecloth'
|
6
6
|
|
7
|
+
require 'spec/lib/constants'
|
8
|
+
require 'spec/lib/matchers'
|
7
9
|
|
8
10
|
module BlueCloth::SpecHelpers
|
11
|
+
include BlueCloth::Matchers
|
9
12
|
|
10
13
|
###############
|
11
14
|
module_function
|
12
15
|
###############
|
13
16
|
|
17
|
+
### Make an easily-comparable version vector out of +ver+ and return it.
|
18
|
+
def vvec( ver )
|
19
|
+
return ver.split('.').collect {|char| char.to_i }.pack('N*')
|
20
|
+
end
|
21
|
+
|
22
|
+
end # module BlueCloth::SpecHelpers
|
23
|
+
|
24
|
+
|
25
|
+
### Mock with Rspec
|
26
|
+
Rspec.configure do |c|
|
27
|
+
c.mock_with :rspec
|
28
|
+
|
29
|
+
c.include( BlueCloth::SpecHelpers )
|
30
|
+
c.include( BlueCloth::Matchers )
|
31
|
+
|
32
|
+
c.filter_run_excluding( :ruby_19_only => true ) if
|
33
|
+
BlueCloth::SpecHelpers.vvec( RUBY_VERSION ) < BlueCloth::SpecHelpers.vvec('1.9.0')
|
34
|
+
c.filter_run_excluding( :pedantic => true ) unless
|
35
|
+
ENV['MAINTAINER_MODE']
|
14
36
|
end
|
37
|
+
|
38
|
+
# vim: set nosta noet ts=4 sw=4:
|
data/spec/lib/matchers.rb
CHANGED
data/spec/markdowntest_spec.rb
CHANGED
@@ -17,8 +17,6 @@ require 'bluecloth'
|
|
17
17
|
require 'tidy'
|
18
18
|
|
19
19
|
require 'spec/lib/helpers'
|
20
|
-
require 'spec/lib/constants'
|
21
|
-
require 'spec/lib/matchers'
|
22
20
|
|
23
21
|
|
24
22
|
#####################################################################
|
@@ -26,8 +24,6 @@ require 'spec/lib/matchers'
|
|
26
24
|
#####################################################################
|
27
25
|
|
28
26
|
describe BlueCloth, "-- MarkdownTest 1.0.3: " do
|
29
|
-
include BlueCloth::TestConstants,
|
30
|
-
BlueCloth::Matchers
|
31
27
|
|
32
28
|
markdowntest_dir = Pathname.new( __FILE__ ).dirname + 'data/markdowntest'
|
33
29
|
pattern = markdowntest_dir + '*.text'
|
metadata
CHANGED
@@ -1,12 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bluecloth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 1923832205
|
5
|
+
prerelease:
|
5
6
|
segments:
|
6
7
|
- 2
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
|
9
|
+
- 11
|
10
|
+
- pre
|
11
|
+
- 158
|
12
|
+
version: 2.0.11pre158
|
10
13
|
platform: ruby
|
11
14
|
authors:
|
12
15
|
- Michael Granger
|
@@ -34,15 +37,129 @@ cert_chain:
|
|
34
37
|
cmlhXe46pZNJgWKbxZah85jIjx95hR8vOI+NAM5iH9kOqK13DrxacTKPhqj5PjwF
|
35
38
|
-----END CERTIFICATE-----
|
36
39
|
|
37
|
-
date: 2011-
|
40
|
+
date: 2011-02-10 00:00:00 -08:00
|
38
41
|
default_executable:
|
39
|
-
dependencies:
|
40
|
-
|
42
|
+
dependencies:
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: hoe-mercurial
|
45
|
+
prerelease: false
|
46
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
47
|
+
none: false
|
48
|
+
requirements:
|
49
|
+
- - ~>
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
hash: 29
|
52
|
+
segments:
|
53
|
+
- 1
|
54
|
+
- 2
|
55
|
+
- 1
|
56
|
+
version: 1.2.1
|
57
|
+
type: :development
|
58
|
+
version_requirements: *id001
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: hoe-yard
|
61
|
+
prerelease: false
|
62
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
hash: 31
|
68
|
+
segments:
|
69
|
+
- 0
|
70
|
+
- 1
|
71
|
+
- 2
|
72
|
+
version: 0.1.2
|
73
|
+
type: :development
|
74
|
+
version_requirements: *id002
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: tidy-ext
|
77
|
+
prerelease: false
|
78
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
80
|
+
requirements:
|
81
|
+
- - ~>
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
hash: 9
|
84
|
+
segments:
|
85
|
+
- 0
|
86
|
+
- 1
|
87
|
+
version: "0.1"
|
88
|
+
type: :development
|
89
|
+
version_requirements: *id003
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: rspec
|
92
|
+
prerelease: false
|
93
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ~>
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
hash: 11
|
99
|
+
segments:
|
100
|
+
- 2
|
101
|
+
- 4
|
102
|
+
version: "2.4"
|
103
|
+
type: :development
|
104
|
+
version_requirements: *id004
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: rake-compiler
|
107
|
+
prerelease: false
|
108
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
110
|
+
requirements:
|
111
|
+
- - ~>
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
hash: 5
|
114
|
+
segments:
|
115
|
+
- 0
|
116
|
+
- 7
|
117
|
+
version: "0.7"
|
118
|
+
type: :development
|
119
|
+
version_requirements: *id005
|
120
|
+
- !ruby/object:Gem::Dependency
|
121
|
+
name: hoe
|
122
|
+
prerelease: false
|
123
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
124
|
+
none: false
|
125
|
+
requirements:
|
126
|
+
- - ">="
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
hash: 41
|
129
|
+
segments:
|
130
|
+
- 2
|
131
|
+
- 9
|
132
|
+
- 1
|
133
|
+
version: 2.9.1
|
134
|
+
type: :development
|
135
|
+
version_requirements: *id006
|
41
136
|
description: |-
|
42
|
-
BlueCloth is a Ruby implementation of [Markdown][
|
43
|
-
tool for web writers. To quote from the project page:
|
44
|
-
write using an easy-to-read, easy-to-write plain text
|
45
|
-
structurally valid XHTML (or HTML).
|
137
|
+
BlueCloth is a Ruby implementation of John Gruber's [Markdown][markdown], a
|
138
|
+
text-to-HTML conversion tool for web writers. To quote from the project page:
|
139
|
+
Markdown allows you to write using an easy-to-read, easy-to-write plain text
|
140
|
+
format, then convert it to structurally valid XHTML (or HTML).
|
141
|
+
|
142
|
+
It borrows a naming convention and several helpings of interface from
|
143
|
+
[Redcloth][redcloth], Why the Lucky Stiff's processor for a similar
|
144
|
+
text-to-HTML conversion syntax called [Textile][textile].
|
145
|
+
|
146
|
+
BlueCloth 2 is a complete rewrite using David Parsons' [Discount][discount]
|
147
|
+
library, a C implementation of Markdown. I rewrote it using the extension for
|
148
|
+
speed and accuracy; the original BlueCloth was a straight port from the Perl
|
149
|
+
version that I wrote in a few days for my own use just to avoid having to
|
150
|
+
shell out to Markdown.pl, and it was quite buggy and slow. I apologize to all
|
151
|
+
the good people that sent me patches for it that were never released.
|
152
|
+
|
153
|
+
Note that the new gem is called 'bluecloth' and the old one 'BlueCloth'. If
|
154
|
+
you have both installed, you can ensure you're loading the new one with the
|
155
|
+
'gem' directive:
|
156
|
+
|
157
|
+
# Load the 2.0 version
|
158
|
+
gem 'bluecloth', '>= 2.0.0'
|
159
|
+
|
160
|
+
# Load the 1.0 version
|
161
|
+
gem 'BlueCloth'
|
162
|
+
require 'bluecloth'
|
46
163
|
email:
|
47
164
|
- ged@FaerieMUD.org
|
48
165
|
executables:
|
@@ -50,16 +167,44 @@ executables:
|
|
50
167
|
extensions:
|
51
168
|
- ext/extconf.rb
|
52
169
|
extra_rdoc_files:
|
53
|
-
-
|
54
|
-
-
|
170
|
+
- Manifest.txt
|
171
|
+
- History.md
|
172
|
+
files:
|
173
|
+
- .gemtest
|
174
|
+
- History.md
|
175
|
+
- Manifest.txt
|
55
176
|
- LICENSE
|
56
177
|
- LICENSE.discount
|
57
|
-
|
178
|
+
- README.md
|
58
179
|
- Rakefile
|
59
|
-
-
|
60
|
-
-
|
61
|
-
-
|
180
|
+
- bin/bluecloth
|
181
|
+
- ext/Csio.c
|
182
|
+
- ext/VERSION
|
183
|
+
- ext/amalloc.h
|
184
|
+
- ext/bluecloth.c
|
185
|
+
- ext/bluecloth.h
|
186
|
+
- ext/config.h
|
187
|
+
- ext/css.c
|
188
|
+
- ext/cstring.h
|
189
|
+
- ext/docheader.c
|
190
|
+
- ext/emmatch.c
|
191
|
+
- ext/extconf.rb
|
192
|
+
- ext/generate.c
|
193
|
+
- ext/html5.c
|
194
|
+
- ext/markdown.c
|
195
|
+
- ext/markdown.h
|
196
|
+
- ext/mkdio.c
|
197
|
+
- ext/mkdio.h
|
198
|
+
- ext/resource.c
|
199
|
+
- ext/setup.c
|
200
|
+
- ext/tags.c
|
201
|
+
- ext/tags.h
|
202
|
+
- ext/version.c
|
203
|
+
- ext/xml.c
|
204
|
+
- ext/xmlpage.c
|
205
|
+
- lib/bluecloth.rb
|
62
206
|
- spec/bluecloth/101_changes_spec.rb
|
207
|
+
- spec/bluecloth/TEMPLATE
|
63
208
|
- spec/bluecloth/autolinks_spec.rb
|
64
209
|
- spec/bluecloth/blockquotes_spec.rb
|
65
210
|
- spec/bluecloth/code_spans_spec.rb
|
@@ -75,120 +220,77 @@ files:
|
|
75
220
|
- spec/bluecloth_spec.rb
|
76
221
|
- spec/bugfix_spec.rb
|
77
222
|
- spec/contributions_spec.rb
|
223
|
+
- spec/data/antsugar.txt
|
224
|
+
- spec/data/markdowntest/Amps and angle encoding.html
|
225
|
+
- spec/data/markdowntest/Amps and angle encoding.text
|
226
|
+
- spec/data/markdowntest/Auto links.html
|
227
|
+
- spec/data/markdowntest/Auto links.text
|
228
|
+
- spec/data/markdowntest/Backslash escapes.html
|
229
|
+
- spec/data/markdowntest/Backslash escapes.text
|
230
|
+
- spec/data/markdowntest/Blockquotes with code blocks.html
|
231
|
+
- spec/data/markdowntest/Blockquotes with code blocks.text
|
232
|
+
- spec/data/markdowntest/Code Blocks.html
|
233
|
+
- spec/data/markdowntest/Code Blocks.text
|
234
|
+
- spec/data/markdowntest/Code Spans.html
|
235
|
+
- spec/data/markdowntest/Code Spans.text
|
236
|
+
- spec/data/markdowntest/Hard-wrapped paragraphs with list-like lines.html
|
237
|
+
- spec/data/markdowntest/Hard-wrapped paragraphs with list-like lines.text
|
238
|
+
- spec/data/markdowntest/Horizontal rules.html
|
239
|
+
- spec/data/markdowntest/Horizontal rules.text
|
240
|
+
- spec/data/markdowntest/Inline HTML (Advanced).html
|
241
|
+
- spec/data/markdowntest/Inline HTML (Advanced).text
|
242
|
+
- spec/data/markdowntest/Inline HTML (Simple).html
|
243
|
+
- spec/data/markdowntest/Inline HTML (Simple).text
|
244
|
+
- spec/data/markdowntest/Inline HTML comments.html
|
245
|
+
- spec/data/markdowntest/Inline HTML comments.text
|
246
|
+
- spec/data/markdowntest/Links, inline style.html
|
247
|
+
- spec/data/markdowntest/Links, inline style.text
|
248
|
+
- spec/data/markdowntest/Links, reference style.html
|
249
|
+
- spec/data/markdowntest/Links, reference style.text
|
250
|
+
- spec/data/markdowntest/Links, shortcut references.html
|
251
|
+
- spec/data/markdowntest/Links, shortcut references.text
|
252
|
+
- spec/data/markdowntest/Literal quotes in titles.html
|
253
|
+
- spec/data/markdowntest/Literal quotes in titles.text
|
254
|
+
- spec/data/markdowntest/Markdown Documentation - Basics.html
|
255
|
+
- spec/data/markdowntest/Markdown Documentation - Basics.text
|
256
|
+
- spec/data/markdowntest/Markdown Documentation - Syntax.html
|
257
|
+
- spec/data/markdowntest/Markdown Documentation - Syntax.text
|
258
|
+
- spec/data/markdowntest/Nested blockquotes.html
|
259
|
+
- spec/data/markdowntest/Nested blockquotes.text
|
260
|
+
- spec/data/markdowntest/Ordered and unordered lists.html
|
261
|
+
- spec/data/markdowntest/Ordered and unordered lists.text
|
262
|
+
- spec/data/markdowntest/Strong and em together.html
|
263
|
+
- spec/data/markdowntest/Strong and em together.text
|
264
|
+
- spec/data/markdowntest/Tabs.html
|
265
|
+
- spec/data/markdowntest/Tabs.text
|
266
|
+
- spec/data/markdowntest/Tidyness.html
|
267
|
+
- spec/data/markdowntest/Tidyness.text
|
268
|
+
- spec/data/ml-announce.txt
|
269
|
+
- spec/data/re-overflow.txt
|
270
|
+
- spec/data/re-overflow2.txt
|
78
271
|
- spec/discount_spec.rb
|
79
|
-
- spec/markdowntest_spec.rb
|
80
272
|
- spec/lib/constants.rb
|
81
273
|
- spec/lib/helpers.rb
|
82
274
|
- spec/lib/matchers.rb
|
83
|
-
-
|
84
|
-
- lib/bluecloth.rb
|
85
|
-
- ext/bluecloth.c
|
86
|
-
- ext/Csio.c
|
87
|
-
- ext/css.c
|
88
|
-
- ext/docheader.c
|
89
|
-
- ext/emmatch.c
|
90
|
-
- ext/generate.c
|
91
|
-
- ext/html5.c
|
92
|
-
- ext/markdown.c
|
93
|
-
- ext/mkdio.c
|
94
|
-
- ext/resource.c
|
95
|
-
- ext/setup.c
|
96
|
-
- ext/tags.c
|
97
|
-
- ext/version.c
|
98
|
-
- ext/xml.c
|
99
|
-
- ext/xmlpage.c
|
100
|
-
- ext/amalloc.h
|
101
|
-
- ext/bluecloth.h
|
102
|
-
- ext/config.h
|
103
|
-
- ext/cstring.h
|
104
|
-
- ext/markdown.h
|
105
|
-
- ext/mkdio.h
|
106
|
-
- ext/tags.h
|
107
|
-
- ext/extconf.rb
|
108
|
-
- rake/191_compat.rb
|
109
|
-
- rake/dependencies.rb
|
110
|
-
- rake/documentation.rb
|
111
|
-
- rake/helpers.rb
|
112
|
-
- rake/hg.rb
|
113
|
-
- rake/manual.rb
|
114
|
-
- rake/packaging.rb
|
115
|
-
- rake/publishing.rb
|
116
|
-
- rake/style.rb
|
117
|
-
- rake/svn.rb
|
118
|
-
- rake/testing.rb
|
119
|
-
- rake/verifytask.rb
|
120
|
-
- ./LICENSE.discount
|
121
|
-
- ./spec/data/antsugar.txt
|
122
|
-
- ./spec/data/ml-announce.txt
|
123
|
-
- ./spec/data/re-overflow.txt
|
124
|
-
- ./spec/data/re-overflow2.txt
|
125
|
-
- ./spec/data/markdowntest/Amps and angle encoding.text
|
126
|
-
- ./spec/data/markdowntest/Auto links.text
|
127
|
-
- ./spec/data/markdowntest/Backslash escapes.text
|
128
|
-
- ./spec/data/markdowntest/Blockquotes with code blocks.text
|
129
|
-
- ./spec/data/markdowntest/Code Blocks.text
|
130
|
-
- ./spec/data/markdowntest/Code Spans.text
|
131
|
-
- ./spec/data/markdowntest/Hard-wrapped paragraphs with list-like lines.text
|
132
|
-
- ./spec/data/markdowntest/Horizontal rules.text
|
133
|
-
- ./spec/data/markdowntest/Inline HTML (Advanced).text
|
134
|
-
- ./spec/data/markdowntest/Inline HTML (Simple).text
|
135
|
-
- ./spec/data/markdowntest/Inline HTML comments.text
|
136
|
-
- ./spec/data/markdowntest/Links, inline style.text
|
137
|
-
- ./spec/data/markdowntest/Links, reference style.text
|
138
|
-
- ./spec/data/markdowntest/Links, shortcut references.text
|
139
|
-
- ./spec/data/markdowntest/Literal quotes in titles.text
|
140
|
-
- ./spec/data/markdowntest/Markdown Documentation - Basics.text
|
141
|
-
- ./spec/data/markdowntest/Markdown Documentation - Syntax.text
|
142
|
-
- ./spec/data/markdowntest/Nested blockquotes.text
|
143
|
-
- ./spec/data/markdowntest/Ordered and unordered lists.text
|
144
|
-
- ./spec/data/markdowntest/Strong and em together.text
|
145
|
-
- ./spec/data/markdowntest/Tabs.text
|
146
|
-
- ./spec/data/markdowntest/Tidyness.text
|
147
|
-
- ./spec/data/markdowntest/Amps and angle encoding.html
|
148
|
-
- ./spec/data/markdowntest/Auto links.html
|
149
|
-
- ./spec/data/markdowntest/Backslash escapes.html
|
150
|
-
- ./spec/data/markdowntest/Blockquotes with code blocks.html
|
151
|
-
- ./spec/data/markdowntest/Code Blocks.html
|
152
|
-
- ./spec/data/markdowntest/Code Spans.html
|
153
|
-
- ./spec/data/markdowntest/Hard-wrapped paragraphs with list-like lines.html
|
154
|
-
- ./spec/data/markdowntest/Horizontal rules.html
|
155
|
-
- ./spec/data/markdowntest/Inline HTML (Advanced).html
|
156
|
-
- ./spec/data/markdowntest/Inline HTML (Simple).html
|
157
|
-
- ./spec/data/markdowntest/Inline HTML comments.html
|
158
|
-
- ./spec/data/markdowntest/Links, inline style.html
|
159
|
-
- ./spec/data/markdowntest/Links, reference style.html
|
160
|
-
- ./spec/data/markdowntest/Links, shortcut references.html
|
161
|
-
- ./spec/data/markdowntest/Literal quotes in titles.html
|
162
|
-
- ./spec/data/markdowntest/Markdown Documentation - Basics.html
|
163
|
-
- ./spec/data/markdowntest/Markdown Documentation - Syntax.html
|
164
|
-
- ./spec/data/markdowntest/Nested blockquotes.html
|
165
|
-
- ./spec/data/markdowntest/Ordered and unordered lists.html
|
166
|
-
- ./spec/data/markdowntest/Strong and em together.html
|
167
|
-
- ./spec/data/markdowntest/Tabs.html
|
168
|
-
- ./spec/data/markdowntest/Tidyness.html
|
169
|
-
- ./ext/VERSION
|
170
|
-
- Rakefile.local
|
171
|
-
- LICENSE.discount
|
275
|
+
- spec/markdowntest_spec.rb
|
172
276
|
has_rdoc: true
|
173
|
-
homepage: http://deveiate.org/projects/BlueCloth
|
277
|
+
homepage: http://deveiate.org/projects/BlueCloth
|
174
278
|
licenses:
|
175
279
|
- BSD
|
176
280
|
post_install_message:
|
177
281
|
rdoc_options:
|
178
|
-
- --
|
179
|
-
- --
|
180
|
-
- --
|
181
|
-
-
|
182
|
-
- --main=README
|
183
|
-
- --title=bluecloth
|
282
|
+
- --protected
|
283
|
+
- --verbose
|
284
|
+
- --title
|
285
|
+
- Bluecloth Documentation
|
184
286
|
require_paths:
|
185
287
|
- lib
|
186
|
-
- ext
|
187
288
|
required_ruby_version: !ruby/object:Gem::Requirement
|
188
289
|
none: false
|
189
290
|
requirements:
|
190
291
|
- - ">="
|
191
292
|
- !ruby/object:Gem::Version
|
293
|
+
hash: 57
|
192
294
|
segments:
|
193
295
|
- 1
|
194
296
|
- 8
|
@@ -199,35 +301,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
199
301
|
requirements:
|
200
302
|
- - ">="
|
201
303
|
- !ruby/object:Gem::Version
|
304
|
+
hash: 3
|
202
305
|
segments:
|
203
306
|
- 0
|
204
307
|
version: "0"
|
205
308
|
requirements: []
|
206
309
|
|
207
|
-
rubyforge_project:
|
208
|
-
rubygems_version: 1.
|
310
|
+
rubyforge_project: bluecloth
|
311
|
+
rubygems_version: 1.5.0
|
209
312
|
signing_key:
|
210
313
|
specification_version: 3
|
211
|
-
summary: BlueCloth is a Ruby implementation of Markdown
|
212
|
-
test_files:
|
213
|
-
|
214
|
-
- spec/bluecloth/autolinks_spec.rb
|
215
|
-
- spec/bluecloth/blockquotes_spec.rb
|
216
|
-
- spec/bluecloth/code_spans_spec.rb
|
217
|
-
- spec/bluecloth/emphasis_spec.rb
|
218
|
-
- spec/bluecloth/entities_spec.rb
|
219
|
-
- spec/bluecloth/hrules_spec.rb
|
220
|
-
- spec/bluecloth/images_spec.rb
|
221
|
-
- spec/bluecloth/inline_html_spec.rb
|
222
|
-
- spec/bluecloth/links_spec.rb
|
223
|
-
- spec/bluecloth/lists_spec.rb
|
224
|
-
- spec/bluecloth/paragraphs_spec.rb
|
225
|
-
- spec/bluecloth/titles_spec.rb
|
226
|
-
- spec/bluecloth_spec.rb
|
227
|
-
- spec/bugfix_spec.rb
|
228
|
-
- spec/contributions_spec.rb
|
229
|
-
- spec/discount_spec.rb
|
230
|
-
- spec/markdowntest_spec.rb
|
231
|
-
- spec/lib/constants.rb
|
232
|
-
- spec/lib/helpers.rb
|
233
|
-
- spec/lib/matchers.rb
|
314
|
+
summary: BlueCloth is a Ruby implementation of John Gruber's [Markdown][markdown], a text-to-HTML conversion tool for web writers
|
315
|
+
test_files: []
|
316
|
+
|