Skip to content

Commit 1da7a22

Browse files
committed
update
1 parent 79cfee2 commit 1da7a22

File tree

5 files changed

+2
-100
lines changed

5 files changed

+2
-100
lines changed

Gemfile

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ gem "commonmarker", git: "https://github.com/gjtorikian/commonmarker.git", tag:
1111
gem "rdoc", "~> 6.7.0"
1212
gem "org-ruby", "= 0.9.12"
1313
gem "creole", "~> 0.5.0"
14-
gem "wikicloth", "0.8.4.6.ga1b6c30"
1514
gem "rexml"
1615
gem "asciidoctor", "~> 2.0.23"
1716
gem "rake"

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ you wish to run the library. You can also run `script/bootstrap` to fetch them a
2525
* [.org](http://orgmode.org/) -- `gem install org-ruby` (https://github.com/wallyqs/org-ruby)
2626
* [.creole](http://wikicreole.org/) -- `gem install creole` (https://github.com/larsch/creole)
2727
* [.mediawiki, .wiki](http://www.mediawiki.org/wiki/Help:Formatting) -- `gem install wikicloth` (https://github.com/nricciar/wikicloth)
28+
- Note: The currently released version of `wikicloth`, `0.8.3`, is not
29+
compatible with the latest version of this gem.
2830
* [.rst](http://docutils.sourceforge.net/rst.html) -- `pip install docutils`
2931
* [.asciidoc, .adoc, .asc](http://asciidoc.org/) -- `gem install asciidoctor` (http://asciidoctor.org)
3032
* [.pod](http://search.cpan.org/dist/perl/pod/perlpod.pod) -- `Pod::Simple::XHTML`

test/markup_test.rb

-5
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ def call
5151
markup = readme.split('/').last.gsub(/^README\./, '')
5252

5353
define_method "test_#{markup}" do
54-
skip(
55-
"Skipping MediaWiki test because wikicloth is currently not compatible with JRuby.",
56-
) if markup == "mediawiki" && RUBY_PLATFORM == "java"
57-
5854
source = File.read(readme)
5955
expected_file = "#{readme}.html"
6056
expected = File.read(expected_file).rstrip
@@ -90,7 +86,6 @@ def test_each_render_has_a_name
9086
assert_equal "rdoc", GitHub::Markup.renderer('README.rdoc', '* One').name
9187
assert_equal "org-ruby", GitHub::Markup.renderer('README.org', '* Title').name
9288
assert_equal "creole", GitHub::Markup.renderer('README.creole', '= Title =').name
93-
assert_equal "wikicloth", GitHub::Markup.renderer('README.wiki', '<h1>Title</h1>').name
9489
assert_equal "asciidoctor", GitHub::Markup.renderer('README.adoc', '== Title').name
9590
assert_equal "restructuredtext", GitHub::Markup.renderer('README.rst', 'Title').name
9691
assert_equal "pod", GitHub::Markup.renderer('README.pod', '=head1').name

test/markups/README.mediawiki

-30
This file was deleted.

test/markups/README.mediawiki.html

-64
This file was deleted.

0 commit comments

Comments
 (0)