RedCloth 4.2.7 → 4.2.8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of RedCloth might be problematic. Click here for more details.
- data/CHANGELOG +5 -1
- data/README.rdoc +5 -5
- data/ext/redcloth_scan/extconf.rb +1 -1
- data/ext/redcloth_scan/redcloth_attributes.c +2 -2
- data/ext/redcloth_scan/redcloth_inline.c +2 -2
- data/ext/redcloth_scan/redcloth_scan.c +2 -2
- data/lib/redcloth/version.rb +1 -1
- data/tasks/compile.rake +7 -7
- metadata +30 -33
- data/lib/redcloth_scan.jar +0 -0
data/CHANGELOG
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
-
== 4.2.
|
1
|
+
== 4.2.8 / August 17, 2011
|
2
|
+
|
3
|
+
* Do not treat warnings as errors so it compiles cleanly. [Tomasz Wałkuski]
|
4
|
+
|
5
|
+
== 4.2.7 / February 10, 2011
|
2
6
|
|
3
7
|
* Fixed typo in gemspec to make case-sensitive require work. [Gabe da Silveira]
|
4
8
|
* Tested installing the gem and requiring it with both cases on Ubuntu 8.04, 10.10 and OS X Version 10.6.6.
|
data/README.rdoc
CHANGED
@@ -45,11 +45,11 @@ To compile MRI, JRuby, and win32 gems, you need rvm and rake-compiler. These
|
|
45
45
|
and other dependencies can be installed with bundler. Then rake build:all
|
46
46
|
takes care of compiling and packaging all gems.
|
47
47
|
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
48
|
+
1. gem install bundler
|
49
|
+
2. bundle install
|
50
|
+
3. rake-compiler cross-ruby VERSION=1.8.6-p398
|
51
|
+
4. rake-compiler cross-ruby VERSION=1.9.1-p243
|
52
|
+
5. rake build:all
|
53
53
|
|
54
54
|
== Bugs
|
55
55
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'mkmf'
|
2
2
|
CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
|
3
|
-
$CFLAGS << ' -O0 -Wall
|
3
|
+
$CFLAGS << ' -O0 -Wall ' if CONFIG['CC'] =~ /gcc/
|
4
4
|
dir_config("redcloth_scan")
|
5
5
|
have_library("c", "main")
|
6
6
|
create_makefile("redcloth_scan")
|
@@ -476,7 +476,7 @@ _resume:
|
|
476
476
|
else if ( (*p) > *_mid )
|
477
477
|
_lower = _mid + 1;
|
478
478
|
else {
|
479
|
-
_trans += (_mid - _keys);
|
479
|
+
_trans += (unsigned int)(_mid - _keys);
|
480
480
|
goto _match;
|
481
481
|
}
|
482
482
|
}
|
@@ -499,7 +499,7 @@ _resume:
|
|
499
499
|
else if ( (*p) > _mid[1] )
|
500
500
|
_lower = _mid + 2;
|
501
501
|
else {
|
502
|
-
_trans += ((_mid - _keys)>>1);
|
502
|
+
_trans += (unsigned int)((_mid - _keys)>>1);
|
503
503
|
goto _match;
|
504
504
|
}
|
505
505
|
}
|
@@ -7356,7 +7356,7 @@ _resume:
|
|
7356
7356
|
else if ( _widec > *_mid )
|
7357
7357
|
_lower = _mid + 1;
|
7358
7358
|
else {
|
7359
|
-
_trans += (_mid - _keys);
|
7359
|
+
_trans += (unsigned int)(_mid - _keys);
|
7360
7360
|
goto _match;
|
7361
7361
|
}
|
7362
7362
|
}
|
@@ -7379,7 +7379,7 @@ _resume:
|
|
7379
7379
|
else if ( _widec > _mid[1] )
|
7380
7380
|
_lower = _mid + 2;
|
7381
7381
|
else {
|
7382
|
-
_trans += ((_mid - _keys)>>1);
|
7382
|
+
_trans += (unsigned int)((_mid - _keys)>>1);
|
7383
7383
|
goto _match;
|
7384
7384
|
}
|
7385
7385
|
}
|
@@ -23180,7 +23180,7 @@ _resume:
|
|
23180
23180
|
else if ( _widec > *_mid )
|
23181
23181
|
_lower = _mid + 1;
|
23182
23182
|
else {
|
23183
|
-
_trans += (_mid - _keys);
|
23183
|
+
_trans += (unsigned int)(_mid - _keys);
|
23184
23184
|
goto _match;
|
23185
23185
|
}
|
23186
23186
|
}
|
@@ -23203,7 +23203,7 @@ _resume:
|
|
23203
23203
|
else if ( _widec > _mid[1] )
|
23204
23204
|
_lower = _mid + 2;
|
23205
23205
|
else {
|
23206
|
-
_trans += ((_mid - _keys)>>1);
|
23206
|
+
_trans += (unsigned int)((_mid - _keys)>>1);
|
23207
23207
|
goto _match;
|
23208
23208
|
}
|
23209
23209
|
}
|
data/lib/redcloth/version.rb
CHANGED
data/tasks/compile.rake
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
CLEAN.include [
|
2
2
|
'tmp',
|
3
3
|
'**/*.{o,obj,class,pdb,lib,def,exp,log,rbc}',
|
4
|
-
'ext/redcloth_scan/**/redcloth_*.rb',
|
4
|
+
'ext/redcloth_scan/**/redcloth_*.rb',
|
5
5
|
'ext/redcloth_scan/Makefile', 'ext/redcloth_scan/extconf.rb',
|
6
6
|
]
|
7
7
|
CLOBBER.include [
|
8
8
|
'pkg',
|
9
9
|
'**/*.{c,java}',
|
10
|
-
'lib/**/*.{bundle,so,o,obj,pdb,lib,def,exp,jar}',
|
11
|
-
'lib/redcloth_scan.rb',
|
10
|
+
'lib/**/*.{bundle,so,o,obj,pdb,lib,def,exp,jar}',
|
11
|
+
'lib/redcloth_scan.rb',
|
12
12
|
]
|
13
13
|
|
14
14
|
# Load the Gem specification for the current platform (Ruby or JRuby).
|
@@ -22,7 +22,7 @@ require File.dirname(__FILE__) + '/ragel_extension_task'
|
|
22
22
|
|
23
23
|
if defined?(JRUBY_VERSION)
|
24
24
|
Rake::JavaRagelExtensionTask.new('redcloth_scan', gemspec)
|
25
|
-
else
|
25
|
+
else
|
26
26
|
extconf = "ext/redcloth_scan/extconf.rb"
|
27
27
|
file extconf do
|
28
28
|
FileUtils.mkdir(File.dirname(extconf)) unless File.directory?(File.dirname(extconf))
|
@@ -30,7 +30,7 @@ else
|
|
30
30
|
io.write(<<-EOF)
|
31
31
|
require 'mkmf'
|
32
32
|
CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
|
33
|
-
$CFLAGS << ' -O0 -Wall
|
33
|
+
$CFLAGS << ' -O0 -Wall ' if CONFIG['CC'] =~ /gcc/
|
34
34
|
dir_config("redcloth_scan")
|
35
35
|
have_library("c", "main")
|
36
36
|
create_makefile("redcloth_scan")
|
@@ -38,10 +38,10 @@ create_makefile("redcloth_scan")
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
Rake::RagelExtensionTask.new("redcloth_scan", gemspec) do |ext|
|
41
|
+
Rake::RagelExtensionTask.new("redcloth_scan", gemspec) do |ext|
|
42
42
|
if ENV['RUBY_CC_VERSION']
|
43
43
|
ext.cross_compile = true
|
44
44
|
ext.cross_platform = ['i386-mingw32', 'i386-mswin32-60']
|
45
45
|
end
|
46
46
|
end
|
47
|
-
end
|
47
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RedCloth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 39
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 4
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 4.2.
|
9
|
+
- 8
|
10
|
+
version: 4.2.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jason Garber
|
@@ -17,11 +17,12 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2011-
|
21
|
-
default_executable: redcloth
|
20
|
+
date: 2011-08-17 00:00:00 Z
|
22
21
|
dependencies:
|
23
22
|
- !ruby/object:Gem::Dependency
|
24
|
-
|
23
|
+
name: bundler
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
26
|
none: false
|
26
27
|
requirements:
|
27
28
|
- - ~>
|
@@ -32,12 +33,12 @@ dependencies:
|
|
32
33
|
- 0
|
33
34
|
- 10
|
34
35
|
version: 1.0.10
|
35
|
-
prerelease: false
|
36
36
|
type: :development
|
37
|
-
|
38
|
-
name: bundler
|
37
|
+
version_requirements: *id001
|
39
38
|
- !ruby/object:Gem::Dependency
|
40
|
-
|
39
|
+
name: rake
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
42
|
none: false
|
42
43
|
requirements:
|
43
44
|
- - ~>
|
@@ -48,12 +49,12 @@ dependencies:
|
|
48
49
|
- 8
|
49
50
|
- 7
|
50
51
|
version: 0.8.7
|
51
|
-
prerelease: false
|
52
52
|
type: :development
|
53
|
-
|
54
|
-
name: rake
|
53
|
+
version_requirements: *id002
|
55
54
|
- !ruby/object:Gem::Dependency
|
56
|
-
|
55
|
+
name: rspec
|
56
|
+
prerelease: false
|
57
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
58
|
none: false
|
58
59
|
requirements:
|
59
60
|
- - ~>
|
@@ -63,12 +64,12 @@ dependencies:
|
|
63
64
|
- 2
|
64
65
|
- 4
|
65
66
|
version: "2.4"
|
66
|
-
prerelease: false
|
67
67
|
type: :development
|
68
|
-
|
69
|
-
name: rspec
|
68
|
+
version_requirements: *id003
|
70
69
|
- !ruby/object:Gem::Dependency
|
71
|
-
|
70
|
+
name: diff-lcs
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
72
73
|
none: false
|
73
74
|
requirements:
|
74
75
|
- - ~>
|
@@ -79,12 +80,12 @@ dependencies:
|
|
79
80
|
- 1
|
80
81
|
- 2
|
81
82
|
version: 1.1.2
|
82
|
-
prerelease: false
|
83
83
|
type: :development
|
84
|
-
|
85
|
-
name: diff-lcs
|
84
|
+
version_requirements: *id004
|
86
85
|
- !ruby/object:Gem::Dependency
|
87
|
-
|
86
|
+
name: rvm
|
87
|
+
prerelease: false
|
88
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
88
89
|
none: false
|
89
90
|
requirements:
|
90
91
|
- - ~>
|
@@ -95,12 +96,12 @@ dependencies:
|
|
95
96
|
- 2
|
96
97
|
- 6
|
97
98
|
version: 1.2.6
|
98
|
-
prerelease: false
|
99
99
|
type: :development
|
100
|
-
|
101
|
-
name: rvm
|
100
|
+
version_requirements: *id005
|
102
101
|
- !ruby/object:Gem::Dependency
|
103
|
-
|
102
|
+
name: rake-compiler
|
103
|
+
prerelease: false
|
104
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
104
105
|
none: false
|
105
106
|
requirements:
|
106
107
|
- - ~>
|
@@ -111,10 +112,8 @@ dependencies:
|
|
111
112
|
- 7
|
112
113
|
- 1
|
113
114
|
version: 0.7.1
|
114
|
-
prerelease: false
|
115
115
|
type: :development
|
116
|
-
|
117
|
-
name: rake-compiler
|
116
|
+
version_requirements: *id006
|
118
117
|
description: Textile parser for Ruby.
|
119
118
|
email: redcloth-upwards@rubyforge.org
|
120
119
|
executables:
|
@@ -144,7 +143,6 @@ files:
|
|
144
143
|
- lib/redcloth/textile_doc.rb
|
145
144
|
- lib/redcloth/version.rb
|
146
145
|
- lib/redcloth.rb
|
147
|
-
- lib/redcloth_scan.jar
|
148
146
|
- lib/tasks/pureruby.rake
|
149
147
|
- redcloth.gemspec
|
150
148
|
- spec/benchmark_spec.rb
|
@@ -190,7 +188,6 @@ files:
|
|
190
188
|
- ext/redcloth_scan/redcloth_scan.c
|
191
189
|
- ext/redcloth_scan/redcloth.h
|
192
190
|
- ext/redcloth_scan/extconf.rb
|
193
|
-
has_rdoc: true
|
194
191
|
homepage: http://redcloth.org
|
195
192
|
licenses: []
|
196
193
|
|
@@ -228,10 +225,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
228
225
|
requirements: []
|
229
226
|
|
230
227
|
rubyforge_project: redcloth
|
231
|
-
rubygems_version: 1.
|
228
|
+
rubygems_version: 1.8.6
|
232
229
|
signing_key:
|
233
230
|
specification_version: 3
|
234
|
-
summary: RedCloth-4.2.
|
231
|
+
summary: RedCloth-4.2.8
|
235
232
|
test_files:
|
236
233
|
- spec/benchmark_spec.rb
|
237
234
|
- spec/custom_tags_spec.rb
|
data/lib/redcloth_scan.jar
DELETED
Binary file
|