Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/oauth: ChangeLog oauth-0.4.7-r2.ebuild
Date: Fri, 29 May 2015 05:51:00
Message-Id: 20150529055055.01F28A07@oystercatcher.gentoo.org
1 graaff 15/05/29 05:50:54
2
3 Modified: ChangeLog oauth-0.4.7-r2.ebuild
4 Log:
5 Avoid now-incomptaible typhoeus tests. Use a newer mocha version so ruby21 can be added. Add missing rack test dependency.
6
7 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
8
9 Revision Changes Path
10 1.30 dev-ruby/oauth/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/oauth/ChangeLog?rev=1.30&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/oauth/ChangeLog?rev=1.30&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/oauth/ChangeLog?r1=1.29&r2=1.30
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/oauth/ChangeLog,v
19 retrieving revision 1.29
20 retrieving revision 1.30
21 diff -u -r1.29 -r1.30
22 --- ChangeLog 16 Mar 2015 19:43:49 -0000 1.29
23 +++ ChangeLog 29 May 2015 05:50:54 -0000 1.30
24 @@ -1,6 +1,10 @@
25 # ChangeLog for dev-ruby/oauth
26 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/oauth/ChangeLog,v 1.29 2015/03/16 19:43:49 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/oauth/ChangeLog,v 1.30 2015/05/29 05:50:54 graaff Exp $
29 +
30 + 29 May 2015; Hans de Graaff <graaff@g.o> oauth-0.4.7-r2.ebuild:
31 + Avoid now-incomptaible typhoeus tests. Use a newer mocha version so ruby21
32 + can be added. Add missing rack test dependency.
33
34 16 Mar 2015; Hans de Graaff <graaff@g.o> -oauth-0.4.7-r1.ebuild:
35 Cleanup.
36
37
38
39 1.5 dev-ruby/oauth/oauth-0.4.7-r2.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/oauth/oauth-0.4.7-r2.ebuild?rev=1.5&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/oauth/oauth-0.4.7-r2.ebuild?rev=1.5&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/oauth/oauth-0.4.7-r2.ebuild?r1=1.4&r2=1.5
44
45 Index: oauth-0.4.7-r2.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/oauth/oauth-0.4.7-r2.ebuild,v
48 retrieving revision 1.4
49 retrieving revision 1.5
50 diff -u -r1.4 -r1.5
51 --- oauth-0.4.7-r2.ebuild 19 Dec 2014 13:27:33 -0000 1.4
52 +++ oauth-0.4.7-r2.ebuild 29 May 2015 05:50:54 -0000 1.5
53 @@ -1,9 +1,9 @@
54 -# Copyright 1999-2014 Gentoo Foundation
55 +# Copyright 1999-2015 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/oauth/oauth-0.4.7-r2.ebuild,v 1.4 2014/12/19 13:27:33 ago Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/oauth/oauth-0.4.7-r2.ebuild,v 1.5 2015/05/29 05:50:54 graaff Exp $
59
60 EAPI=5
61 -USE_RUBY="ruby19 ruby20"
62 +USE_RUBY="ruby19 ruby20 ruby21"
63
64 RUBY_FAKEGEM_TASK_DOC=""
65
66 @@ -21,16 +21,20 @@
67
68 ruby_add_bdepend "test? (
69 dev-ruby/test-unit:2
70 - dev-ruby/mocha:0.12
71 - dev-ruby/webmock )"
72 + dev-ruby/mocha:0.14
73 + dev-ruby/webmock
74 + dev-ruby/rack )"
75
76 all_ruby_prepare() {
77 # Require a compatible version of mocha
78 - sed -i -e '1igem "mocha", "~> 0.12.0"' test/test_helper.rb || die
79 + sed -i -e '1igem "mocha", "~> 0.14.0"' test/test_helper.rb || die
80
81 # Ensure a consistent test order to avoid loading issues with e.g. rack
82 sed -i -e "s/.rb']/.rb'].sort/" Rakefile || die
83
84 # Remove tests that require Rails 2.3 since that is ruby18-only.
85 - rm test/test_action_controller_request_proxy.rb || die
86 + rm -f test/test_action_controller_request_proxy.rb || die
87 +
88 + # Remove typhoeus tests since they require an old version.
89 + rm -f test/test_typhoeus_request_proxy.rb || die
90 }