diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-10-07 12:38:03 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-10-07 12:38:03 +0000 |
commit | dbeb66895cb719ceec797a07c3ec3e96d49d30d8 (patch) | |
tree | f46be54cff4359cd7f0778ad06e4961966d8617a /dev-ruby/activerecord | |
parent | Initial import for Rails 4. (diff) | |
download | historical-dbeb66895cb719ceec797a07c3ec3e96d49d30d8.tar.gz historical-dbeb66895cb719ceec797a07c3ec3e96d49d30d8.tar.bz2 historical-dbeb66895cb719ceec797a07c3ec3e96d49d30d8.zip |
Version bump for Rails 4. Dropped keywords in bug 487206.
Package-Manager: portage-2.2.1/cvs/Linux x86_64
Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/activerecord')
-rw-r--r-- | dev-ruby/activerecord/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/activerecord/Manifest | 10 | ||||
-rw-r--r-- | dev-ruby/activerecord/activerecord-4.0.0.ebuild | 80 |
3 files changed, 92 insertions, 5 deletions
diff --git a/dev-ruby/activerecord/ChangeLog b/dev-ruby/activerecord/ChangeLog index 359ed3c43300..6d6601a5612c 100644 --- a/dev-ruby/activerecord/ChangeLog +++ b/dev-ruby/activerecord/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/activerecord # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.242 2013/08/17 10:32:26 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.243 2013/10/07 12:36:27 graaff Exp $ + +*activerecord-4.0.0 (07 Oct 2013) + + 07 Oct 2013; Hans de Graaff <graaff@gentoo.org> +activerecord-4.0.0.ebuild: + Version bump for Rails 4. Dropped keywords in bug 487206. *activerecord-3.2.14 (17 Aug 2013) diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest index b1c93f9bd59f..e1ad88a48540 100644 --- a/dev-ruby/activerecord/Manifest +++ b/dev-ruby/activerecord/Manifest @@ -9,16 +9,18 @@ DIST activerecord-2.3.18.gem 541696 SHA256 09aec34a541e01c53b3e9bf0057a4306fa6ad DIST rails-3.1.12.tgz 3394369 SHA256 2321d18cd5b5c4929f09472d17fd05e21cc6470d7efd2886bfcf52bb89dbdfcc SHA512 49b886bf05c1c51b67cdf4a7ad688e633bdd0b180ef328f18c942cd13095668ed70cfe3b40ed2d77a2c8ca8c3d8474413dfa25c282afabe21ce790567874716f WHIRLPOOL 66e9d9709b7e8b00b096c43a5c5703fd20addf020c10df5764457ebf6ac515451f9e6db93a4925da9ab88e6942427f5a7fc0d20cf6381e8530f830605db7503e DIST rails-3.2.13.tgz 3555972 SHA256 2dfc2f80d40854c765da07306dfca6a7a4db34588d1fa2265e2312bcd00df1b8 SHA512 8123838a8bb169a78aeebf3cb85df7f1a8e99b04656354c6270a3251b92c9fee62e030052d829322cad5d85b093b1b6114718ea00bb5e37e98a10eac74dad23c WHIRLPOOL 5ee2200082abc36729d4343e0620eb24298260c80ec6f3fef07766a273ada6603b7885a9ada0cefbf5b2435fb4b1484ca60fda0a26e945318d20f9812ed834b2 DIST rails-3.2.14.tgz 3565569 SHA256 1acc8b591d72488c5171f059ae08b201db754bc9d65c95ce9cdd956fd59e038e SHA512 a5c4f0ff326e048b7c3ed3b45278141787c352959602330f4028d74b517634fcd2d2fc9928c350a39a8c42bd98b21271f51a9b306ce26dcbd078c29d0dea4c56 WHIRLPOOL 9117d9cb0e03116c322f13738532c2412a895c1681c305510ec4f20a15b12c5f89e15b0bab2497d01b8b68994efc9946466f02ff828911e2da8b8be853e09db1 +DIST rails-4.0.0.tgz 3705371 SHA256 644601ae66881313346ffeacd9ea372d249df55aa7abe853acdcb231fffe6bbf SHA512 3e03f25de83ff894a7affdebe948fd151cff81c8ec906692119036633d891c9ba5cbb312e3ab32f1e62f4a383fcfc2e878daeb62fc04336e932b2e2bda63f7cf WHIRLPOOL 792513f2fdfcbc2a57633e3ef344943948e5614c638b06cae1245fd84716d84b5391a7906123a94a1a325ad789bdc465a4f7e2b774924bd0f18d341c29109a82 EBUILD activerecord-2.3.18.ebuild 1818 SHA256 88be14e5deb72df9236203ba3f56be2784062a063007435d91699e8d8282b48a SHA512 901d3dc0536753297838595c3cd4776dec7dca292342650c052293ed0e699915da675b0ca25865cfa3d5494a743a7dabd57d7dacdbe536d0e4e63783ec26ad4d WHIRLPOOL f5b39ab5258c36f8adc124354b630fa8d3e74aceaf50fc4265ea79d7506dbfce2699e1a0057530b252d1e6579facfeac46fbb71d5da19e51401d338dd46e4315 EBUILD activerecord-3.1.12.ebuild 2027 SHA256 eff6176207ba52f574ee4b7d499d7f803799b92c56031edddd1338b11ad9c162 SHA512 add9bdf2a7fb347362fac5fca7982975c26a3af8321adf9e080af8cf66edd8f6844aaeebe3976610054a7b95ee81d07211cbbd74fc944ce0c83923a31fc6d748 WHIRLPOOL 8005ade70170f57e30291e958f034f49e7be1fa5575f4d5de2332c057003c55e44e33e0d60763d5a8840650b0861d9b91711a8ecb5482d8dabcb3b47923d250a EBUILD activerecord-3.2.13.ebuild 2502 SHA256 0809763b729f46a03e1047fad73ed04431183ecad5a3b51a37c55b8ca4d15aed SHA512 3ecc6de44d0a12228717b6214e99e25a7644b99482eae8b2ab61811e90995fa74d0675e82ca422d91c2dd7875d4faa26bc9d1d1dcdde0085adbeb90cadd72b19 WHIRLPOOL d14000379fb1987e48b92151cba32def2c9c7eedc1395edc3c9213349693ca349c11aadd7be2c0db375e87d49b342931274c5dcdddbe01cedb2fbc554f670432 EBUILD activerecord-3.2.14.ebuild 2495 SHA256 625dbece656ae97dc58e108516ad17e8cfcdc7260c6f068ce5533deeb30ce8e0 SHA512 993205a7f0c91bb09dc1ed9e4c75a5150b9e91deb5b94a8454c7e82432511599698c9e2ded916d2164a744005885404853dfc004c9c091e2fd1fdf10bc54f964 WHIRLPOOL 46aacd817b0b9338786c889ddf23ccd5cf033d3fafe7371797627d3120375801a9144096ca1185f0fec2b2af416fb8230da067bd6956d3b18c6c114896f22864 -MISC ChangeLog 33568 SHA256 25d06b649d275a685c9243a0582593a9ed272bfc29a9497f8ee3bab5c681754d SHA512 4ce440101adb2f4ec56aac84e81daf51483e97d71942ab38a85d01bb041c58d757420996c9ac8dba6613abc54e6ea9776d72caa8b260ae686aca6f355108d2eb WHIRLPOOL 3544c3abc84e45cdbe0155a0c40d45d35f206884dd19c29f38e2ffbc3fbf239f1ac2b486aebaf4ce237154f66ae2d268820df755068a17bf345c3d19d78ed317 +EBUILD activerecord-4.0.0.ebuild 2590 SHA256 ab0342cd6cf9505ea3a263b9b3369b660cf34f5ff36d7f8326f2c8c72caa2545 SHA512 dddb95fa2ea87f3aec3a1af5ff96afcb2384bf74942ec9fd72c8b87b8ae2f665c3f0e0bda9b14db9ee5d280b1171b16d3ebb12ae8d0a2622a0a8015be85cb8ff WHIRLPOOL f12b38ad536957f3c7590c73fb044cece8e2a63e515e00e68c50b807e89c1b26a39a38b073de595b08b7515c4c14ce712922d85814cbef4fa520e3d4999a8840 +MISC ChangeLog 33742 SHA256 bc52045c2af9a2ec4dc91ab30e286a3a0cbb59ab30a144cc640850a0eef0a9c6 SHA512 05d6e999878e691a3d7102e4f340a92a189b4607690d180eecd89fc079b578bb82db9efb7b9eaa97ee9db0e0d7975572531b72877e18a39790ffd464af78f7ec WHIRLPOOL d5304071652cea982abcb7a47e81e723c6b36debdf2d22ba332feee3d18febf7741d8f5e1de826d20d5314deb0109883ea5bde8a02b6abbb962d002688515a80 MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iF4EAREIAAYFAlIPUTsACgkQiIP6VqMIqNcHUQD/YpZg85NrMvTh09bQ7tmDTIG3 -LvUCAKSotacZ/ParKDQA/RriZWdZDGDCuVDPXWTZbO1BNtYGcoA2G5mkTLXs7Urs -=QZla +iF4EAREIAAYFAlJSqswACgkQiIP6VqMIqNf7EwD9FqOxzOwyffuhcqDw1Hj4i7bE +PsJqGt6f1r8x+qqePWMA/1YCGJrZjNRLOKCb/O2GYaKuiocnJCwKyrYuvvXwFsAB +=n8nU -----END PGP SIGNATURE----- diff --git a/dev-ruby/activerecord/activerecord-4.0.0.ebuild b/dev-ruby/activerecord/activerecord-4.0.0.ebuild new file mode 100644 index 000000000000..32ea57a576e5 --- /dev/null +++ b/dev-ruby/activerecord/activerecord-4.0.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-4.0.0.ebuild,v 1.1 2013/10/07 12:36:27 graaff Exp $ + +EAPI=5 +USE_RUBY="ruby19" + +# 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" +IUSE="mysql postgres sqlite3" + +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.0:4.0 + sqlite3? ( >=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\|kindlerb\|turbolinks\|coffee-rails\|debugger\)/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 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 +} |