bluecloth 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/.rspec +1 -0
- data/{History.md → History.rdoc} +29 -12
- data/Manifest.txt +6 -3
- data/{README.md → README.rdoc} +34 -31
- data/Rakefile +23 -48
- data/bluecloth.1.pod +42 -0
- data/ext/VERSION +1 -1
- data/ext/config.h +1 -6
- data/ext/extconf.rb +1 -1
- data/ext/mkdio.c +1 -1
- data/lib/bluecloth.rb +3 -3
- data/man/man1/bluecloth.1 +97 -0
- data/spec/bluecloth/101_changes_spec.rb +0 -2
- data/spec/bluecloth/TEMPLATE +0 -2
- data/spec/bluecloth/autolinks_spec.rb +0 -2
- data/spec/bluecloth/blockquotes_spec.rb +0 -2
- data/spec/bluecloth/code_spans_spec.rb +0 -2
- data/spec/bluecloth/emphasis_spec.rb +0 -2
- data/spec/bluecloth/entities_spec.rb +0 -2
- data/spec/bluecloth/hrules_spec.rb +0 -2
- data/spec/bluecloth/images_spec.rb +0 -2
- data/spec/bluecloth/inline_html_spec.rb +0 -2
- data/spec/bluecloth/links_spec.rb +0 -2
- data/spec/bluecloth/lists_spec.rb +0 -2
- data/spec/bluecloth/paragraphs_spec.rb +0 -2
- data/spec/bluecloth/titles_spec.rb +0 -2
- data/spec/bluecloth_spec.rb +1 -3
- data/spec/bugfix_spec.rb +0 -15
- data/spec/contributions_spec.rb +0 -3
- data/spec/discount_spec.rb +0 -3
- data/spec/lib/helpers.rb +3 -1
- data/spec/lib/matchers.rb +0 -1
- data/spec/markdowntest_spec.rb +0 -2
- metadata +117 -150
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
-cfd
|
data/{History.md → History.rdoc}
RENAMED
@@ -1,4 +1,21 @@
|
|
1
|
-
|
1
|
+
== v2.2.0 [2011-11-01] Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
- Config -> RbConfig (1.9.3 deprecation fix)
|
4
|
+
- Adding a manpage for bin/bluecloth for packagers that require every
|
5
|
+
binary have one (e.g., Debian) (fixes #78). Thanks to Cédric
|
6
|
+
Boutillier for the contribution.
|
7
|
+
- Updated for Discount 2.0.9
|
8
|
+
|
9
|
+
|
10
|
+
== v2.1.0 [2011-03-12] Michael Granger <ged@FaerieMUD.org>
|
11
|
+
|
12
|
+
- Removed deprecated #filter_html, #filter_html= methods
|
13
|
+
- Fixed inverted footnotes option logic; added specs for footnotes
|
14
|
+
option.
|
15
|
+
- Updated to Discount 2.0.8
|
16
|
+
|
17
|
+
|
18
|
+
== v2.0.11 [2011-02-10] Michael Granger <ged@FaerieMUD.org>
|
2
19
|
|
3
20
|
Enhancements:
|
4
21
|
|
@@ -11,7 +28,7 @@ Bugfixes:
|
|
11
28
|
* Fix for Windows devkit installs
|
12
29
|
|
13
30
|
|
14
|
-
|
31
|
+
== v2.0.10 [2011-02-09] Michael Granger <ged@FaerieMUD.org>
|
15
32
|
|
16
33
|
Enhancements:
|
17
34
|
|
@@ -20,7 +37,7 @@ Updated to Discount 2.0.4:
|
|
20
37
|
* Worked around a Discount bug when rendering the same document twice (appends a \0)
|
21
38
|
|
22
39
|
|
23
|
-
|
40
|
+
== 2.0.9 [2011-01-17] Michael Granger <ged@FaerieMUD.org>
|
24
41
|
|
25
42
|
Enhancements:
|
26
43
|
|
@@ -33,17 +50,17 @@ Bugfixes:
|
|
33
50
|
(fixes #63)
|
34
51
|
|
35
52
|
|
36
|
-
|
53
|
+
== 2.0.8 [2010-09-23] Michael Granger <ged@FaerieMUD.org>
|
37
54
|
|
38
55
|
Updated to Discount 1.6.6; add HTML5 tag support.
|
39
56
|
|
40
57
|
|
41
|
-
|
58
|
+
== 2.0.7 [2010-08-11] Michael Granger <ged@FaerieMUD.org>
|
42
59
|
|
43
60
|
Fixed m17n
|
44
61
|
|
45
62
|
|
46
|
-
|
63
|
+
== 2.0.6 [2010-01-21] Michael Granger <ged@FaerieMUD.org>
|
47
64
|
|
48
65
|
Enhancements:
|
49
66
|
|
@@ -59,7 +76,7 @@ Bugfixes
|
|
59
76
|
Windows using VC), define it in terms of memset().
|
60
77
|
|
61
78
|
|
62
|
-
|
79
|
+
== 2.0.5 [2010-01-16] Michael Granger <ged@FaerieMUD.org>
|
63
80
|
|
64
81
|
* Set the top-level 'Markdown' constant as an alias for BlueCloth if it's not
|
65
82
|
already set by something else.
|
@@ -67,7 +84,7 @@ Bugfixes
|
|
67
84
|
* Updated with Discount 1.4.4.
|
68
85
|
|
69
86
|
|
70
|
-
|
87
|
+
== 2.0.4 [2009-07-15] Michael Granger <ged@FaerieMUD.org>
|
71
88
|
|
72
89
|
* Updated to Discount 1.4.2.
|
73
90
|
* Added some more tests for various Discount extensions.
|
@@ -76,22 +93,22 @@ Bugfixes
|
|
76
93
|
* Adding Discount files for missing symbols on some platforms.
|
77
94
|
|
78
95
|
|
79
|
-
|
96
|
+
== 2.0.3 [2009-06-15] Michael Granger <ged@FaerieMUD.org>
|
80
97
|
|
81
98
|
Dependency fix.
|
82
99
|
|
83
100
|
|
84
|
-
|
101
|
+
== 2.0.2 [2009-05-14] Michael Granger <ged@FaerieMUD.org>
|
85
102
|
|
86
103
|
* Updated to Discount 1.4.0.
|
87
104
|
* Added support for the MKD_TAGTEXT constant.
|
88
105
|
|
89
106
|
|
90
|
-
|
107
|
+
== 2.0.1 [2009-05-14] Michael Granger <ged@FaerieMUD.org>
|
91
108
|
|
92
109
|
Fixed the VERSION constant.
|
93
110
|
|
94
111
|
|
95
|
-
|
112
|
+
== 2.0.0 [2009-03-25] Michael Granger <ged@FaerieMUD.org>
|
96
113
|
|
97
114
|
Rewritten using Discount.
|
data/Manifest.txt
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
.gemtest
|
2
|
-
|
3
|
-
|
2
|
+
.rspec
|
3
|
+
History.rdoc
|
4
4
|
LICENSE
|
5
5
|
LICENSE.discount
|
6
|
-
|
6
|
+
Manifest.txt
|
7
|
+
README.rdoc
|
7
8
|
Rakefile
|
8
9
|
bin/bluecloth
|
10
|
+
bluecloth.1.pod
|
9
11
|
ext/Csio.c
|
10
12
|
ext/VERSION
|
11
13
|
ext/amalloc.h
|
@@ -31,6 +33,7 @@ ext/version.c
|
|
31
33
|
ext/xml.c
|
32
34
|
ext/xmlpage.c
|
33
35
|
lib/bluecloth.rb
|
36
|
+
man/man1/bluecloth.1
|
34
37
|
spec/bluecloth/101_changes_spec.rb
|
35
38
|
spec/bluecloth/TEMPLATE
|
36
39
|
spec/bluecloth/autolinks_spec.rb
|
data/{README.md → README.rdoc}
RENAMED
@@ -1,24 +1,27 @@
|
|
1
|
-
|
1
|
+
= bluecloth 2
|
2
2
|
|
3
3
|
* http://deveiate.org/projects/BlueCloth
|
4
4
|
|
5
|
-
|
5
|
+
== Description
|
6
6
|
|
7
|
-
BlueCloth is a Ruby implementation of John Gruber's
|
8
|
-
text-to-HTML
|
9
|
-
|
10
|
-
|
7
|
+
BlueCloth is a Ruby implementation of John Gruber's
|
8
|
+
Markdown[http://daringfireball.net/projects/markdown/], a text-to-HTML
|
9
|
+
conversion tool for web writers. To quote from the project page: Markdown
|
10
|
+
allows you to write using an easy-to-read, easy-to-write plain text format,
|
11
|
+
then convert it to structurally valid XHTML (or HTML).
|
11
12
|
|
12
13
|
It borrows a naming convention and several helpings of interface from
|
13
|
-
|
14
|
-
text-to-HTML conversion syntax called
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
14
|
+
{Redcloth}[http://redcloth.org/], Why the Lucky Stiff's processor for a
|
15
|
+
similar text-to-HTML conversion syntax called
|
16
|
+
Textile[http://www.textism.com/tools/textile/].
|
17
|
+
|
18
|
+
BlueCloth 2 is a complete rewrite using David Parsons'
|
19
|
+
Discount[http://www.pell.portland.or.us/~orc/Code/discount/] library, a C
|
20
|
+
implementation of Markdown. I rewrote it using the extension for speed and
|
21
|
+
accuracy; the original BlueCloth was a straight port from the Perl version
|
22
|
+
that I wrote in a few days for my own use just to avoid having to shell out to
|
23
|
+
Markdown.pl, and it was quite buggy and slow. I apologize to all the good
|
24
|
+
people that sent me patches for it that were never released.
|
22
25
|
|
23
26
|
Note that the new gem is called 'bluecloth' and the old one 'BlueCloth'. If
|
24
27
|
you have both installed, you can ensure you're loading the new one with the
|
@@ -32,14 +35,16 @@ you have both installed, you can ensure you're loading the new one with the
|
|
32
35
|
require 'bluecloth'
|
33
36
|
|
34
37
|
|
35
|
-
|
38
|
+
== Installation
|
36
39
|
|
37
40
|
gem install bluecloth
|
38
41
|
|
39
42
|
|
40
|
-
|
43
|
+
== Contributing
|
41
44
|
|
42
|
-
You can check out the current development source
|
45
|
+
You can check out the current development source {with
|
46
|
+
Mercurial}[http://repo.deveiate.org/BlueCloth], or if you prefer Git, via {its
|
47
|
+
Github mirror}[https://github.com/ged/bluecloth].
|
43
48
|
|
44
49
|
After checking out the source, run:
|
45
50
|
|
@@ -49,19 +54,25 @@ This task will install any missing dependencies, run the tests/specs, and
|
|
49
54
|
generate the API documentation.
|
50
55
|
|
51
56
|
|
52
|
-
|
57
|
+
== Contributors
|
53
58
|
|
54
59
|
* Martin Chase <stillflame@FaerieMUD.org>
|
55
60
|
* Florian Gross <flgr@ccan.de>
|
56
61
|
|
62
|
+
The Discount code upon which BlueCloth is based was written by David Loren
|
63
|
+
Parsons.
|
64
|
+
|
65
|
+
|
66
|
+
== License
|
67
|
+
|
57
68
|
This product includes software developed by David Loren
|
58
69
|
Parsons <http://www.pell.portland.or.us/~orc>.
|
59
70
|
|
71
|
+
->Copyright (C) 2007 David Loren Parsons.
|
72
|
+
All rights reserved.<-
|
60
73
|
|
61
|
-
|
62
|
-
|
63
|
-
Discount's license may be found in the [README.discount][discountreadme] file
|
64
|
-
included with the distribution.
|
74
|
+
The full Discount license may be found in the README.discount file included
|
75
|
+
with the distribution.
|
65
76
|
|
66
77
|
All other code:
|
67
78
|
|
@@ -93,11 +104,3 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
93
104
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
94
105
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
95
106
|
|
96
|
-
|
97
|
-
[markdown]:http://daringfireball.net/projects/markdown/
|
98
|
-
[redcloth]:http://redcloth.org/
|
99
|
-
[textile]:http://www.textism.com/tools/textile/
|
100
|
-
[discount]:http://www.pell.portland.or.us/~orc/Code/discount/
|
101
|
-
[hgrepo]:http://repo.deveiate.org/BlueCloth
|
102
|
-
[gitmirror]:https://github.com/ged/bluecloth
|
103
|
-
[discountreadme]:http://deveiate.org/projects/BlueCloth/browser/LICENSE.discount
|
data/Rakefile
CHANGED
@@ -24,9 +24,15 @@ EXTDIR = BASEDIR + 'ext'
|
|
24
24
|
DLEXT = Config::CONFIG['DLEXT']
|
25
25
|
EXT = LIBDIR + "bluecloth_ext.#{DLEXT}"
|
26
26
|
|
27
|
+
MANDIR = BASEDIR + 'man'
|
28
|
+
MAN1DIR = MANDIR + 'man1'
|
29
|
+
MANPAGE = MAN1DIR + 'bluecloth.1'
|
30
|
+
|
31
|
+
MANPAGE_POD = BASEDIR + 'bluecloth.1.pod'
|
32
|
+
|
33
|
+
|
27
34
|
# Load Hoe plugins
|
28
35
|
Hoe.plugin :mercurial
|
29
|
-
Hoe.plugin :yard
|
30
36
|
Hoe.plugin :signing
|
31
37
|
|
32
38
|
Hoe.plugins.delete :rubyforge
|
@@ -34,19 +40,17 @@ Hoe.plugins.delete :compiler
|
|
34
40
|
|
35
41
|
# Configure Hoe
|
36
42
|
hoespec = Hoe.spec 'bluecloth' do
|
37
|
-
self.readme_file = 'README.
|
38
|
-
self.history_file = 'History.
|
43
|
+
self.readme_file = 'README.rdoc'
|
44
|
+
self.history_file = 'History.rdoc'
|
45
|
+
self.extra_rdoc_files << 'README.rdoc' << 'History.rdoc'
|
39
46
|
|
40
47
|
self.developer 'Michael Granger', 'ged@FaerieMUD.org'
|
41
48
|
|
42
|
-
self.
|
43
|
-
|
44
|
-
|
45
|
-
'rspec' => '~> 2.4',
|
46
|
-
}
|
49
|
+
self.dependency 'tidy-ext', '~> 0.1', :developer
|
50
|
+
self.dependency 'rake-compiler', '~> 0.7', :developer
|
51
|
+
self.dependency 'rspec', '~> 2.6', :developer
|
47
52
|
|
48
53
|
self.spec_extras[:licenses] = ["BSD"]
|
49
|
-
self.spec_extras[:signing_key] = '/Volumes/Keys/ged-private_gem_key.pem'
|
50
54
|
self.spec_extras[:extensions] = [ "ext/extconf.rb" ]
|
51
55
|
|
52
56
|
self.require_ruby_version( '>=1.8.7' )
|
@@ -58,7 +62,7 @@ end
|
|
58
62
|
ENV['VERSION'] ||= hoespec.spec.version.to_s
|
59
63
|
|
60
64
|
# Ensure the specs pass before checking in
|
61
|
-
task 'hg:precheckin' => :spec
|
65
|
+
task 'hg:precheckin' => [ :check_manifest, :check_history, :spec ]
|
62
66
|
|
63
67
|
# Ensure the extension is compiled before testing
|
64
68
|
task :spec => :compile
|
@@ -92,44 +96,15 @@ Rake::ExtensionTask.new do |ext|
|
|
92
96
|
ext.cross_platform = %w[i386-mswin32 i386-mingw32]
|
93
97
|
end
|
94
98
|
|
99
|
+
# Generate a manpage for bin/bluecloth for packagers
|
100
|
+
directory MAN1DIR.to_s
|
101
|
+
file MANPAGE_POD
|
95
102
|
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
task :pre do
|
102
|
-
rev = get_numeric_rev()
|
103
|
-
trace "Current rev is: %p" % [ rev ]
|
104
|
-
hoespec.spec.version.version << "pre#{rev}"
|
105
|
-
Rake::Task[:gem].clear
|
106
|
-
|
107
|
-
Gem::PackageTask.new( hoespec.spec ) do |pkg|
|
108
|
-
pkg.need_zip = true
|
109
|
-
pkg.need_tar = true
|
110
|
-
end
|
111
|
-
end
|
112
|
-
|
113
|
-
### Make the ChangeLog update if the repo has changed since it was last built
|
114
|
-
file '.hg/branch'
|
115
|
-
file 'ChangeLog' => '.hg/branch' do |task|
|
116
|
-
$stderr.puts "Updating the changelog..."
|
117
|
-
content = make_changelog()
|
118
|
-
File.open( task.name, 'w', 0644 ) do |fh|
|
119
|
-
fh.print( content )
|
120
|
-
end
|
121
|
-
end
|
122
|
-
|
123
|
-
# Rebuild the ChangeLog immediately before release
|
124
|
-
task :prerelease => 'ChangeLog'
|
125
|
-
|
126
|
-
rescue NameError => err
|
127
|
-
task :no_hg_helpers do
|
128
|
-
fail "Couldn't define the :pre task: %s: %s" % [ err.class.name, err.message ]
|
129
|
-
end
|
130
|
-
|
131
|
-
task :pre => :no_hg_helpers
|
132
|
-
task 'ChangeLog' => :no_hg_helpers
|
133
|
-
|
103
|
+
file MANPAGE => [ MANPAGE_POD, MAN1DIR ] do |task|
|
104
|
+
sh 'pod2man', '--center', '',
|
105
|
+
'--release', '',
|
106
|
+
'--name', 'bluecloth',
|
107
|
+
'--utf8', task.prerequisites.first, task.name
|
134
108
|
end
|
135
109
|
|
110
|
+
|
data/bluecloth.1.pod
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
=encoding UTF-8
|
2
|
+
|
3
|
+
=head1 NAME
|
4
|
+
|
5
|
+
bluecloth - convert Markdown input to HTML
|
6
|
+
|
7
|
+
=head1 SYNOPSIS
|
8
|
+
|
9
|
+
B<bluecloth> [I<OPTIONS>] I<FILES>
|
10
|
+
|
11
|
+
=head1 DESCRIPTION
|
12
|
+
|
13
|
+
B<bluecloth> converts input files written in Markdown to HTML
|
14
|
+
and outputs them to standard output.
|
15
|
+
|
16
|
+
If no input file is given, it will read from the standard input.
|
17
|
+
|
18
|
+
|
19
|
+
=head1 OPTIONS
|
20
|
+
|
21
|
+
=over
|
22
|
+
|
23
|
+
=item B<-d>, B<--debug>
|
24
|
+
|
25
|
+
Turn debugging output on.
|
26
|
+
|
27
|
+
=item B<-f>, B<--fragment>
|
28
|
+
|
29
|
+
Output HTML fragments instead of whole documents.
|
30
|
+
|
31
|
+
=item B<-h>, B<--help>
|
32
|
+
|
33
|
+
Output a help message and exit.
|
34
|
+
|
35
|
+
=back
|
36
|
+
|
37
|
+
=head1 AUTHORS
|
38
|
+
|
39
|
+
B<bluecloth> was written by Michael Granger.
|
40
|
+
|
41
|
+
This manual page has been written for the Debian Project by Cédric Boutillier (but
|
42
|
+
may used by others).
|
data/ext/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.9
|
data/ext/config.h
CHANGED
@@ -55,14 +55,9 @@
|
|
55
55
|
#undef USE_AMALLOC
|
56
56
|
|
57
57
|
/* Extensions */
|
58
|
-
#define SUPERSCRIPT 1
|
59
|
-
#define RELAXED_EMPHASIS 1
|
60
|
-
#define DIV_QUOTE 1
|
61
|
-
#define DL_TAG_EXTENSION 1
|
62
|
-
#define PANDOC_HEADER 1
|
63
|
-
#define ALPHA_LIST 1
|
64
58
|
#define USE_DISCOUNT_DL 1
|
65
59
|
#define USE_EXTRA_DL 1
|
60
|
+
#define WITH_GITHUB_TAGS 1
|
66
61
|
|
67
62
|
#endif /* end of include guard: CONFIG_H_RZLE3ADO */
|
68
63
|
|
data/ext/extconf.rb
CHANGED
data/ext/mkdio.c
CHANGED
@@ -228,7 +228,7 @@ mkd_string_to_anchor(char *s, int len, mkd_sta_function_t outchar,
|
|
228
228
|
|
229
229
|
size = mkd_line(s, len, &line, IS_LABEL);
|
230
230
|
|
231
|
-
if ( labelformat && size && !isalpha(line[0]) )
|
231
|
+
if ( labelformat && (size>0) && !isalpha(line[0]) )
|
232
232
|
(*outchar)('L',out);
|
233
233
|
for ( i=0; i < size ; i++ ) {
|
234
234
|
c = line[i];
|
data/lib/bluecloth.rb
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
#
|
23
23
|
# == Revision
|
24
24
|
#
|
25
|
-
# $Revision:
|
25
|
+
# $Revision: 34dd000f535c $
|
26
26
|
#
|
27
27
|
# == License
|
28
28
|
#
|
@@ -57,10 +57,10 @@
|
|
57
57
|
class BlueCloth
|
58
58
|
|
59
59
|
# Release Version
|
60
|
-
VERSION = '2.
|
60
|
+
VERSION = '2.2.0'
|
61
61
|
|
62
62
|
# Version control revision
|
63
|
-
REVISION = %q$Revision:
|
63
|
+
REVISION = %q$Revision: 34dd000f535c $
|
64
64
|
|
65
65
|
# The defaults for all supported options.
|
66
66
|
DEFAULT_OPTIONS = {
|
@@ -0,0 +1,97 @@
|
|
1
|
+
.\" Automatically generated by Pod::Man 2.23 (Pod::Simple 3.14)
|
2
|
+
.\"
|
3
|
+
.\" Standard preamble:
|
4
|
+
.\" ========================================================================
|
5
|
+
.de Sp \" Vertical space (when we can't use .PP)
|
6
|
+
.if t .sp .5v
|
7
|
+
.if n .sp
|
8
|
+
..
|
9
|
+
.de Vb \" Begin verbatim text
|
10
|
+
.ft CW
|
11
|
+
.nf
|
12
|
+
.ne \\$1
|
13
|
+
..
|
14
|
+
.de Ve \" End verbatim text
|
15
|
+
.ft R
|
16
|
+
.fi
|
17
|
+
..
|
18
|
+
.\" Set up some character translations and predefined strings. \*(-- will
|
19
|
+
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
20
|
+
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
|
21
|
+
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
|
22
|
+
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
|
23
|
+
.\" nothing in troff, for use with C<>.
|
24
|
+
.tr \(*W-
|
25
|
+
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
26
|
+
.ie n \{\
|
27
|
+
. ds -- \(*W-
|
28
|
+
. ds PI pi
|
29
|
+
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
30
|
+
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
31
|
+
. ds L" ""
|
32
|
+
. ds R" ""
|
33
|
+
. ds C` ""
|
34
|
+
. ds C' ""
|
35
|
+
'br\}
|
36
|
+
.el\{\
|
37
|
+
. ds -- \|\(em\|
|
38
|
+
. ds PI \(*p
|
39
|
+
. ds L" ``
|
40
|
+
. ds R" ''
|
41
|
+
'br\}
|
42
|
+
.\"
|
43
|
+
.\" Escape single quotes in literal strings from groff's Unicode transform.
|
44
|
+
.ie \n(.g .ds Aq \(aq
|
45
|
+
.el .ds Aq '
|
46
|
+
.\"
|
47
|
+
.\" If the F register is turned on, we'll generate index entries on stderr for
|
48
|
+
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
|
49
|
+
.\" entries marked with X<> in POD. Of course, you'll have to process the
|
50
|
+
.\" output yourself in some meaningful fashion.
|
51
|
+
.ie \nF \{\
|
52
|
+
. de IX
|
53
|
+
. tm Index:\\$1\t\\n%\t"\\$2"
|
54
|
+
..
|
55
|
+
. nr % 0
|
56
|
+
. rr F
|
57
|
+
.\}
|
58
|
+
.el \{\
|
59
|
+
. de IX
|
60
|
+
..
|
61
|
+
.\}
|
62
|
+
.\" ========================================================================
|
63
|
+
.\"
|
64
|
+
.IX Title "bluecloth 1"
|
65
|
+
.TH bluecloth 1 "2011-11-01" "" ""
|
66
|
+
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
|
67
|
+
.\" way too many mistakes in technical documents.
|
68
|
+
.if n .ad l
|
69
|
+
.nh
|
70
|
+
.SH "NAME"
|
71
|
+
bluecloth \- convert Markdown input to HTML
|
72
|
+
.SH "SYNOPSIS"
|
73
|
+
.IX Header "SYNOPSIS"
|
74
|
+
\&\fBbluecloth\fR [\fI\s-1OPTIONS\s0\fR] \fI\s-1FILES\s0\fR
|
75
|
+
.SH "DESCRIPTION"
|
76
|
+
.IX Header "DESCRIPTION"
|
77
|
+
\&\fBbluecloth\fR converts input files written in Markdown to \s-1HTML\s0
|
78
|
+
and outputs them to standard output.
|
79
|
+
.PP
|
80
|
+
If no input file is given, it will read from the standard input.
|
81
|
+
.SH "OPTIONS"
|
82
|
+
.IX Header "OPTIONS"
|
83
|
+
.IP "\fB\-d\fR, \fB\-\-debug\fR" 4
|
84
|
+
.IX Item "-d, --debug"
|
85
|
+
Turn debugging output on.
|
86
|
+
.IP "\fB\-f\fR, \fB\-\-fragment\fR" 4
|
87
|
+
.IX Item "-f, --fragment"
|
88
|
+
Output \s-1HTML\s0 fragments instead of whole documents.
|
89
|
+
.IP "\fB\-h\fR, \fB\-\-help\fR" 4
|
90
|
+
.IX Item "-h, --help"
|
91
|
+
Output a help message and exit.
|
92
|
+
.SH "AUTHORS"
|
93
|
+
.IX Header "AUTHORS"
|
94
|
+
\&\fBbluecloth\fR was written by Michael Granger.
|
95
|
+
.PP
|
96
|
+
This manual page has been written for the Debian Project by Cédric Boutillier (but
|
97
|
+
may used by others).
|
@@ -6,11 +6,9 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
14
|
require 'rspec'
|
data/spec/bluecloth/TEMPLATE
CHANGED
@@ -6,11 +6,9 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
14
|
require 'rspec'
|
@@ -6,11 +6,9 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
14
|
require 'rspec'
|
@@ -6,11 +6,9 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
14
|
require 'rspec'
|
@@ -6,11 +6,9 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
14
|
require 'rspec'
|
@@ -6,11 +6,9 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
14
|
require 'rspec'
|
@@ -6,11 +6,9 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
14
|
require 'rspec'
|
@@ -6,11 +6,9 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
14
|
require 'rspec'
|
@@ -6,11 +6,9 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
14
|
require 'rspec'
|
@@ -6,11 +6,9 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
14
|
require 'rspec'
|
@@ -6,10 +6,8 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
12
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
13
11
|
}
|
14
12
|
|
15
13
|
require 'rspec'
|
@@ -6,11 +6,9 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
14
|
require 'rspec'
|
@@ -6,11 +6,9 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
14
|
require 'rspec'
|
@@ -6,11 +6,9 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
14
|
require 'rspec'
|
data/spec/bluecloth_spec.rb
CHANGED
@@ -6,11 +6,9 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
14
|
require 'rspec'
|
@@ -43,7 +41,7 @@ describe BlueCloth do
|
|
43
41
|
end
|
44
42
|
|
45
43
|
it "knows what version of Discount was used to build it" do
|
46
|
-
BlueCloth.discount_version.should =~ /^\d+\.\d+\.\d+.*
|
44
|
+
BlueCloth.discount_version.should =~ /^\d+\.\d+\.\d+.*GITHUB-TAGS/
|
47
45
|
end
|
48
46
|
|
49
47
|
it "can build a flags bitmask out of an options hash" do
|
data/spec/bugfix_spec.rb
CHANGED
@@ -6,11 +6,9 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
14
|
require 'timeout'
|
@@ -35,19 +33,6 @@ describe BlueCloth, "bugfixes" do
|
|
35
33
|
|
36
34
|
|
37
35
|
|
38
|
-
### Test to be sure the README file can be transformed.
|
39
|
-
it "can transform the included README file" do
|
40
|
-
readme = @basedir + 'README.md'
|
41
|
-
contents = readme.read
|
42
|
-
|
43
|
-
bcobj = BlueCloth::new( contents )
|
44
|
-
|
45
|
-
expect {
|
46
|
-
timeout( 2 ) { bcobj.to_html }
|
47
|
-
}.to_not raise_error()
|
48
|
-
end
|
49
|
-
|
50
|
-
|
51
36
|
it "provides a workaround for the regexp-engine overflow bug" do
|
52
37
|
datafile = @datadir + 're-overflow.txt'
|
53
38
|
markdown = datafile.read
|
data/spec/contributions_spec.rb
CHANGED
@@ -5,14 +5,11 @@ BEGIN {
|
|
5
5
|
basedir = Pathname.new( __FILE__ ).dirname.parent
|
6
6
|
|
7
7
|
libdir = basedir + 'lib'
|
8
|
-
extdir = basedir + 'ext'
|
9
8
|
|
10
9
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
11
10
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
12
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
13
11
|
}
|
14
12
|
|
15
|
-
require 'rubygems'
|
16
13
|
require 'rspec'
|
17
14
|
require 'bluecloth'
|
18
15
|
|
data/spec/discount_spec.rb
CHANGED
@@ -6,14 +6,11 @@ BEGIN {
|
|
6
6
|
basedir = Pathname.new( __FILE__ ).dirname.parent
|
7
7
|
|
8
8
|
libdir = basedir + 'lib'
|
9
|
-
extdir = basedir + 'ext'
|
10
9
|
|
11
10
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
12
11
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
13
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
14
12
|
}
|
15
13
|
|
16
|
-
require 'rubygems'
|
17
14
|
require 'rspec'
|
18
15
|
require 'bluecloth'
|
19
16
|
|
data/spec/lib/helpers.rb
CHANGED
@@ -22,8 +22,10 @@ module BlueCloth::SpecHelpers
|
|
22
22
|
end # module BlueCloth::SpecHelpers
|
23
23
|
|
24
24
|
|
25
|
+
abort "You need a version of RSpec >= 2.6.0" unless defined?( RSpec )
|
26
|
+
|
25
27
|
### Mock with Rspec
|
26
|
-
|
28
|
+
RSpec.configure do |c|
|
27
29
|
c.mock_with :rspec
|
28
30
|
|
29
31
|
c.include( BlueCloth::SpecHelpers )
|
data/spec/lib/matchers.rb
CHANGED
data/spec/markdowntest_spec.rb
CHANGED
@@ -5,11 +5,9 @@ BEGIN {
|
|
5
5
|
basedir = Pathname.new( __FILE__ ).dirname.parent
|
6
6
|
|
7
7
|
libdir = basedir + 'lib'
|
8
|
-
extdir = basedir + 'ext'
|
9
8
|
|
10
9
|
$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
|
11
10
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
12
|
-
$LOAD_PATH.unshift( extdir ) unless $LOAD_PATH.include?( extdir )
|
13
11
|
}
|
14
12
|
|
15
13
|
require 'rspec'
|
metadata
CHANGED
@@ -1,181 +1,158 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bluecloth
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.2.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 2
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 2.1.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Michael Granger
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
|
-
cert_chain:
|
17
|
-
-
|
18
|
-
|
11
|
+
cert_chain:
|
12
|
+
- ! '-----BEGIN CERTIFICATE-----
|
13
|
+
|
19
14
|
MIIDLDCCAhSgAwIBAgIBADANBgkqhkiG9w0BAQUFADA8MQwwCgYDVQQDDANnZWQx
|
15
|
+
|
20
16
|
FzAVBgoJkiaJk/IsZAEZFgdfYWVyaWVfMRMwEQYKCZImiZPyLGQBGRYDb3JnMB4X
|
17
|
+
|
21
18
|
DTEwMDkxNjE0NDg1MVoXDTExMDkxNjE0NDg1MVowPDEMMAoGA1UEAwwDZ2VkMRcw
|
19
|
+
|
22
20
|
FQYKCZImiZPyLGQBGRYHX2FlcmllXzETMBEGCgmSJomT8ixkARkWA29yZzCCASIw
|
21
|
+
|
23
22
|
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALy//BFxC1f/cPSnwtJBWoFiFrir
|
23
|
+
|
24
24
|
h7RicI+joq/ocVXQqI4TDWPyF/8tqkvt+rD99X9qs2YeR8CU/YiIpLWrQOYST70J
|
25
|
+
|
25
26
|
vDn7Uvhb2muFVqq6+vobeTkILBEO6pionWDG8jSbo3qKm1RjKJDwg9p4wNKhPuu8
|
27
|
+
|
26
28
|
KGue/BFb67KflqyApPmPeb3Vdd9clspzqeFqp7cUBMEpFS6LWxy4Gk+qvFFJBJLB
|
29
|
+
|
27
30
|
BUHE/LZVJMVzfpC5Uq+QmY7B+FH/QqNndn3tOHgsPadLTNimuB1sCuL1a4z3Pepd
|
31
|
+
|
28
32
|
TeLBEFmEao5Dk3K/Q8o8vlbIB/jBDTUx6Djbgxw77909x6gI9doU4LD5XMcCAwEA
|
33
|
+
|
29
34
|
AaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFJeoGkOr9l4B
|
35
|
+
|
30
36
|
+saMkW/ZXT4UeSvVMA0GCSqGSIb3DQEBBQUAA4IBAQBG2KObvYI2eHyyBUJSJ3jN
|
37
|
+
|
31
38
|
vEnU3d60znAXbrSd2qb3r1lY1EPDD3bcy0MggCfGdg3Xu54z21oqyIdk8uGtWBPL
|
39
|
+
|
32
40
|
HIa9EgfFGSUEgvcIvaYqiN4jTUtidfEFw+Ltjs8AP9gWgSIYS6Gr38V0WGFFNzIH
|
41
|
+
|
33
42
|
aOD2wmu9oo/RffW4hS/8GuvfMzcw7CQ355wFR4KB/nyze+EsZ1Y5DerCAagMVuDQ
|
43
|
+
|
34
44
|
U0BLmWDFzPGGWlPeQCrYHCr+AcJz+NRnaHCKLZdSKj/RHuTOt+gblRex8FAh8NeA
|
45
|
+
|
35
46
|
cmlhXe46pZNJgWKbxZah85jIjx95hR8vOI+NAM5iH9kOqK13DrxacTKPhqj5PjwF
|
47
|
+
|
36
48
|
-----END CERTIFICATE-----
|
37
49
|
|
38
|
-
|
39
|
-
|
40
|
-
dependencies:
|
41
|
-
- !ruby/object:Gem::Dependency
|
50
|
+
'
|
51
|
+
date: 2011-11-01 00:00:00.000000000 Z
|
52
|
+
dependencies:
|
53
|
+
- !ruby/object:Gem::Dependency
|
42
54
|
name: hoe-mercurial
|
43
|
-
|
44
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
55
|
+
requirement: &70270530990420 !ruby/object:Gem::Requirement
|
45
56
|
none: false
|
46
|
-
requirements:
|
57
|
+
requirements:
|
47
58
|
- - ~>
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
|
50
|
-
segments:
|
51
|
-
- 1
|
52
|
-
- 2
|
53
|
-
- 1
|
54
|
-
version: 1.2.1
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 1.3.1
|
55
61
|
type: :development
|
56
|
-
version_requirements: *id001
|
57
|
-
- !ruby/object:Gem::Dependency
|
58
|
-
name: hoe-yard
|
59
62
|
prerelease: false
|
60
|
-
|
63
|
+
version_requirements: *70270530990420
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: hoe-highline
|
66
|
+
requirement: &70270530988960 !ruby/object:Gem::Requirement
|
61
67
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
66
|
-
segments:
|
67
|
-
- 0
|
68
|
-
- 1
|
69
|
-
- 2
|
70
|
-
version: 0.1.2
|
68
|
+
requirements:
|
69
|
+
- - ~>
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: 0.0.1
|
71
72
|
type: :development
|
72
|
-
version_requirements: *id002
|
73
|
-
- !ruby/object:Gem::Dependency
|
74
|
-
name: tidy-ext
|
75
73
|
prerelease: false
|
76
|
-
|
74
|
+
version_requirements: *70270530988960
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: tidy-ext
|
77
|
+
requirement: &70270530988200 !ruby/object:Gem::Requirement
|
77
78
|
none: false
|
78
|
-
requirements:
|
79
|
+
requirements:
|
79
80
|
- - ~>
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
|
82
|
-
segments:
|
83
|
-
- 0
|
84
|
-
- 1
|
85
|
-
version: "0.1"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.1'
|
86
83
|
type: :development
|
87
|
-
version_requirements: *id003
|
88
|
-
- !ruby/object:Gem::Dependency
|
89
|
-
name: rspec
|
90
84
|
prerelease: false
|
91
|
-
|
85
|
+
version_requirements: *70270530988200
|
86
|
+
- !ruby/object:Gem::Dependency
|
87
|
+
name: rake-compiler
|
88
|
+
requirement: &70270530987400 !ruby/object:Gem::Requirement
|
92
89
|
none: false
|
93
|
-
requirements:
|
90
|
+
requirements:
|
94
91
|
- - ~>
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
|
97
|
-
segments:
|
98
|
-
- 2
|
99
|
-
- 4
|
100
|
-
version: "2.4"
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0.7'
|
101
94
|
type: :development
|
102
|
-
version_requirements: *id004
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rake-compiler
|
105
95
|
prerelease: false
|
106
|
-
|
96
|
+
version_requirements: *70270530987400
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: &70270530986380 !ruby/object:Gem::Requirement
|
107
100
|
none: false
|
108
|
-
requirements:
|
101
|
+
requirements:
|
109
102
|
- - ~>
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
|
112
|
-
segments:
|
113
|
-
- 0
|
114
|
-
- 7
|
115
|
-
version: "0.7"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '2.6'
|
116
105
|
type: :development
|
117
|
-
version_requirements: *id005
|
118
|
-
- !ruby/object:Gem::Dependency
|
119
|
-
name: hoe
|
120
106
|
prerelease: false
|
121
|
-
|
107
|
+
version_requirements: *70270530986380
|
108
|
+
- !ruby/object:Gem::Dependency
|
109
|
+
name: hoe
|
110
|
+
requirement: &70270530985380 !ruby/object:Gem::Requirement
|
122
111
|
none: false
|
123
|
-
requirements:
|
124
|
-
- -
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
|
127
|
-
segments:
|
128
|
-
- 2
|
129
|
-
- 9
|
130
|
-
- 1
|
131
|
-
version: 2.9.1
|
112
|
+
requirements:
|
113
|
+
- - ~>
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '2.12'
|
132
116
|
type: :development
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
text-to-HTML
|
137
|
-
Markdown
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
you have both installed, you can ensure you're loading the new one with the
|
153
|
-
'gem' directive:
|
154
|
-
|
155
|
-
# Load the 2.0 version
|
156
|
-
gem 'bluecloth', '>= 2.0.0'
|
157
|
-
|
158
|
-
# Load the 1.0 version
|
159
|
-
gem 'BlueCloth'
|
160
|
-
require 'bluecloth'
|
161
|
-
email:
|
117
|
+
prerelease: false
|
118
|
+
version_requirements: *70270530985380
|
119
|
+
description: ! "BlueCloth is a Ruby implementation of John Gruber's\nMarkdown[http://daringfireball.net/projects/markdown/],
|
120
|
+
a text-to-HTML\nconversion tool for web writers. To quote from the project page:
|
121
|
+
Markdown\nallows you to write using an easy-to-read, easy-to-write plain text format,\nthen
|
122
|
+
convert it to structurally valid XHTML (or HTML).\n\nIt borrows a naming convention
|
123
|
+
and several helpings of interface from\n{Redcloth}[http://redcloth.org/], Why the
|
124
|
+
Lucky Stiff's processor for a\nsimilar text-to-HTML conversion syntax called\nTextile[http://www.textism.com/tools/textile/].\n\nBlueCloth
|
125
|
+
2 is a complete rewrite using David Parsons'\nDiscount[http://www.pell.portland.or.us/~orc/Code/discount/]
|
126
|
+
library, a C\nimplementation of Markdown. I rewrote it using the extension for speed
|
127
|
+
and\naccuracy; the original BlueCloth was a straight port from the Perl version\nthat
|
128
|
+
I wrote in a few days for my own use just to avoid having to shell out to\nMarkdown.pl,
|
129
|
+
and it was quite buggy and slow. I apologize to all the good\npeople that sent me
|
130
|
+
patches for it that were never released.\n\nNote that the new gem is called 'bluecloth'
|
131
|
+
and the old one 'BlueCloth'. If\nyou have both installed, you can ensure you're
|
132
|
+
loading the new one with the\n'gem' directive:\n\n\t# Load the 2.0 version\n\tgem
|
133
|
+
'bluecloth', '>= 2.0.0'\n\t\n\t# Load the 1.0 version\n\tgem 'BlueCloth'\n\trequire
|
134
|
+
'bluecloth'"
|
135
|
+
email:
|
162
136
|
- ged@FaerieMUD.org
|
163
|
-
executables:
|
137
|
+
executables:
|
164
138
|
- bluecloth
|
165
|
-
extensions:
|
139
|
+
extensions:
|
166
140
|
- ext/extconf.rb
|
167
|
-
extra_rdoc_files:
|
141
|
+
extra_rdoc_files:
|
168
142
|
- Manifest.txt
|
169
|
-
-
|
170
|
-
|
143
|
+
- README.rdoc
|
144
|
+
- History.rdoc
|
145
|
+
files:
|
171
146
|
- .gemtest
|
172
|
-
-
|
173
|
-
-
|
147
|
+
- .rspec
|
148
|
+
- History.rdoc
|
174
149
|
- LICENSE
|
175
150
|
- LICENSE.discount
|
176
|
-
-
|
151
|
+
- Manifest.txt
|
152
|
+
- README.rdoc
|
177
153
|
- Rakefile
|
178
154
|
- bin/bluecloth
|
155
|
+
- bluecloth.1.pod
|
179
156
|
- ext/Csio.c
|
180
157
|
- ext/VERSION
|
181
158
|
- ext/amalloc.h
|
@@ -201,6 +178,7 @@ files:
|
|
201
178
|
- ext/xml.c
|
202
179
|
- ext/xmlpage.c
|
203
180
|
- lib/bluecloth.rb
|
181
|
+
- man/man1/bluecloth.1
|
204
182
|
- spec/bluecloth/101_changes_spec.rb
|
205
183
|
- spec/bluecloth/TEMPLATE
|
206
184
|
- spec/bluecloth/autolinks_spec.rb
|
@@ -271,43 +249,32 @@ files:
|
|
271
249
|
- spec/lib/helpers.rb
|
272
250
|
- spec/lib/matchers.rb
|
273
251
|
- spec/markdowntest_spec.rb
|
274
|
-
has_rdoc: true
|
275
252
|
homepage: http://deveiate.org/projects/BlueCloth
|
276
|
-
licenses:
|
253
|
+
licenses:
|
277
254
|
- BSD
|
278
255
|
post_install_message:
|
279
|
-
rdoc_options:
|
280
|
-
- --
|
281
|
-
-
|
282
|
-
|
283
|
-
require_paths:
|
256
|
+
rdoc_options:
|
257
|
+
- --main
|
258
|
+
- README.rdoc
|
259
|
+
require_paths:
|
284
260
|
- lib
|
285
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
261
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
286
262
|
none: false
|
287
|
-
requirements:
|
288
|
-
- -
|
289
|
-
- !ruby/object:Gem::Version
|
290
|
-
hash: 57
|
291
|
-
segments:
|
292
|
-
- 1
|
293
|
-
- 8
|
294
|
-
- 7
|
263
|
+
requirements:
|
264
|
+
- - ! '>='
|
265
|
+
- !ruby/object:Gem::Version
|
295
266
|
version: 1.8.7
|
296
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
267
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
297
268
|
none: false
|
298
|
-
requirements:
|
299
|
-
- -
|
300
|
-
- !ruby/object:Gem::Version
|
301
|
-
|
302
|
-
segments:
|
303
|
-
- 0
|
304
|
-
version: "0"
|
269
|
+
requirements:
|
270
|
+
- - ! '>='
|
271
|
+
- !ruby/object:Gem::Version
|
272
|
+
version: '0'
|
305
273
|
requirements: []
|
306
|
-
|
307
274
|
rubyforge_project: bluecloth
|
308
|
-
rubygems_version: 1.
|
275
|
+
rubygems_version: 1.8.10
|
309
276
|
signing_key:
|
310
277
|
specification_version: 3
|
311
|
-
summary: BlueCloth is a Ruby implementation of John Gruber's
|
278
|
+
summary: BlueCloth is a Ruby implementation of John Gruber's Markdown[http://daringfireball.net/projects/markdown/],
|
279
|
+
a text-to-HTML conversion tool for web writers
|
312
280
|
test_files: []
|
313
|
-
|
metadata.gz.sig
CHANGED
Binary file
|