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/actionpack: ChangeLog actionpack-2.3.8-r1.ebuild
Date: Fri, 04 Jun 2010 13:37:38
Message-Id: 20100604133732.C607F2CE14@corvid.gentoo.org
1 graaff 10/06/04 13:37:32
2
3 Modified: ChangeLog
4 Added: actionpack-2.3.8-r1.ebuild
5 Log:
6 Fix problems with sessions in integration tests according to https://rails.lighthouseapp.com/projects/8994/tickets/4743-session-cookie-breaks-if-used-with-custom-cookie-in-rails-238
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.155 dev-ruby/actionpack/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.155&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.155&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?r1=1.154&r2=1.155
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v
19 retrieving revision 1.154
20 retrieving revision 1.155
21 diff -u -r1.154 -r1.155
22 --- ChangeLog 31 May 2010 05:59:53 -0000 1.154
23 +++ ChangeLog 4 Jun 2010 13:37:32 -0000 1.155
24 @@ -1,6 +1,15 @@
25 # ChangeLog for dev-ruby/actionpack
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.154 2010/05/31 05:59:53 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.155 2010/06/04 13:37:32 graaff Exp $
29 +
30 +*actionpack-2.3.8-r1 (04 Jun 2010)
31 +
32 + 04 Jun 2010; Hans de Graaff <graaff@g.o>
33 + +actionpack-2.3.8-r1.ebuild,
34 + +files/actionpack-2.3.8-custom-cookie-fix.patch:
35 + Fix problems with sessions in integration tests according to
36 + https://rails.lighthouseapp.com/projects/8994/tickets/4743-session-cookie-
37 + breaks-if-used-with-custom-cookie-in-rails-238
38
39 *actionpack-2.3.8 (31 May 2010)
40
41
42
43
44 1.1 dev-ruby/actionpack/actionpack-2.3.8-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-2.3.8-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-2.3.8-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: actionpack-2.3.8-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-2.3.8-r1.ebuild,v 1.1 2010/06/04 13:37:32 graaff Exp $
54
55 EAPI=2
56
57 USE_RUBY="ruby18 ree18 jruby"
58
59 # The default test task tries to test activerecord with SQLite as well.
60 RUBY_FAKEGEM_TASK_TEST="test_action_pack"
61
62 RUBY_FAKEGEM_DOCDIR="doc"
63 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
64
65 inherit ruby-fakegem
66
67 DESCRIPTION="Eases web-request routing, handling, and response."
68 HOMEPAGE="http://rubyforge.org/projects/actionpack/"
69
70 LICENSE="MIT"
71 SLOT="2.3"
72 KEYWORDS="~amd64 ~ia64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
73 IUSE=""
74
75 RUBY_PATCHES=( "${P}-custom-cookie-fix.patch" )
76
77 ruby_add_rdepend "~dev-ruby/activesupport-${PV}
78 >=dev-ruby/rack-1.1.0"
79
80 ruby_add_bdepend test "dev-ruby/activerecord:${SLOT} dev-ruby/actionmailer:${SLOT}"
81
82 all_ruby_prepare() {
83 # Custom template not found in package
84 sed -i -e '/horo/d' Rakefile || die
85
86 # This tries to load a “vendorized” copy of activerecord that we
87 # will never have.
88 sed -i -e '/PATH_TO_AR/s:^:#:' test/active_record_unit.rb || die
89
90 # Fix the testsuite, the symlink is not present in the gem for
91 # some reason
92 ln -s ../../symlink_parent test/fixtures/layout_tests/layouts/symlinked
93 }