From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-ruby/activerecord/Manifest | 6 ++ dev-ruby/activerecord/activerecord-3.2.22.ebuild | 69 ++++++++++++++++++++ dev-ruby/activerecord/activerecord-4.0.13.ebuild | 80 ++++++++++++++++++++++++ dev-ruby/activerecord/activerecord-4.1.11.ebuild | 72 +++++++++++++++++++++ dev-ruby/activerecord/activerecord-4.1.12.ebuild | 72 +++++++++++++++++++++ dev-ruby/activerecord/activerecord-4.2.2.ebuild | 74 ++++++++++++++++++++++ dev-ruby/activerecord/activerecord-4.2.3.ebuild | 74 ++++++++++++++++++++++ dev-ruby/activerecord/metadata.xml | 8 +++ 8 files changed, 455 insertions(+) create mode 100644 dev-ruby/activerecord/Manifest create mode 100644 dev-ruby/activerecord/activerecord-3.2.22.ebuild create mode 100644 dev-ruby/activerecord/activerecord-4.0.13.ebuild create mode 100644 dev-ruby/activerecord/activerecord-4.1.11.ebuild create mode 100644 dev-ruby/activerecord/activerecord-4.1.12.ebuild create mode 100644 dev-ruby/activerecord/activerecord-4.2.2.ebuild create mode 100644 dev-ruby/activerecord/activerecord-4.2.3.ebuild create mode 100644 dev-ruby/activerecord/metadata.xml (limited to 'dev-ruby/activerecord') diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest new file mode 100644 index 000000000000..81b598e6f345 --- /dev/null +++ b/dev-ruby/activerecord/Manifest @@ -0,0 +1,6 @@ +DIST rails-3.2.22.tgz 3569215 SHA256 a14fbd69cd1750589cb6f4a79926058595de832dab89372fb479feadc99f0aba SHA512 7321e5fa12cc3f7d6e7c2284f37c183c9bcbe1c9f067c2be5ebdd10f550b0eff561b20558cf885f30b24951bfa88287b3e0fb421eee14579a88a2bcffeaff3ce WHIRLPOOL de54798cbcbf9a0c6d66346267cfbb15991478cc6b4982f9e3a3a80db734af6553f9749b18188c4dc5fa82c60c0294312f648a0e4b5bcb46896bfee75be4dbc0 +DIST rails-4.0.13.tgz 3761572 SHA256 a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a38888023a204a51 SHA512 3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d WHIRLPOOL a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01 +DIST rails-4.1.11.tgz 3723586 SHA256 3a59ba7a4020ba4dd54907a4927d1b9b9a60f5098ccd0bc3220b77ec6fca0bc1 SHA512 1df57853b3f80ec0fa1f7c08f3109ff64a42cfc7044ff229b9bde4b52025d21fee2d6631e86440adf12346a26cb67f8c812c869b64e1eec219bb9132610d62b9 WHIRLPOOL cdb08fb137a01f14dc32f268fbaa52667141bbe2384e2515256719eba27498aabb88572e693ab798e7821a1a8027074e7d67d6dab6cb01f2bd3e9138d3ec79d7 +DIST rails-4.1.12.tgz 3726629 SHA256 141e5554d854b3eb12246e748e0080057766d5006b4b319a05fc4a53aca29b28 SHA512 76e10e66e4e128fdeaf44cf0ab089729ca6dca597e91e4b99f24bc1db7935be153ca7c387cd45298139f786cf5a39286c73a1913b86aae5c6834ec0e1a089efc WHIRLPOOL 648130d40c52df38b032203267f6b5bed2529f58bd3e12e3f750bcfa23ffc01e1abfc3994dd4ed7827a96755ca3f9ac3222ded1216e8fd3201d43dc8d7fdf244 +DIST rails-4.2.2.tgz 4149494 SHA256 e8a0b1f96e2bf0bf24b2f28a5b5eabed7886b056119bd51c01ed451db4f35932 SHA512 707fddfcabf960ebccac9aa8c88067b1adedee341eed80a60c07044145f67047a91eb6d52b05c18d0693f0e575ec51b494b3095df755067f7cacd3a62275189f WHIRLPOOL 6b9296edbcaf95c20adf2981f877cf0b6febc4e2f33873826ab36ff0cdff68308c8e748bd9fdfb56f1d4e72c1588e25b826103ab7df9d74dd0e4e756d61d648a +DIST rails-4.2.3.tgz 4160455 SHA256 79956b73a496d4e409d7bc639980049ba58e1a2976c6cd3beaffc596e913f337 SHA512 6e6cd821764b7b9f86cefc5a075ec590711d9f465a2692a6ee4b403ced8ff262bf5723da2b7061b7b9a450f3af1c99f781f1230844ede201f5ad828c34d9c9ea WHIRLPOOL 351a2cd4571ae0ad0e39304267f0bcfd5fd544bc38bec75beaed50ebe802d0215660e31edf9ac00cb5acb6ad1c0b32947fa7b161d8ecbc490006ecc51f94fd4c diff --git a/dev-ruby/activerecord/activerecord-3.2.22.ebuild b/dev-ruby/activerecord/activerecord-3.2.22.ebuild new file mode 100644 index 000000000000..e6322620edf1 --- /dev/null +++ b/dev-ruby/activerecord/activerecord-3.2.22.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +# 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/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="mysql postgres sqlite" + +RUBY_S="rails-${PV}/${PN}" + +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:0 + sqlite? ( >=dev-ruby/sqlite3-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-1.3.5 + dev-ruby/mocha:0.13 + )" + +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\|benchmark-ips\|nokogiri\)/d" ../Gemfile || die + sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die + sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die +# sed -i -e '/[Bb]undler/d' ../load_paths.rb || die + sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || 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 + + # Avoid test depending on specific sqlite3 binding or database version. + sed -i -e '/test_uniqueness_violations_are_translated/,/^ end/ s:^:#:' test/cases/adapter_test.rb || die +} + +each_ruby_test() { + if use sqlite; then + ${RUBY} -I. -S rake test_sqlite3 || die "sqlite3 tests failed" + fi +} diff --git a/dev-ruby/activerecord/activerecord-4.0.13.ebuild b/dev-ruby/activerecord/activerecord-4.0.13.ebuild new file mode 100644 index 000000000000..2d6023685876 --- /dev/null +++ b/dev-ruby/activerecord/activerecord-4.0.13.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +# 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/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="mysql postgres sqlite" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + ~dev-ruby/activemodel-${PV} + >=dev-ruby/activerecord-deprecated_finders-1.0.2:1.0 + >=dev-ruby/arel-4.0.2:4.0 + sqlite? ( >=dev-ruby/sqlite3-1.3.5 ) + mysql? ( >=dev-ruby/mysql2-0.3.10:0.3 ) + postgres? ( >=dev-ruby/pg-0.11.0 ) + !=dev-ruby/sqlite3-1.3.5 + dev-ruby/mocha:0.13 + )" + +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\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\)/d" ../Gemfile || die + sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die + sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die + + sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die + + # Add back json in the Gemfile because we dropped some dependencies + # earlier that implicitly required it. + sed -i -e '$agem "json"' ../Gemfile || 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 + + # Avoid single test using mysql dependencies. + rm test/cases/invalid_connection_test.rb || die + + # Avoid test depending on specific sqlite3 binding or database version. + sed -i -e '/test_uniqueness_violations_are_translated/,/^ end/ s:^:#:' test/cases/adapter_test.rb || die +} + +each_ruby_test() { + case ${RUBY} in + *jruby) + ;; + *) + if use sqlite; then + ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" + fi + ;; + esac +} diff --git a/dev-ruby/activerecord/activerecord-4.1.11.ebuild b/dev-ruby/activerecord/activerecord-4.1.11.ebuild new file mode 100644 index 000000000000..17c08ab7097c --- /dev/null +++ b/dev-ruby/activerecord/activerecord-4.1.11.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +# 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="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +IUSE="mysql postgres sqlite" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + ~dev-ruby/activemodel-${PV} + >=dev-ruby/arel-5.0.0:5.0 + sqlite? ( >=dev-ruby/sqlite3-1.3.6 ) + mysql? ( >=dev-ruby/mysql2-0.3.13:0.3 ) + postgres? ( >=dev-ruby/pg-0.11.0 )" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + ~dev-ruby/actionpack-${PV} + >=dev-ruby/sqlite3-1.3.5 + dev-ruby/mocha:0.13 + 3.4/>= 3.4/' ../railties/railties.gemspec || die + sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die + + sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die + + # Add back json in the Gemfile because we dropped some dependencies + # earlier that implicitly required it. + sed -i -e '$agem "json"' ../Gemfile || 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 + + # Avoid single test using mysql dependencies. + rm test/cases/invalid_connection_test.rb || die +} + +each_ruby_test() { + if use sqlite; then + ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" + fi +} diff --git a/dev-ruby/activerecord/activerecord-4.1.12.ebuild b/dev-ruby/activerecord/activerecord-4.1.12.ebuild new file mode 100644 index 000000000000..4f3291b9b2d4 --- /dev/null +++ b/dev-ruby/activerecord/activerecord-4.1.12.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +# 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="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="mysql postgres sqlite" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + ~dev-ruby/activemodel-${PV} + >=dev-ruby/arel-5.0.0:5.0 + sqlite? ( >=dev-ruby/sqlite3-1.3.6 ) + mysql? ( >=dev-ruby/mysql2-0.3.13:0.3 ) + postgres? ( >=dev-ruby/pg-0.11.0 )" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + ~dev-ruby/actionpack-${PV} + >=dev-ruby/sqlite3-1.3.5 + dev-ruby/mocha:0.13 + 3.4/>= 3.4/' ../railties/railties.gemspec || die + sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die + + sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die + + # Add back json in the Gemfile because we dropped some dependencies + # earlier that implicitly required it. + sed -i -e '$agem "json"' ../Gemfile || 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 + + # Avoid single test using mysql dependencies. + rm test/cases/invalid_connection_test.rb || die +} + +each_ruby_test() { + if use sqlite; then + ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" + fi +} diff --git a/dev-ruby/activerecord/activerecord-4.2.2.ebuild b/dev-ruby/activerecord/activerecord-4.2.2.ebuild new file mode 100644 index 000000000000..857b7c00b448 --- /dev/null +++ b/dev-ruby/activerecord/activerecord-4.2.2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +# 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="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +IUSE="mysql postgres sqlite" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + ~dev-ruby/activemodel-${PV} + >=dev-ruby/arel-6.0:6.0 + sqlite? ( >=dev-ruby/sqlite3-1.3.6 ) + mysql? ( >=dev-ruby/mysql2-0.3.13:0.3 ) + postgres? ( >=dev-ruby/pg-0.15.0 )" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actionmailer-${PV} + >=dev-ruby/sqlite3-1.3.5 + dev-ruby/mocha:0.13 + 3.4/>= 3.4/' ../railties/railties.gemspec || die + sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die + + sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die + + # Add back json in the Gemfile because we dropped some dependencies + # earlier that implicitly required it. + sed -i -e '$agem "json"' ../Gemfile || 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 + + # Avoid single test using mysql dependencies. + rm test/cases/invalid_connection_test.rb || die +} + +each_ruby_test() { + if use sqlite; then + ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" + fi +} diff --git a/dev-ruby/activerecord/activerecord-4.2.3.ebuild b/dev-ruby/activerecord/activerecord-4.2.3.ebuild new file mode 100644 index 000000000000..2d6a26470522 --- /dev/null +++ b/dev-ruby/activerecord/activerecord-4.2.3.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +# 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="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +IUSE="mysql postgres sqlite" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + ~dev-ruby/activemodel-${PV} + >=dev-ruby/arel-6.0:6.0 + sqlite? ( >=dev-ruby/sqlite3-1.3.6 ) + mysql? ( >=dev-ruby/mysql2-0.3.13:0.3 ) + postgres? ( >=dev-ruby/pg-0.15.0 )" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actionmailer-${PV} + >=dev-ruby/sqlite3-1.3.5 + dev-ruby/mocha:0.13 + 3.4/>= 3.4/' ../railties/railties.gemspec || die + sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die + + sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die + + # Add back json in the Gemfile because we dropped some dependencies + # earlier that implicitly required it. + sed -i -e '$agem "json"' ../Gemfile || 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 + + # Avoid single test using mysql dependencies. + rm test/cases/invalid_connection_test.rb || die +} + +each_ruby_test() { + if use sqlite; then + ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" + fi +} diff --git a/dev-ruby/activerecord/metadata.xml b/dev-ruby/activerecord/metadata.xml new file mode 100644 index 000000000000..73034e5a17a2 --- /dev/null +++ b/dev-ruby/activerecord/metadata.xml @@ -0,0 +1,8 @@ + + + + ruby + + rails/rails + + -- cgit v1.2.3-65-gdbad