Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/rdoc/files: rdoc-2.5.6-ruby19.patch
Date: Mon, 26 Apr 2010 14:25:57
Message-Id: 20100426142552.A4FA82C04C@corvid.gentoo.org
1 flameeyes 10/04/26 14:25:52
2
3 Added: rdoc-2.5.6-ruby19.patch
4 Log:
5 Version bump, add a patch so that tests pass on Ruby 1.9.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-ruby/rdoc/files/rdoc-2.5.6-ruby19.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rdoc/files/rdoc-2.5.6-ruby19.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rdoc/files/rdoc-2.5.6-ruby19.patch?rev=1.1&content-type=text/plain
13
14 Index: rdoc-2.5.6-ruby19.patch
15 ===================================================================
16 Index: rdoc-2.5.6/test/test_rdoc_markup_pre_process.rb
17 ===================================================================
18 --- rdoc-2.5.6.orig/test/test_rdoc_markup_pre_process.rb
19 +++ rdoc-2.5.6/test/test_rdoc_markup_pre_process.rb
20 @@ -7,10 +7,10 @@ class TestRDocMarkupPreProcess < MiniTes
21
22 def setup
23 @tempfile = Tempfile.new 'test_rdoc_markup_pre_process'
24 - @name = File.basename @tempfile.path
25 - @dir = File.dirname @tempfile.path
26 + @tempname = File.basename @tempfile.path
27 + @tempdir = File.dirname @tempfile.path
28
29 - @pp = RDoc::Markup::PreProcess.new __FILE__, [@dir]
30 + @pp = RDoc::Markup::PreProcess.new __FILE__, [@tempdir]
31 end
32
33 def teardown
34 @@ -28,7 +28,7 @@ contents of a string.
35 @tempfile.flush
36 @tempfile.rewind
37
38 - content = @pp.include_file @name, ''
39 + content = @pp.include_file @tempname, ''
40
41 expected = <<-EXPECTED
42 Regular expressions (<i>regexp</i>s) are patterns which describe the