BBRedCloth 0.8.5 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- data/BBRedCloth.gemspec +17 -18
- data/ext/redcloth_scan/redcloth_scan.c +2 -2
- data/ext/redcloth_scan/redcloth_scan.c.rl +2 -2
- data/lib/redcloth/version.rb +1 -1
- data/test/helper.rb +5 -1
- data/test/test_custom_tags.rb +1 -1
- data/test/test_erb.rb +1 -1
- data/test/test_extensions.rb +1 -1
- data/test/test_formatters.rb +1 -1
- data/test/test_parser.rb +1 -1
- data/test/test_restrictions.rb +1 -1
- metadata +25 -29
data/BBRedCloth.gemspec
CHANGED
@@ -1,27 +1,26 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
|
-
s.name =
|
5
|
-
s.version = "0.8.
|
4
|
+
s.name = "BBRedCloth"
|
5
|
+
s.version = "0.8.6"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = [
|
9
|
-
s.date =
|
10
|
-
s.description =
|
11
|
-
|
12
|
-
s.
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
s.
|
16
|
-
s.
|
17
|
-
s.
|
18
|
-
s.
|
19
|
-
s.require_paths = [%q{lib}, %q{ext}, %q{lib/case_sensitive_require}]
|
8
|
+
s.authors = ["Ryan Alyea"]
|
9
|
+
s.date = "2012-01-01"
|
10
|
+
s.description = "BBRedCloth-0.8.6 - Textile parser for Ruby. Includes BBCode additions.\nhttp://redcloth.org/"
|
11
|
+
s.email = "ryan@fangamer.com"
|
12
|
+
s.executables = ["redcloth"]
|
13
|
+
s.extensions = ["ext/redcloth_scan/extconf.rb"]
|
14
|
+
s.extra_rdoc_files = ["CHANGELOG", "lib/case_sensitive_require/RedCloth.rb", "lib/redcloth/erb_extension.rb", "lib/redcloth/formatters/base.rb", "lib/redcloth/formatters/html.rb", "lib/redcloth/formatters/latex.rb", "lib/redcloth/textile_doc.rb", "lib/redcloth/version.rb", "lib/redcloth.rb", "README.textile"]
|
15
|
+
s.files = ["bin/redcloth", "CHANGELOG", "COPYING", "ext/mingw-rbconfig.rb", "ext/redcloth_scan/extconf.rb", "ext/redcloth_scan/redcloth.h", "ext/redcloth_scan/redcloth_attributes.c.rl", "ext/redcloth_scan/redcloth_attributes.java.rl", "ext/redcloth_scan/redcloth_attributes.rl", "ext/redcloth_scan/redcloth_bbcode.c.rl", "ext/redcloth_scan/redcloth_bbcode.rl", "ext/redcloth_scan/redcloth_bbcode_inline.rl", "ext/redcloth_scan/redcloth_bbcode_inline.c.rl", "ext/redcloth_scan/redcloth_common.c.rl", "ext/redcloth_scan/redcloth_common.java.rl", "ext/redcloth_scan/redcloth_common.rl", "ext/redcloth_scan/redcloth_inline.c.rl", "ext/redcloth_scan/redcloth_inline.java.rl", "ext/redcloth_scan/redcloth_inline.rl", "ext/redcloth_scan/redcloth_scan.c.rl", "ext/redcloth_scan/redcloth_scan.java.rl", "ext/redcloth_scan/redcloth_scan.rl", "extras/ragel_profiler.rb", "lib/case_sensitive_require/RedCloth.rb", "lib/redcloth/erb_extension.rb", "lib/redcloth/formatters/base.rb", "lib/redcloth/formatters/html.rb", "lib/redcloth/formatters/latex.rb", "lib/redcloth/formatters/latex_entities.yml", "lib/redcloth/textile_doc.rb", "lib/redcloth/version.rb", "lib/redcloth.rb", "Manifest", "Rakefile", "README.textile", "setup.rb", "test/basic.yml", "test/code.yml", "test/definitions.yml", "test/extra_whitespace.yml", "test/filter_html.yml", "test/filter_pba.yml", "test/helper.rb", "test/html.yml", "test/images.yml", "test/instiki.yml", "test/links.yml", "test/lists.yml", "test/poignant.yml", "test/sanitize_html.yml", "test/table.yml", "test/test_custom_tags.rb", "test/test_erb.rb", "test/test_extensions.rb", "test/test_formatters.rb", "test/test_parser.rb", "test/test_restrictions.rb", "test/textism.yml", "test/threshold.yml", "test/validate_fixtures.rb", "BBRedCloth.gemspec", "ext/redcloth_scan/redcloth_attributes.c", "ext/redcloth_scan/redcloth_inline.c", "ext/redcloth_scan/redcloth_scan.c", "ext/redcloth_scan/redcloth_bbcode.c", "ext/redcloth_scan/redcloth_bbcode_inline.c"]
|
16
|
+
s.homepage = "http://redcloth.org"
|
17
|
+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "BBRedCloth", "--main", "README.textile"]
|
18
|
+
s.require_paths = ["lib", "ext", "lib/case_sensitive_require"]
|
20
19
|
s.required_ruby_version = Gem::Requirement.new(">= 1.8.4")
|
21
|
-
s.rubyforge_project =
|
22
|
-
s.rubygems_version =
|
23
|
-
s.summary =
|
24
|
-
s.test_files = [
|
20
|
+
s.rubyforge_project = "bbredcloth"
|
21
|
+
s.rubygems_version = "1.8.10"
|
22
|
+
s.summary = "BBRedCloth-0.8.6 - Textile parser for Ruby. Includes BBCode additions. http://redcloth.org/"
|
23
|
+
s.test_files = ["test/test_custom_tags.rb", "test/test_erb.rb", "test/test_extensions.rb", "test/test_formatters.rb", "test/test_parser.rb", "test/test_restrictions.rb"]
|
25
24
|
|
26
25
|
if s.respond_to? :specification_version then
|
27
26
|
s.specification_version = 3
|
@@ -10711,7 +10711,7 @@ redcloth_html_esc(int argc, VALUE* argv, VALUE self) //(self, str, level)
|
|
10711
10711
|
|
10712
10712
|
char *ts = RSTRING_PTR(str), *te = RSTRING_PTR(str) + RSTRING_LEN(str);
|
10713
10713
|
char *t = ts, *t2 = ts, *ch = NULL;
|
10714
|
-
if (te <= ts) return;
|
10714
|
+
if (te <= ts) return STR_NEW2("");
|
10715
10715
|
|
10716
10716
|
while (t2 < te) {
|
10717
10717
|
ch = NULL;
|
@@ -10770,7 +10770,7 @@ redcloth_latex_esc(VALUE self, VALUE str)
|
|
10770
10770
|
|
10771
10771
|
char *ts = RSTRING_PTR(str), *te = RSTRING_PTR(str) + RSTRING_LEN(str);
|
10772
10772
|
char *t = ts, *t2 = ts, *ch = NULL;
|
10773
|
-
if (te <= ts) return;
|
10773
|
+
if (te <= ts) return STR_NEW2("");
|
10774
10774
|
|
10775
10775
|
while (t2 < te) {
|
10776
10776
|
ch = NULL;
|
@@ -99,7 +99,7 @@ redcloth_html_esc(int argc, VALUE* argv, VALUE self) //(self, str, level)
|
|
99
99
|
|
100
100
|
char *ts = RSTRING_PTR(str), *te = RSTRING_PTR(str) + RSTRING_LEN(str);
|
101
101
|
char *t = ts, *t2 = ts, *ch = NULL;
|
102
|
-
if (te <= ts) return;
|
102
|
+
if (te <= ts) return STR_NEW2("");
|
103
103
|
|
104
104
|
while (t2 < te) {
|
105
105
|
ch = NULL;
|
@@ -158,7 +158,7 @@ redcloth_latex_esc(VALUE self, VALUE str)
|
|
158
158
|
|
159
159
|
char *ts = RSTRING_PTR(str), *te = RSTRING_PTR(str) + RSTRING_LEN(str);
|
160
160
|
char *t = ts, *t2 = ts, *ch = NULL;
|
161
|
-
if (te <= ts) return;
|
161
|
+
if (te <= ts) return STR_NEW2("");
|
162
162
|
|
163
163
|
while (t2 < te) {
|
164
164
|
ch = NULL;
|
data/lib/redcloth/version.rb
CHANGED
data/test/helper.rb
CHANGED
data/test/test_custom_tags.rb
CHANGED
data/test/test_erb.rb
CHANGED
data/test/test_extensions.rb
CHANGED
data/test/test_formatters.rb
CHANGED
data/test/test_parser.rb
CHANGED
data/test/test_restrictions.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,25 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: BBRedCloth
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.8.6
|
4
5
|
prerelease:
|
5
|
-
version: 0.8.5
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Ryan Alyea
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
date: 2011-09-02 00:00:00 Z
|
12
|
+
date: 2012-01-01 00:00:00.000000000 Z
|
14
13
|
dependencies: []
|
14
|
+
description: ! 'BBRedCloth-0.8.6 - Textile parser for Ruby. Includes BBCode additions.
|
15
15
|
|
16
|
-
|
17
|
-
BBRedCloth-0.8.5 - Textile parser for Ruby. Includes BBCode additions.
|
18
|
-
http://redcloth.org/
|
16
|
+
http://redcloth.org/'
|
19
17
|
email: ryan@fangamer.com
|
20
|
-
executables:
|
18
|
+
executables:
|
21
19
|
- redcloth
|
22
|
-
extensions:
|
20
|
+
extensions:
|
23
21
|
- ext/redcloth_scan/extconf.rb
|
24
|
-
extra_rdoc_files:
|
22
|
+
extra_rdoc_files:
|
25
23
|
- CHANGELOG
|
26
24
|
- lib/case_sensitive_require/RedCloth.rb
|
27
25
|
- lib/redcloth/erb_extension.rb
|
@@ -32,7 +30,7 @@ extra_rdoc_files:
|
|
32
30
|
- lib/redcloth/version.rb
|
33
31
|
- lib/redcloth.rb
|
34
32
|
- README.textile
|
35
|
-
files:
|
33
|
+
files:
|
36
34
|
- bin/redcloth
|
37
35
|
- CHANGELOG
|
38
36
|
- COPYING
|
@@ -101,39 +99,37 @@ files:
|
|
101
99
|
- ext/redcloth_scan/redcloth_bbcode_inline.c
|
102
100
|
homepage: http://redcloth.org
|
103
101
|
licenses: []
|
104
|
-
|
105
102
|
post_install_message:
|
106
|
-
rdoc_options:
|
103
|
+
rdoc_options:
|
107
104
|
- --line-numbers
|
108
105
|
- --inline-source
|
109
106
|
- --title
|
110
107
|
- BBRedCloth
|
111
108
|
- --main
|
112
109
|
- README.textile
|
113
|
-
require_paths:
|
110
|
+
require_paths:
|
114
111
|
- lib
|
115
112
|
- ext
|
116
113
|
- lib/case_sensitive_require
|
117
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
114
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
118
115
|
none: false
|
119
|
-
requirements:
|
120
|
-
- -
|
121
|
-
- !ruby/object:Gem::Version
|
116
|
+
requirements:
|
117
|
+
- - ! '>='
|
118
|
+
- !ruby/object:Gem::Version
|
122
119
|
version: 1.8.4
|
123
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
121
|
none: false
|
125
|
-
requirements:
|
126
|
-
- -
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
version:
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '1.2'
|
129
126
|
requirements: []
|
130
|
-
|
131
127
|
rubyforge_project: bbredcloth
|
132
|
-
rubygems_version: 1.8.
|
128
|
+
rubygems_version: 1.8.10
|
133
129
|
signing_key:
|
134
130
|
specification_version: 3
|
135
|
-
summary: BBRedCloth-0.8.
|
136
|
-
test_files:
|
131
|
+
summary: BBRedCloth-0.8.6 - Textile parser for Ruby. Includes BBCode additions. http://redcloth.org/
|
132
|
+
test_files:
|
137
133
|
- test/test_custom_tags.rb
|
138
134
|
- test/test_erb.rb
|
139
135
|
- test/test_extensions.rb
|