diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-06-01 07:07:20 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-06-01 07:07:20 +0000 |
commit | 619baa106ef9198bac4cd45ff8a9d7793819201c (patch) | |
tree | db0e26eecd36905e60deb9302388fc690458b19d | |
parent | Version bump. (diff) | |
download | historical-619baa106ef9198bac4cd45ff8a9d7793819201c.tar.gz historical-619baa106ef9198bac4cd45ff8a9d7793819201c.tar.bz2 historical-619baa106ef9198bac4cd45ff8a9d7793819201c.zip |
Version bump for bug 418481.
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
-rw-r--r-- | dev-ruby/actionmailer/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/actionmailer/actionmailer-3.2.5.ebuild | 37 | ||||
-rw-r--r-- | dev-ruby/actionpack/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/actionpack/actionpack-3.2.5.ebuild | 66 | ||||
-rw-r--r-- | dev-ruby/activemodel/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/activemodel/activemodel-3.2.5.ebuild | 42 | ||||
-rw-r--r-- | dev-ruby/activerecord/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/activerecord/activerecord-3.2.5.ebuild | 75 | ||||
-rw-r--r-- | dev-ruby/activeresource/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/activeresource/activeresource-3.2.5.ebuild | 41 | ||||
-rw-r--r-- | dev-ruby/activesupport/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/activesupport/activesupport-3.2.5.ebuild | 53 | ||||
-rw-r--r-- | dev-ruby/rails/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rails/rails-3.2.5.ebuild | 37 | ||||
-rw-r--r-- | dev-ruby/railties/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/railties/railties-3.2.5.ebuild | 75 |
16 files changed, 474 insertions, 8 deletions
diff --git a/dev-ruby/actionmailer/ChangeLog b/dev-ruby/actionmailer/ChangeLog index 607d518d6f72..5955e68ba428 100644 --- a/dev-ruby/actionmailer/ChangeLog +++ b/dev-ruby/actionmailer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/actionmailer # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v 1.187 2012/06/01 06:09:04 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v 1.188 2012/06/01 07:06:15 graaff Exp $ + +*actionmailer-3.2.5 (01 Jun 2012) + + 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> +actionmailer-3.2.5.ebuild: + Version bump for bug 418481. 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> -actionmailer-3.0.10.ebuild, -actionmailer-3.0.11.ebuild, -actionmailer-3.0.11-r2.ebuild: diff --git a/dev-ruby/actionmailer/actionmailer-3.2.5.ebuild b/dev-ruby/actionmailer/actionmailer-3.2.5.ebuild new file mode 100644 index 000000000000..58c517517e5a --- /dev/null +++ b/dev-ruby/actionmailer/actionmailer-3.2.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-3.2.5.ebuild,v 1.1 2012/06/01 07:06:15 graaff Exp $ + +EAPI=4 +USE_RUBY="ruby18 ruby19 ree18" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Framework for designing email-service layers" +HOMEPAGE="http://rubyforge.org/projects/actionmailer/" +SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_S="rails-rails-*/actionmailer" + +ruby_add_rdepend "~dev-ruby/actionpack-${PV} + >=dev-ruby/mail-2.4.4" +ruby_add_bdepend "test? ( + >=dev-ruby/mocha-0.9.5 + virtual/ruby-test-unit +)" + +all_ruby_prepare() { + # Set test environment to our hand. + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" +} diff --git a/dev-ruby/actionpack/ChangeLog b/dev-ruby/actionpack/ChangeLog index 51cfe8db06d0..9656c7c90214 100644 --- a/dev-ruby/actionpack/ChangeLog +++ b/dev-ruby/actionpack/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/actionpack # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.205 2012/06/01 06:09:49 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.206 2012/06/01 07:05:53 graaff Exp $ + +*actionpack-3.2.5 (01 Jun 2012) + + 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> +actionpack-3.2.5.ebuild: + Version bump for bug 418481. 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> -actionpack-3.0.10.ebuild, -actionpack-3.0.11.ebuild: diff --git a/dev-ruby/actionpack/actionpack-3.2.5.ebuild b/dev-ruby/actionpack/actionpack-3.2.5.ebuild new file mode 100644 index 000000000000..c28d4bbc4c4c --- /dev/null +++ b/dev-ruby/actionpack/actionpack-3.2.5.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-3.2.5.ebuild,v 1.1 2012/06/01 07:05:53 graaff Exp $ + +EAPI=4 + +USE_RUBY="ruby18 ruby19 ree18" + +# The default test task tries to test activerecord with SQLite as well. +RUBY_FAKEGEM_TASK_TEST="test_action_pack" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Eases web-request routing, handling, and response." +HOMEPAGE="http://rubyforge.org/projects/actionpack/" +SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_S="rails-rails-*/actionpack" + +ruby_add_rdepend " + ~dev-ruby/activemodel-${PV} + ~dev-ruby/activesupport-${PV} + >=dev-ruby/rack-cache-1.2 + >=dev-ruby/builder-3.0.0:3 + >=dev-ruby/erubis-2.7.0 + >=dev-ruby/i18n-0.6:0.6 + >=dev-ruby/rack-1.4.0:1.4 + >=dev-ruby/rack-test-0.6.1:0.6 + >=dev-ruby/journey-1.0.1:1.0 + >=dev-ruby/sprockets-2.1.3:2.1" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + ~dev-ruby/activerecord-${PV} + ~dev-ruby/actionmailer-${PV} + >=dev-ruby/tzinfo-0.3.29 + >=dev-ruby/uglifier-1.0.3 + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\)/d" ../Gemfile || die + + sed -i -e '/rack-ssl/d' ../railties/railties.gemspec || die + sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die + + # Avoid fragile tests depending on hash ordering + sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die + sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die + sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die + sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die + sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die +} diff --git a/dev-ruby/activemodel/ChangeLog b/dev-ruby/activemodel/ChangeLog index 3181f1223eec..a11e5b497c4d 100644 --- a/dev-ruby/activemodel/ChangeLog +++ b/dev-ruby/activemodel/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/activemodel # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/ChangeLog,v 1.27 2012/06/01 06:11:40 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/ChangeLog,v 1.28 2012/06/01 07:05:08 graaff Exp $ + +*activemodel-3.2.5 (01 Jun 2012) + + 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> +activemodel-3.2.5.ebuild: + Version bump for bug 418481. 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> -activemodel-3.0.10.ebuild, -activemodel-3.0.11.ebuild: diff --git a/dev-ruby/activemodel/activemodel-3.2.5.ebuild b/dev-ruby/activemodel/activemodel-3.2.5.ebuild new file mode 100644 index 000000000000..f46a38891892 --- /dev/null +++ b/dev-ruby/activemodel/activemodel-3.2.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-3.2.5.ebuild,v 1.1 2012/06/01 07:05:08 graaff Exp $ + +EAPI=4 + +USE_RUBY="ruby18 ruby19 ree18" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="A toolkit for building modeling frameworks like Active Record and Active Resource." +HOMEPAGE="http://github.com/rails/rails" +SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_S="rails-rails-*/activemodel" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + >=dev-ruby/builder-3.0.0 + >=dev-ruby/bcrypt-ruby-3.0.0" + +ruby_add_bdepend " + test? ( + >=dev-ruby/mocha-0.9.5 + )" + +all_ruby_prepare() { + # Set test environment to our hand. + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths" +} diff --git a/dev-ruby/activerecord/ChangeLog b/dev-ruby/activerecord/ChangeLog index b03d12d2f9a1..e83eb22c9dcd 100644 --- a/dev-ruby/activerecord/ChangeLog +++ b/dev-ruby/activerecord/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/activerecord # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.184 2012/06/01 06:08:16 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.185 2012/06/01 07:06:38 graaff Exp $ + +*activerecord-3.2.5 (01 Jun 2012) + + 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> +activerecord-3.2.5.ebuild: + Version bump for bug 418481. 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> -activerecord-3.0.10.ebuild, -activerecord-3.0.11.ebuild: diff --git a/dev-ruby/activerecord/activerecord-3.2.5.ebuild b/dev-ruby/activerecord/activerecord-3.2.5.ebuild new file mode 100644 index 000000000000..905f3b509945 --- /dev/null +++ b/dev-ruby/activerecord/activerecord-3.2.5.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.2.5.ebuild,v 1.1 2012/06/01 07:06:38 graaff Exp $ + +EAPI=4 +USE_RUBY="ruby18 ruby19 ree18" + +# this is not null so that the dependencies will actually be filled +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM" +HOMEPAGE="http://rubyforge.org/projects/activerecord/" +SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="mysql postgres sqlite3" + +RUBY_S="rails-rails-*/activerecord" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + ~dev-ruby/activemodel-${PV} + >=dev-ruby/arel-3.0.2:3.0 + >=dev-ruby/tzinfo-0.3.29 + sqlite3? ( >=dev-ruby/sqlite3-ruby-1.3.5 ) + mysql? ( >=dev-ruby/mysql2-0.3.10:0.3 ) + postgres? ( >=dev-ruby/pg-0.11.0 )" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + ~dev-ruby/actionpack-${PV} + >=dev-ruby/sqlite3-ruby-1.3.5 + >=dev-ruby/mocha-0.9.5 + virtual/ruby-test-unit + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\)/d" ../Gemfile || die + sed -i -e '/rack-ssl/d' ../railties/railties.gemspec || die + sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die + + # Avoid tests depending on hash ordering + sed -i -e '/test_should_automatically_build_new_associated/,/ end/ s:^:#:' test/cases/nested_attributes_test.rb || die + + # Avoid test depending on mysql adapter which we don't support for + # this Rails version to simplify our dependencies. + rm test/cases/connection_specification/resolver_test.rb || die +} + +each_ruby_test() { + case ${RUBY} in + *jruby) + ;; + *rubyee18) + # Turn on travis support to avoid tripping bugs in ree18. + TRAVIS=true ${RUBY} -S rake test_sqlite3 + ;; + *) + if use sqlite3; then + ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" + fi + ;; + esac +} diff --git a/dev-ruby/activeresource/ChangeLog b/dev-ruby/activeresource/ChangeLog index 3cde403cf395..4c04d18a96ba 100644 --- a/dev-ruby/activeresource/ChangeLog +++ b/dev-ruby/activeresource/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/activeresource # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeresource/ChangeLog,v 1.109 2012/06/01 06:11:02 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeresource/ChangeLog,v 1.110 2012/06/01 07:05:30 graaff Exp $ + +*activeresource-3.2.5 (01 Jun 2012) + + 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> +activeresource-3.2.5.ebuild: + Version bump for bug 418481. 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> -activeresource-3.0.10.ebuild, -activeresource-3.0.11.ebuild: diff --git a/dev-ruby/activeresource/activeresource-3.2.5.ebuild b/dev-ruby/activeresource/activeresource-3.2.5.ebuild new file mode 100644 index 000000000000..39b33437587d --- /dev/null +++ b/dev-ruby/activeresource/activeresource-3.2.5.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeresource/activeresource-3.2.5.ebuild,v 1.1 2012/06/01 07:05:30 graaff Exp $ + +EAPI=4 + +USE_RUBY="ruby18 ruby19 ree18" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activeresource.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Think Active Record for web resources.." +HOMEPAGE="http://rubyforge.org/projects/activeresource/" +SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_S="rails-rails-*/activeresource" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + ~dev-ruby/activemodel-${PV}" +ruby_add_bdepend " + test? ( + >=dev-ruby/mocha-0.9.5 + virtual/ruby-test-unit + )" + +all_ruby_prepare() { + # Set test environment to our hand. + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + +} diff --git a/dev-ruby/activesupport/ChangeLog b/dev-ruby/activesupport/ChangeLog index e6c3258b1310..42167cc0511c 100644 --- a/dev-ruby/activesupport/ChangeLog +++ b/dev-ruby/activesupport/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/activesupport # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v 1.170 2012/06/01 06:12:26 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v 1.171 2012/06/01 07:04:36 graaff Exp $ + +*activesupport-3.2.5 (01 Jun 2012) + + 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> +activesupport-3.2.5.ebuild: + Version bump for bug 418481. 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> -activesupport-3.0.10.ebuild, -activesupport-3.0.11.ebuild, -activesupport-3.0.11-r1.ebuild: diff --git a/dev-ruby/activesupport/activesupport-3.2.5.ebuild b/dev-ruby/activesupport/activesupport-3.2.5.ebuild new file mode 100644 index 000000000000..4379834f7cfd --- /dev/null +++ b/dev-ruby/activesupport/activesupport-3.2.5.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/activesupport-3.2.5.ebuild,v 1.1 2012/06/01 07:04:36 graaff Exp $ + +EAPI=4 + +# jruby fails tests. +USE_RUBY="ruby18 ree18 ruby19" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem versionator + +DESCRIPTION="Utility Classes and Extension to the Standard Library" +HOMEPAGE="http://rubyforge.org/projects/activesupport/" +SRC_URI="https://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_S="rails-rails-*/${PN}" + +ruby_add_rdepend ">=dev-ruby/memcache-client-1.5.8 + >=dev-ruby/multi_json-1.0 + dev-ruby/i18n:0.6 + !!<dev-ruby/activesupport-3.0.11-r1:3.0" + +# libxml-ruby, nokogiri, and builder are not strictly needed, but there +# are tests using this code. +ruby_add_bdepend "test? ( + virtual/ruby-test-unit + >=dev-ruby/libxml-2.0.0 + dev-ruby/nokogiri + dev-ruby/builder:0 + )" + +all_ruby_prepare() { + # don't support older mocha versions as the optional codepath + # breaks JRuby + epatch "${FILESDIR}"/${PN}-3.0.3-mocha-0.9.5.patch + + # Set test environment to our hand. +# rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" +} diff --git a/dev-ruby/rails/ChangeLog b/dev-ruby/rails/ChangeLog index ff66817b6eaf..df88e09ebaee 100644 --- a/dev-ruby/rails/ChangeLog +++ b/dev-ruby/rails/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rails # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.220 2012/06/01 06:06:35 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.221 2012/06/01 07:07:20 graaff Exp $ + +*rails-3.2.5 (01 Jun 2012) + + 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> +rails-3.2.5.ebuild: + Version bump for bug 418481. 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> -rails-3.0.10.ebuild, -rails-3.0.11.ebuild, -rails-3.1.3-r1.ebuild: diff --git a/dev-ruby/rails/rails-3.2.5.ebuild b/dev-ruby/rails/rails-3.2.5.ebuild new file mode 100644 index 000000000000..9465f6d71c68 --- /dev/null +++ b/dev-ruby/rails/rails-3.2.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-3.2.5.ebuild,v 1.1 2012/06/01 07:07:20 graaff Exp $ + +EAPI=4 +USE_RUBY="ruby18 ruby19 ree18" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem versionator + +DESCRIPTION="ruby on rails is a web-application and persistance framework" +HOMEPAGE="http://www.rubyonrails.org" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +IUSE="+asset-pipeline" + +ruby_add_rdepend " + ~dev-ruby/actionmailer-${PV} + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/activeresource-${PV} + ~dev-ruby/activesupport-${PV} + =dev-ruby/bundler-1* + ~dev-ruby/railties-${PV} + asset-pipeline? ( + dev-ruby/jquery-rails + >=dev-ruby/sass-rails-3.2.3:3.2 + >=dev-ruby/uglifier-1.0.3 + >=dev-ruby/coffee-rails-3.2.1:3.2 + )" diff --git a/dev-ruby/railties/ChangeLog b/dev-ruby/railties/ChangeLog index bb727a890c13..2b3ccb045d2b 100644 --- a/dev-ruby/railties/ChangeLog +++ b/dev-ruby/railties/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/railties # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.24 2012/06/01 06:07:33 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.25 2012/06/01 07:07:00 graaff Exp $ + +*railties-3.2.5 (01 Jun 2012) + + 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> +railties-3.2.5.ebuild: + Version bump for bug 418481. 01 Jun 2012; Hans de Graaff <graaff@gentoo.org> -railties-3.0.10.ebuild, -railties-3.0.11.ebuild: diff --git a/dev-ruby/railties/railties-3.2.5.ebuild b/dev-ruby/railties/railties-3.2.5.ebuild new file mode 100644 index 000000000000..a3f943737874 --- /dev/null +++ b/dev-ruby/railties/railties-3.2.5.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/railties-3.2.5.ebuild,v 1.1 2012/06/01 07:07:00 graaff Exp $ + +EAPI=4 +USE_RUBY="ruby18 ruby19 ree18" + +RUBY_FAKEGEM_TASK_TEST="test:regular" +RUBY_FAKEGEM_TASK_DOC="generate_guides" +RUBY_FAKEGEM_DOCDIR="guides/output" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="railties.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem versionator + +DESCRIPTION="Tools for creating, working with, and running Rails applications." +HOMEPAGE="http://github.com/rails/rails" +SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_S="rails-rails-*/railties" + +# The test suite has many failures, most likely due to a mismatch in +# exact dependencies or environment specifics. Needs further +# investigation. +RESTRICT="test" + +RDEPEND+=">=app-admin/eselect-rails-0.18" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionpack-${PV} + >=dev-ruby/rdoc-3.4 + >=dev-ruby/thor-0.14.6 + >=dev-ruby/rack-ssl-1.3.2:1.3 + >=dev-ruby/rake-0.8.7" + +ruby_add_bdepend " + test? ( + >=dev-ruby/mocha-0.9.5 + virtual/ruby-test-unit + ) + doc? ( + >=dev-ruby/redcloth-4.1.1 + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\)/d' ../Gemfile || die +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rails rails-${PV} +} + +pkg_postinst() { + elog "To select between slots of rails, use:" + elog "\teselect rails" + + eselect rails update +} + +pkg_postrm() { + eselect rails update +} |