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/hashie/files: hashie-0.2.1-gentoo.patch
Date: Wed, 28 Jul 2010 23:57:20
Message-Id: 20100728235718.24FD12CE15@corvid.gentoo.org
1 flameeyes 10/07/28 23:57:17
2
3 Added: hashie-0.2.1-gentoo.patch
4 Log:
5 Fix running tests on Ruby 1.9.2 (bug #330209), remove useless sed, cleanup old versions.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-ruby/hashie/files/hashie-0.2.1-gentoo.patch
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/hashie/files/hashie-0.2.1-gentoo.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/hashie/files/hashie-0.2.1-gentoo.patch?rev=1.1&content-type=text/plain
13
14 Index: hashie-0.2.1-gentoo.patch
15 ===================================================================
16 From a1ba968f8f93adf2922f7e84af1213e6fde5363c Mon Sep 17 00:00:00 2001
17 From: =?UTF-8?q?Diego=20Elio=20'Flameeyes'=20Petten=C3=B2?= <flameeyes@×××××.com>
18 Date: Thu, 29 Jul 2010 01:48:24 +0200
19 Subject: [PATCH] If possible, try to load simply spec_helper, the Rakefile will take care.
20
21 If the file is loaded with relative paths it won't be able to load it
22 properly.
23 ---
24 spec/hashie/clash_spec.rb | 2 +-
25 spec/hashie/dash_spec.rb | 2 +-
26 spec/hashie/hash_spec.rb | 2 +-
27 spec/hashie/mash_spec.rb | 2 +-
28 4 files changed, 4 insertions(+), 4 deletions(-)
29
30 diff --git a/spec/hashie/clash_spec.rb b/spec/hashie/clash_spec.rb
31 index 6363d5d..8a8a909 100644
32 --- a/spec/hashie/clash_spec.rb
33 +++ b/spec/hashie/clash_spec.rb
34 @@ -1,4 +1,4 @@
35 -require File.dirname(__FILE__) + '/../spec_helper'
36 +require 'spec_helper' rescue require File.dirname(__FILE__) + '/../spec_helper'
37
38 describe Hashie::Clash do
39 before do
40 diff --git a/spec/hashie/dash_spec.rb b/spec/hashie/dash_spec.rb
41 index b7971f9..8a6d466 100644
42 --- a/spec/hashie/dash_spec.rb
43 +++ b/spec/hashie/dash_spec.rb
44 @@ -1,4 +1,4 @@
45 -require File.dirname(__FILE__) + '/../spec_helper'
46 +require 'spec_helper' rescue require File.dirname(__FILE__) + '/../spec_helper'
47
48 class DashTest < Hashie::Dash
49 property :first_name
50 diff --git a/spec/hashie/hash_spec.rb b/spec/hashie/hash_spec.rb
51 index 78d44be..69e43b5 100644
52 --- a/spec/hashie/hash_spec.rb
53 +++ b/spec/hashie/hash_spec.rb
54 @@ -1,4 +1,4 @@
55 -require File.dirname(__FILE__) + '/../spec_helper'
56 +require 'spec_helper' rescue require File.dirname(__FILE__) + '/../spec_helper'
57
58 describe Hash do
59 it "should be convertible to a Hashie::Mash" do
60 diff --git a/spec/hashie/mash_spec.rb b/spec/hashie/mash_spec.rb
61 index 70d1f6f..080ade6 100644
62 --- a/spec/hashie/mash_spec.rb
63 +++ b/spec/hashie/mash_spec.rb
64 @@ -1,4 +1,4 @@
65 -require File.dirname(__FILE__) + '/../spec_helper'
66 +require 'spec_helper' rescue require File.dirname(__FILE__) + '/../spec_helper'
67
68 describe Hashie::Mash do
69 before(:each) do
70 --
71 1.7.2