diff options
author | 2010-08-28 07:42:22 +0000 | |
---|---|---|
committer | 2010-08-28 07:42:22 +0000 | |
commit | a0db2a0f7d6db877bb460a811908983188ed7118 (patch) | |
tree | 0cc41aba26b8449a5442ddc21c98fb5891c8cc0d /dev-ruby/hoe/files | |
parent | Version bump (diff) | |
download | gentoo-2-a0db2a0f7d6db877bb460a811908983188ed7118.tar.gz gentoo-2-a0db2a0f7d6db877bb460a811908983188ed7118.tar.bz2 gentoo-2-a0db2a0f7d6db877bb460a811908983188ed7118.zip |
Fix file ordering issues with tests, fixing bug 323059.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/hoe/files')
-rw-r--r-- | dev-ruby/hoe/files/hoe-2.6.1-test-file-ordering.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-ruby/hoe/files/hoe-2.6.1-test-file-ordering.patch b/dev-ruby/hoe/files/hoe-2.6.1-test-file-ordering.patch new file mode 100644 index 000000000000..130715062d36 --- /dev/null +++ b/dev-ruby/hoe/files/hoe-2.6.1-test-file-ordering.patch @@ -0,0 +1,18 @@ +--- test/test_hoe_gemcutter.rb.orig 2010-08-28 09:35:26.129730713 +0200 ++++ test/test_hoe_gemcutter.rb 2010-08-28 09:35:53.673730929 +0200 +@@ -1,3 +1,4 @@ ++require "hoe" + require "hoe/gemcutter" unless defined? Hoe::Gemcutter + + class TestHoeGemcutter < MiniTest::Unit::TestCase +--- test/test_hoe.rb.orig 2010-08-28 09:35:34.929980884 +0200 ++++ test/test_hoe.rb 2010-08-28 09:37:21.978230874 +0200 +@@ -49,7 +49,7 @@ + assert_equal 'blah', spec.rubyforge_project + assert_equal Gem::RubyGemsVersion, spec.rubygems_version + assert_match(/^Hoe.*Rakefiles$/, spec.summary) +- assert_equal files.grep(/^test/), spec.test_files ++ assert_equal files.grep(/^test/), spec.test_files.sort + + deps = spec.dependencies.sort_by { |dep| dep.name } + |