diff options
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/actionmailer/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/actionmailer/actionmailer-3.1.3.ebuild | 37 | ||||
-rw-r--r-- | dev-ruby/actionpack/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/actionpack/actionpack-3.1.3.ebuild | 63 | ||||
-rw-r--r-- | dev-ruby/activerecord/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/activerecord/activerecord-3.1.3.ebuild | 67 | ||||
-rw-r--r-- | dev-ruby/mail/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/mail/mail-2.3.0.ebuild | 56 | ||||
-rw-r--r-- | dev-ruby/rails/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rails/rails-3.1.3.ebuild | 50 | ||||
-rw-r--r-- | dev-ruby/railties/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/railties/railties-3.1.3.ebuild | 54 |
12 files changed, 363 insertions, 6 deletions
diff --git a/dev-ruby/actionmailer/ChangeLog b/dev-ruby/actionmailer/ChangeLog index 67652567c617..ad22546bff39 100644 --- a/dev-ruby/actionmailer/ChangeLog +++ b/dev-ruby/actionmailer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/actionmailer # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v 1.175 2011/11/19 11:05:28 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v 1.176 2011/12/30 19:45:37 graaff Exp $ + +*actionmailer-3.1.3 (30 Dec 2011) + + 30 Dec 2011; Hans de Graaff <graaff@gentoo.org> +actionmailer-3.1.3.ebuild: + Version bump. Add ruby19. Drop arches due to bug 396547. *actionmailer-3.0.11 (19 Nov 2011) diff --git a/dev-ruby/actionmailer/actionmailer-3.1.3.ebuild b/dev-ruby/actionmailer/actionmailer-3.1.3.ebuild new file mode 100644 index 000000000000..e8ac0c17c9de --- /dev/null +++ b/dev-ruby/actionmailer/actionmailer-3.1.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-3.1.3.ebuild,v 1.1 2011/12/30 19:45:37 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 + +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="3.1" +KEYWORDS="~amd64" +IUSE="" + +RUBY_S="rails-rails-*/actionmailer" + +ruby_add_rdepend "~dev-ruby/actionpack-${PV} + >=dev-ruby/mail-2.3.0" +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 ad7111326143..97e442b09207 100644 --- a/dev-ruby/actionpack/ChangeLog +++ b/dev-ruby/actionpack/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/actionpack # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.196 2011/11/19 11:04:41 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.197 2011/12/30 19:47:54 graaff Exp $ + +*actionpack-3.1.3 (30 Dec 2011) + + 30 Dec 2011; Hans de Graaff <graaff@gentoo.org> +actionpack-3.1.3.ebuild: + Version bump. Add ruby19. Drop arches due to bug 396547. *actionpack-3.0.11 (19 Nov 2011) diff --git a/dev-ruby/actionpack/actionpack-3.1.3.ebuild b/dev-ruby/actionpack/actionpack-3.1.3.ebuild new file mode 100644 index 000000000000..908cc1bef95f --- /dev/null +++ b/dev-ruby/actionpack/actionpack-3.1.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-3.1.3.ebuild,v 1.1 2011/12/30 19:47:54 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 + +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="3.1" +KEYWORDS="~amd64 " +IUSE="" + +RUBY_S="rails-rails-*/actionpack" + +ruby_add_rdepend " + ~dev-ruby/activemodel-${PV} + ~dev-ruby/activesupport-${PV} + >=dev-ruby/rack-cache-1.1 + >=dev-ruby/builder-3.0.0:3 + >=dev-ruby/erubis-2.7.0 + >=dev-ruby/i18n-0.6:0.6 + >=dev-ruby/rack-1.3.5:1.3 + >=dev-ruby/rack-mount-0.8.2:0.8 + >=dev-ruby/rack-test-0.6.1:0.6 + >=dev-ruby/sprockets-2.0.0:2.0" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + ~dev-ruby/activerecord-${PV} + ~dev-ruby/actionmailer-${PV} + >=dev-ruby/tzinfo-0.3.29 + )" + +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"\)/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 +} diff --git a/dev-ruby/activerecord/ChangeLog b/dev-ruby/activerecord/ChangeLog index d04144f50ac3..d12f61be34ba 100644 --- a/dev-ruby/activerecord/ChangeLog +++ b/dev-ruby/activerecord/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/activerecord # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.175 2011/12/27 07:42:55 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.176 2011/12/30 19:46:56 graaff Exp $ + +*activerecord-3.1.3 (30 Dec 2011) + + 30 Dec 2011; Hans de Graaff <graaff@gentoo.org> +activerecord-3.1.3.ebuild: + Version bump. Add ruby19. Drop arches due to bug 396547. 27 Dec 2011; Hans de Graaff <graaff@gentoo.org> activerecord-2.3.14.ebuild: Also require rdoc for tests. Fixes bug 379551. diff --git a/dev-ruby/activerecord/activerecord-3.1.3.ebuild b/dev-ruby/activerecord/activerecord-3.1.3.ebuild new file mode 100644 index 000000000000..a51dbf6bcfa5 --- /dev/null +++ b/dev-ruby/activerecord/activerecord-3.1.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.1.3.ebuild,v 1.1 2011/12/30 19:46:56 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 + +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="3.1" +KEYWORDS="~amd64" +IUSE="mysql postgres sqlite3" + +RUBY_S="rails-rails-*/activerecord" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + ~dev-ruby/activemodel-${PV} + >=dev-ruby/arel-2.2.1:2.1 + >=dev-ruby/tzinfo-0.3.29 + sqlite3? ( >=dev-ruby/sqlite3-ruby-1.3.4 ) + mysql? ( >=dev-ruby/mysql2-0.3.6: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.3 + >=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"\)/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 +} + +each_ruby_test() { + case ${RUBY} in + *jruby) + ;; + *) + if use sqlite3; then + ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" + fi + ;; + esac +} diff --git a/dev-ruby/mail/ChangeLog b/dev-ruby/mail/ChangeLog index ec22e5d0815c..b68bd0f7a97a 100644 --- a/dev-ruby/mail/ChangeLog +++ b/dev-ruby/mail/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/mail # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mail/ChangeLog,v 1.16 2011/10/16 08:14:31 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mail/ChangeLog,v 1.17 2011/12/30 19:44:10 graaff Exp $ + +*mail-2.3.0 (30 Dec 2011) + + 30 Dec 2011; Hans de Graaff <graaff@gentoo.org> +mail-2.3.0.ebuild: + Version bump. Add ruby19. Drop arches due to bug 396547. 16 Oct 2011; Hans de Graaff <graaff@gentoo.org> -mail-2.2.18.ebuild: Remove old version. diff --git a/dev-ruby/mail/mail-2.3.0.ebuild b/dev-ruby/mail/mail-2.3.0.ebuild new file mode 100644 index 000000000000..454a10841cce --- /dev/null +++ b/dev-ruby/mail/mail-2.3.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mail/mail-2.3.0.ebuild,v 1.1 2011/12/30 19:44:10 graaff Exp $ + +EAPI=4 +USE_RUBY="ruby18 ruby19 ree18" + +RUBY_FAKEGEM_TASK_TEST="spec" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc TODO.rdoc" + +RUBY_FAKEGEM_GEMSPEC="mail.gemspec" + +inherit ruby-fakegem + +GITHUB_USER="mikel" +COMMIT="e8ec8d53c4f5c889691630d0422b9dc044762f1b" + +DESCRIPTION="An email handling library" +HOMEPAGE="https://github.com/mikel/mail" +SRC_URI="https://github.com/${GITHUB_USER}/mail/tarball/${COMMIT} -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2.3" +KEYWORDS="~amd64 ~x86 ~sparc-solaris ~x86-solaris" +IUSE="" + +RUBY_S="${GITHUB_USER}-${PN}-*" + +ruby_add_rdepend " + >=dev-ruby/activesupport-2.3.6 + >=dev-ruby/i18n-0.4.0 + >=dev-ruby/mime-types-1.16 + >=dev-ruby/treetop-1.4.8" + +ruby_add_bdepend "doc? ( dev-ruby/rspec:0 ) + test? ( dev-ruby/rspec:0 )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undle/d' -e '6d' Rakefile || die "Unable to remove Bundler code." + + # Fix up dependencies to match our own. + sed -i -e 's/~>/>=/' mail.gemspec || die "Unable to fix up dependencies." +} + +each_ruby_prepare() { + # Comment out failing specs on ruby19. Reported upstream: + # https://github.com/mikel/mail/issues/318 + case ${RUBY} in + *ruby19) + sed -i -e '/should return itself on sort/,/end/ s:^:#:' spec/mail/parts_list_spec.rb || die + sed -i -e '/should encode a non us-ascii filename/,/^ end/ s:^:#:' spec/mail/fields/content_type_field_spec.rb || die + ;; + esac +} diff --git a/dev-ruby/rails/ChangeLog b/dev-ruby/rails/ChangeLog index 2d0461ab4f15..18afb4e6ff14 100644 --- a/dev-ruby/rails/ChangeLog +++ b/dev-ruby/rails/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rails # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.208 2011/11/19 11:08:15 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.209 2011/12/30 19:49:29 graaff Exp $ + +*rails-3.1.3 (30 Dec 2011) + + 30 Dec 2011; Hans de Graaff <graaff@gentoo.org> +rails-3.1.3.ebuild: + Version bump. Add ruby19. Drop arches due to bug 396547. *rails-3.0.11 (19 Nov 2011) diff --git a/dev-ruby/rails/rails-3.1.3.ebuild b/dev-ruby/rails/rails-3.1.3.ebuild new file mode 100644 index 000000000000..85b9439f9da0 --- /dev/null +++ b/dev-ruby/rails/rails-3.1.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-3.1.3.ebuild,v 1.1 2011/12/30 19:49:29 graaff Exp $ + +EAPI=2 +USE_RUBY="ruby18 ree18" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="ruby on rails is a web-application and persistance framework" +HOMEPAGE="http://www.rubyonrails.org" + +LICENSE="MIT" +SLOT="3.1" +KEYWORDS="~amd64" + +IUSE="" + +RDEPEND=">=app-admin/eselect-rails-0.18" + +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}" + +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 +} diff --git a/dev-ruby/railties/ChangeLog b/dev-ruby/railties/ChangeLog index 0bd8c8a965b0..6d164a21008d 100644 --- a/dev-ruby/railties/ChangeLog +++ b/dev-ruby/railties/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/railties # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.16 2011/11/19 11:07:18 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.17 2011/12/30 19:48:41 graaff Exp $ + +*railties-3.1.3 (30 Dec 2011) + + 30 Dec 2011; Hans de Graaff <graaff@gentoo.org> +railties-3.1.3.ebuild: + Version bump. Add ruby19. Drop arches due to bug 396547. *railties-3.0.11 (19 Nov 2011) diff --git a/dev-ruby/railties/railties-3.1.3.ebuild b/dev-ruby/railties/railties-3.1.3.ebuild new file mode 100644 index 000000000000..10fc2c18db4b --- /dev/null +++ b/dev-ruby/railties/railties-3.1.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/railties-3.1.3.ebuild,v 1.1 2011/12/30 19:48:41 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" + +inherit ruby-fakegem + +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="3.1" +KEYWORDS="~amd64" +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" + +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 +} |