RedCloth 4.2.7-java → 4.2.9-java

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 CHANGED
@@ -1,4 +1,13 @@
1
- == 4.2.7 / Febrary 10, 2011
1
+ == 4.2.9 / November 25, 2011
2
+
3
+ * Fix RbConfig / Config warning in Ruby 1.9.3. [Steve Purcell, Robert Gleeson, and unclaimedbaggage]
4
+ * Use RSTRING_NOT_MODIFIED header for Rubinius [Dirkjan Bussink]
5
+
6
+ == 4.2.8 / August 17, 2011
7
+
8
+ * Do not treat warnings as errors so it compiles cleanly. [Tomasz Wałkuski]
9
+
10
+ == 4.2.7 / February 10, 2011
2
11
 
3
12
  * Fixed typo in gemspec to make case-sensitive require work. [Gabe da Silveira]
4
13
  * Tested installing the gem and requiring it with both cases on Ubuntu 8.04, 10.10 and OS X Version 10.6.6.
@@ -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
- # gem install bundler
49
- # bundle install
50
- # rake-compiler cross-ruby VERSION=1.8.6-p398
51
- # rake-compiler cross-ruby VERSION=1.9.1-p243
52
- # rake build:all
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
 
@@ -7,7 +7,8 @@ Object.send(:remove_const, :RedCloth) if Object.const_defined?(:RedCloth) && Red
7
7
 
8
8
  require 'rbconfig'
9
9
  begin
10
- prefix = Config::CONFIG['arch'] =~ /mswin|mingw/ ? "#{Config::CONFIG['MAJOR']}.#{Config::CONFIG['MINOR']}/" : ''
10
+ conf = Object.const_get(defined?(RbConfig) ? :RbConfig : :Config)::CONFIG
11
+ prefix = conf['arch'] =~ /mswin|mingw/ ? "#{conf['MAJOR']}.#{conf['MINOR']}/" : ''
11
12
  lib = "#{prefix}redcloth_scan"
12
13
  require lib
13
14
  rescue LoadError => e
@@ -41,4 +42,4 @@ begin
41
42
  require 'redcloth/erb_extension'
42
43
  include ERB::Util
43
44
  rescue LoadError
44
- end
45
+ end
@@ -2,7 +2,7 @@ module RedCloth
2
2
  module VERSION
3
3
  MAJOR = 4
4
4
  MINOR = 2
5
- TINY = 7
5
+ TINY = 9
6
6
  RELEASE_CANDIDATE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, RELEASE_CANDIDATE].compact.join('.')
Binary file
@@ -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 -Werror' if CONFIG['CC'] =~ /gcc/
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,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RedCloth
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 4
7
- - 2
8
- - 7
9
- version: 4.2.7
4
+ prerelease:
5
+ version: 4.2.9
10
6
  platform: java
11
7
  authors:
12
8
  - Jason Garber
@@ -16,19 +12,15 @@ autorequire:
16
12
  bindir: bin
17
13
  cert_chain: []
18
14
 
19
- date: 2011-02-11 00:00:00 -06:00
20
- default_executable: redcloth
15
+ date: 2011-11-27 00:00:00 Z
21
16
  dependencies:
22
17
  - !ruby/object:Gem::Dependency
23
18
  name: bundler
24
19
  version_requirements: &id001 !ruby/object:Gem::Requirement
20
+ none: false
25
21
  requirements:
26
22
  - - ~>
27
23
  - !ruby/object:Gem::Version
28
- segments:
29
- - 1
30
- - 0
31
- - 10
32
24
  version: 1.0.10
33
25
  requirement: *id001
34
26
  prerelease: false
@@ -36,13 +28,10 @@ dependencies:
36
28
  - !ruby/object:Gem::Dependency
37
29
  name: rake
38
30
  version_requirements: &id002 !ruby/object:Gem::Requirement
31
+ none: false
39
32
  requirements:
40
33
  - - ~>
41
34
  - !ruby/object:Gem::Version
42
- segments:
43
- - 0
44
- - 8
45
- - 7
46
35
  version: 0.8.7
