diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-04-26 14:25:52 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-04-26 14:25:52 +0000 |
commit | 5364a14b49f614f5afb775d8a9d34ded4d3c038a (patch) | |
tree | d474b45638452bf8c541a33c9c5157e6a2fd22e5 /dev-ruby/rdoc/files | |
parent | Add a patch to fix a few more problems in eventmachine, such as bug #317281. (diff) | |
download | gentoo-2-5364a14b49f614f5afb775d8a9d34ded4d3c038a.tar.gz gentoo-2-5364a14b49f614f5afb775d8a9d34ded4d3c038a.tar.bz2 gentoo-2-5364a14b49f614f5afb775d8a9d34ded4d3c038a.zip |
Version bump, add a patch so that tests pass on Ruby 1.9.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rdoc/files')
-rw-r--r-- | dev-ruby/rdoc/files/rdoc-2.5.6-ruby19.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-ruby/rdoc/files/rdoc-2.5.6-ruby19.patch b/dev-ruby/rdoc/files/rdoc-2.5.6-ruby19.patch new file mode 100644 index 000000000000..f55bd948fff5 --- /dev/null +++ b/dev-ruby/rdoc/files/rdoc-2.5.6-ruby19.patch @@ -0,0 +1,27 @@ +Index: rdoc-2.5.6/test/test_rdoc_markup_pre_process.rb +=================================================================== +--- rdoc-2.5.6.orig/test/test_rdoc_markup_pre_process.rb ++++ rdoc-2.5.6/test/test_rdoc_markup_pre_process.rb +@@ -7,10 +7,10 @@ class TestRDocMarkupPreProcess < MiniTes + + def setup + @tempfile = Tempfile.new 'test_rdoc_markup_pre_process' +- @name = File.basename @tempfile.path +- @dir = File.dirname @tempfile.path ++ @tempname = File.basename @tempfile.path ++ @tempdir = File.dirname @tempfile.path + +- @pp = RDoc::Markup::PreProcess.new __FILE__, [@dir] ++ @pp = RDoc::Markup::PreProcess.new __FILE__, [@tempdir] + end + + def teardown +@@ -28,7 +28,7 @@ contents of a string. + @tempfile.flush + @tempfile.rewind + +- content = @pp.include_file @name, '' ++ content = @pp.include_file @tempname, '' + + expected = <<-EXPECTED + Regular expressions (<i>regexp</i>s) are patterns which describe the |