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-4.0.6.ebuild
Date: Thu, 26 Jun 2014 19:21:58
Message-Id: 20140626192120.17E2F2004E@flycatcher.gentoo.org
1 graaff 14/06/26 19:21:20
2
3 Modified: ChangeLog
4 Added: actionpack-4.0.6.ebuild
5 Log:
6 Version bump to Rails 4.0.6.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.280 dev-ruby/actionpack/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.280&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.280&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?r1=1.279&r2=1.280
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v
20 retrieving revision 1.279
21 retrieving revision 1.280
22 diff -u -r1.279 -r1.280
23 --- ChangeLog 12 May 2014 19:02:17 -0000 1.279
24 +++ ChangeLog 26 Jun 2014 19:21:19 -0000 1.280
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/actionpack
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.279 2014/05/12 19:02:17 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.280 2014/06/26 19:21:19 graaff Exp $
30 +
31 +*actionpack-4.0.6 (26 Jun 2014)
32 +
33 + 26 Jun 2014; Hans de Graaff <graaff@g.o> +actionpack-4.0.6.ebuild:
34 + Version bump to Rails 4.0.6.
35
36 12 May 2014; Hans de Graaff <graaff@g.o> -actionpack-3.2.17.ebuild,
37 -actionpack-4.0.3.ebuild, -actionpack-4.0.4.ebuild, -actionpack-4.1.0.ebuild:
38
39
40
41 1.1 dev-ruby/actionpack/actionpack-4.0.6.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-4.0.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-4.0.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: actionpack-4.0.6.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-4.0.6.ebuild,v 1.1 2014/06/26 19:21:19 graaff Exp $
51
52 EAPI=5
53
54 USE_RUBY="ruby19 ruby20 ruby21"
55
56 # The default test task tries to test activerecord with SQLite as well.
57 RUBY_FAKEGEM_TASK_TEST="test_action_pack"
58
59 RUBY_FAKEGEM_TASK_DOC=""
60 RUBY_FAKEGEM_DOCDIR="doc"
61 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
62
63 RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
64
65 inherit ruby-fakegem versionator
66
67 DESCRIPTION="Eases web-request routing, handling, and response."
68 HOMEPAGE="http://rubyforge.org/projects/actionpack/"
69 SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
70
71 LICENSE="MIT"
72 SLOT="$(get_version_component_range 1-2)"
73 KEYWORDS="~amd64 ~arm ~x86"
74 IUSE=""
75
76 RUBY_S="rails-${PV}/${PN}"
77
78 ruby_add_rdepend "
79 ~dev-ruby/activesupport-${PV}
80 >=dev-ruby/builder-3.1.0:3.1
81 >=dev-ruby/rack-1.5.2:1.5
82 >=dev-ruby/rack-test-0.6.2:0.6
83 >=dev-ruby/erubis-2.7.0"
84
85 ruby_add_bdepend "
86 test? (
87 dev-ruby/mocha:0.13
88 dev-ruby/bundler
89 ~dev-ruby/activemodel-${PV}
90 ~dev-ruby/activerecord-${PV}
91 ~dev-ruby/actionmailer-${PV}
92 dev-ruby/sprockets-rails:2.0
93 >=dev-ruby/tzinfo-0.3.37:0
94 >=dev-ruby/uglifier-1.0.3
95 )"
96
97 all_ruby_prepare() {
98 # Remove items from the common Gemfile that we don't need for this
99 # test run. This also requires handling some gemspecs.
100 sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\)/d" ../Gemfile || die
101
102 sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
103 sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
104
105 sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
106
107 # Add back json in the Gemfile because we dropped some dependencies
108 # earlier that implicitly required it.
109 sed -i -e '$agem "json"' ../Gemfile || die
110
111 # Avoid fragile test that gets more output than it expects.
112 sed -i -e '/test_locals_option_to_assert_template_is_not_supported/,/end/ s:^:#:' test/controller/render_test.rb || die
113 }