47
36
  requirement: *id002
48
37
  prerelease: false
@@ -50,12 +39,10 @@ dependencies:
50
39
  - !ruby/object:Gem::Dependency
51
40
  name: rspec
52
41
  version_requirements: &id003 !ruby/object:Gem::Requirement
42
+ none: false
53
43
  requirements:
54
44
  - - ~>
55
45
  - !ruby/object:Gem::Version
56
- segments:
57
- - 2
58
- - 4
59
46
  version: "2.4"
60
47
  requirement: *id003
61
48
  prerelease: false
@@ -63,13 +50,10 @@ dependencies:
63
50
  - !ruby/object:Gem::Dependency
64
51
  name: diff-lcs
65
52
  version_requirements: &id004 !ruby/object:Gem::Requirement
53
+ none: false
66
54
  requirements:
67
55
  - - ~>
68
56
  - !ruby/object:Gem::Version
69
- segments:
70
- - 1
71
- - 1
72
- - 2
73
57
  version: 1.1.2
74
58
  requirement: *id004
75
59
  prerelease: false
@@ -77,13 +61,10 @@ dependencies:
77
61
  - !ruby/object:Gem::Dependency
78
62
  name: rvm
79
63
  version_requirements: &id005 !ruby/object:Gem::Requirement
64
+ none: false
80
65
  requirements:
81
66
  - - ~>
82
67
  - !ruby/object:Gem::Version
83
- segments:
84
- - 1
85
- - 2
86
- - 6
87
68
  version: 1.2.6
88
69
  requirement: *id005
89
70
  prerelease: false
@@ -91,13 +72,10 @@ dependencies:
91
72
  - !ruby/object:Gem::Dependency
92
73
  name: rake-compiler
93
74
  version_requirements: &id006 !ruby/object:Gem::Requirement
75
+ none: false
94
76
  requirements:
95
77
  - - ~>
96
78
  - !ruby/object:Gem::Version
97
- segments:
98
- - 0
99
- - 7
100
- - 1
101
79
  version: 0.7.1
102
80
  requirement: *id006
103
81
  prerelease: false
@@ -123,7 +101,6 @@ files:
123
101
  - doc/textile_reference.html
124
102
  - bin/redcloth
125
103
  - lib/redcloth.rb
126
- - lib/redcloth_scan.jar
127
104
  - lib/case_sensitive_require/RedCloth.rb
128
105
  - lib/redcloth/erb_extension.rb
129
106
  - lib/redcloth/textile_doc.rb
@@ -172,7 +149,7 @@ files:
172
149
  - tasks/release.rake
173
150
  - tasks/rspec.rake
174
151
  - tasks/rvm.rake
175
- has_rdoc: true
152
+ - lib/redcloth_scan.jar
176
153
  homepage: http://redcloth.org
177
154
  licenses: []
178
155
 
@@ -190,26 +167,30 @@ require_paths:
190
167
  - lib/case_sensitive_require
191
168
  - ext
192
169
  required_ruby_version: !ruby/object:Gem::Requirement
170
+ none: false
193
171
  requirements:
194
172
  - - ">="
195
173
  - !ruby/object:Gem::Version
174
+ hash: 2
196
175
  segments:
197
176
  - 0
198
177
  version: "0"
199
178
  required_rubygems_version: !ruby/object:Gem::Requirement
179
+ none: false
200
180
  requirements:
201
181
  - - ">="
202
182
  - !ruby/object:Gem::Version
183
+ hash: 2
203
184
  segments:
204
185
  - 0
205
186
  version: "0"
206
187
  requirements: []
207
188
 
208
189
  rubyforge_project: redcloth
209
- rubygems_version: 1.3.6
190
+ rubygems_version: 1.8.9
210
191
  signing_key:
211
192
  specification_version: 3
212
- summary: RedCloth-4.2.7
193
+ summary: RedCloth-4.2.9
213
194
  test_files:
214
195
  - spec/benchmark_spec.rb
215
196
  - spec/custom_tags_spec.rb