Skip to content

Commit c5a7ccd

Browse files
committed
Merge pull request #24 from jgarber/4.3-devel
4.3 devel
2 parents 333ff8e + dc99e34 commit c5a7ccd

14 files changed

+29
-1010
lines changed

.travis.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,14 @@ cache: bundler
33
sudo: false
44
rvm:
55
- 2.0.0
6+
- 2.2.3
67
- 1.9.3
78
- 1.9.2
8-
- jruby-18mode
9-
- jruby-19mode
10-
- rbx-2
119
- ruby-head
12-
- jruby-head
1310
- 1.8.7
1411
- ree
1512
matrix:
1613
fast_finish: true
17-
allow_failures:
18-
- rvm: jruby-18mode
19-
- rvm: jruby-19mode
20-
- rvm: jruby-head
2114
compiler:
2215
- clang
2316
- gcc

CHANGELOG

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
== Head
1+
== 4.3.0 / April 29th, 2016
2+
3+
* Remove JRuby and Windows cross compilation and support
4+
* Add Ruby 2.2.3 testing and support
25

36
* include CVE-2012-6684 fix [Tomas Pospisek]
47
* fix by [Antonio Terceiro]

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ source 'https://rubygems.org'
22
gemspec
33

44
group :compilation do
5-
gem 'rvm', '~> 1.2.6'
5+
gem 'rvm', '~> 1.11.3.9'
66
gem 'rake-compiler', '~> 0.7.1'
77
end

README.rdoc

Lines changed: 7 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
= RedCloth - Textile parser for Ruby
22

33
Homepage:: http://redcloth.org
4-
Author:: Jason Garber
54
Maintainer:: Joshua Siler https://github.com/joshuasiler
5+
Author:: Jason Garber
66
Copyright:: (c) 2011 Jason Garber
77
License:: MIT
88

@@ -14,68 +14,36 @@ License:: MIT
1414

1515
RedCloth is a Ruby library for converting Textile into HTML.
1616

17-
== RedCloth needs new maintainers
18-
19-
The {owner of this gem since 2007}[https://github.com/jgarber] is unable to
20-
keep fixing bugs or work on the next major release, {RedCloth
21-
5}[https://github.com/jgarber/redcloth-parslet]. He's looking for one or more
22-
developers who can:
23-
24-
<b>Current version</b>
25-
26-
* Fix any urgent {bugs}[http://jgarber.lighthouseapp.com/projects/13054-redcloth/overview] in RedCloth 4.x. You'll probably need to know Ragel and understand Ruby extensions in C and perhaps Java.
27-
* Precompile the gem for Windows and JRuby or fix broken cross-compilation to automate the process
28-
* Cut releases on the 4.x series.
17+
== Attention - Deprecating JRuby and Windows support in version 4.3
2918

30-
<b>Future version</b>
31-
32-
* Complete {redcloth-parslet}[https://github.com/jgarber/redcloth-parslet], which will be a major release and replace this repository when finished. You need to understand the Parslet DSL, which can be learned in a couple hours.
33-
* Meet or exceed the current level of unit and integration testing. Unit testing of the individual patterns makes it much easier to develop and maintain than the old parser.
34-
* Release RedCloth 5.0 to much fanfare.
19+
In order to prioritize merging a fix for the long standing vulnerability *CVE-2012-6684*, our {new maintainer}[https://github.com/joshuasiler] has elected to stop maintaining the precompiled versions for Windows and JRuby.
3520

3621
== Installing
3722

3823
RedCloth can be installed via RubyGems:
3924

4025
gem install RedCloth
4126

42-
It will install the appropriate Ruby, JRuby, or Win32 gem. If using JRuby,
43-
version 1.1.5 or greater is required.
44-
4527
== Compiling
4628

4729
If you just want to use RedCloth, you do NOT need to build/compile it. It is
4830
compiled from C sources automatically when you install the gem on the ruby
49-
platform. Precompiled binary gems are provided for JRuby and Win32 platforms.
31+
platform. Precompiled binary gems are provided for JRuby and Win32 platforms prior to version 4.3.
5032

5133
RedCloth can be compiled with <tt>rake compile</tt>. Ragel 6.3 or greater is
5234
required. Again, Ragel is NOT needed to simply use RedCloth.
5335

5436
=== Supported platforms
5537

56-
By default, the rake compile task builds a native C extension (MRI 1.8 or 1.9)
57-
or Java extension (JRuby 1.3). A pure Ruby version can also be generated, but
58-
it's super slow and Ruby 1.8-only. The JRuby and pure-Ruby extensions don't
59-
support multi-byte characters. Cross-compiling for win32 uses rake-compiler.
38+
By default, the rake compile task builds a native C extension (MRI 1.8 or 1.9). A pure Ruby version can also be generated, but it's super slow and Ruby 1.8-only, and doesn't
39+
support multi-byte characters.
6040

6141
The RedCloth::EXTENSION_LANGUAGE constant indicates in which language your
6242
copy of RedCloth is compiled.
6343

64-
=== Compiling gems
65-
66-
To compile MRI, JRuby, and win32 gems, you need rvm and rake-compiler. These
67-
and other dependencies can be installed with bundler. Then rake build:all
68-
takes care of compiling and packaging all gems.
69-
70-
1. gem install bundler
71-
2. bundle install
72-
3. rake-compiler cross-ruby VERSION=1.8.6-p398
73-
4. rake-compiler cross-ruby VERSION=1.9.1-p243
74-
5. rake build:all
75-
7644
== Bugs
7745

78-
Please submit bugs to http://jgarber.lighthouseapp.com/projects/13054-redcloth/overview
46+
Please submit bugs as issues to this repo.
7947

8048
== Using RedCloth
8149

lib/redcloth/version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module RedCloth
22
module VERSION
33
MAJOR = 4
4-
MINOR = 2
5-
TINY = 9
4+
MINOR = 3
5+
TINY = 0
66
RELEASE_CANDIDATE = 1
77

88
STRING = [MAJOR, MINOR, TINY, RELEASE_CANDIDATE].compact.join('.')

ragel/redcloth_attributes.java.rl

Lines changed: 0 additions & 83 deletions
This file was deleted.

ragel/redcloth_common.java.rl

Lines changed: 0 additions & 25 deletions
This file was deleted.

ragel/redcloth_inline.java.rl

Lines changed: 0 additions & 141 deletions
This file was deleted.

0 commit comments

Comments
 (0)