1 |
graaff 08/09/12 05:58:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rails-2.0.4.ebuild |
5 |
Log: |
6 |
Version bump for Rails 2.0.4, bug #237385 |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.111 dev-ruby/rails/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.111&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.111&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/ChangeLog?r1=1.110&r2=1.111 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v |
19 |
retrieving revision 1.110 |
20 |
retrieving revision 1.111 |
21 |
diff -u -r1.110 -r1.111 |
22 |
--- ChangeLog 13 Jul 2008 08:58:43 -0000 1.110 |
23 |
+++ ChangeLog 12 Sep 2008 05:58:12 -0000 1.111 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-ruby/rails |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.110 2008/07/13 08:58:43 graaff Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.111 2008/09/12 05:58:12 graaff Exp $ |
29 |
+ |
30 |
+*rails-2.0.4 (12 Sep 2008) |
31 |
+ |
32 |
+ 12 Sep 2008; Hans de Graaff <graaff@g.o> +rails-2.0.4.ebuild: |
33 |
+ Version bump for Rails 2.0.4, bug #237385 |
34 |
|
35 |
13 Jul 2008; Hans de Graaff <graaff@g.o> |
36 |
-files/1.1.6-deprecate-old-lighttpd.patch, -rails-1.1.6.ebuild, |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-ruby/rails/rails-2.0.4.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-2.0.4.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-2.0.4.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: rails-2.0.4.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-2.0.4.ebuild,v 1.1 2008/09/12 05:58:12 graaff Exp $ |
50 |
|
51 |
inherit ruby gems |
52 |
|
53 |
DESCRIPTION="ruby on rails is a web-application and persistance framework" |
54 |
HOMEPAGE="http://www.rubyonrails.org" |
55 |
|
56 |
LICENSE="MIT" |
57 |
SLOT="2" |
58 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
59 |
|
60 |
IUSE="fastcgi" |
61 |
DEPEND=">=dev-lang/ruby-1.8.5 |
62 |
>=app-admin/eselect-rails-0.11 |
63 |
>=dev-ruby/rake-0.7.2 |
64 |
~dev-ruby/activerecord-2.0.4 |
65 |
~dev-ruby/activeresource-2.0.4 |
66 |
~dev-ruby/activesupport-2.0.4 |
67 |
~dev-ruby/actionmailer-2.0.4 |
68 |
~dev-ruby/actionpack-2.0.4 |
69 |
!<dev-ruby/rails-1.1.6-r1" |
70 |
|
71 |
RDEPEND="${DEPEND} |
72 |
fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.6 )" |
73 |
|
74 |
src_install() { |
75 |
gems_src_install |
76 |
# Rename slotted files that may clash so that eselect can handle |
77 |
# them |
78 |
mv "${D}/usr/bin/rails" "${D}/usr/bin/rails-${PV}" |
79 |
mv "${D}/${GEMSDIR}/bin/rails" "${D}/${GEMSDIR}/bin/rails-${PV}" |
80 |
} |
81 |
|
82 |
pkg_postinst() { |
83 |
einfo "To select between slots of rails, use:" |
84 |
einfo "\teselect rails" |
85 |
# Bring users to rails 2.0.x by default when updating |
86 |
eselect rails update 2 |
87 |
|
88 |
ewarn "All database USE flags have been moved to dev-ruby/activerecord" |
89 |
} |
90 |
|
91 |
pkg_postrm() { |
92 |
# Drop users back to rails 1.2.x when they remove 2.0.x |
93 |
eselect rails update 1.2 |
94 |
} |