summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/actionmailer/ChangeLog7
-rw-r--r--dev-ruby/actionmailer/Manifest20
-rw-r--r--dev-ruby/actionmailer/actionmailer-4.0.4.ebuild41
-rw-r--r--dev-ruby/actionpack/ChangeLog7
-rw-r--r--dev-ruby/actionpack/Manifest20
-rw-r--r--dev-ruby/actionpack/actionpack-4.0.4.ebuild73
-rw-r--r--dev-ruby/activemodel/ChangeLog7
-rw-r--r--dev-ruby/activemodel/Manifest20
-rw-r--r--dev-ruby/activemodel/activemodel-4.0.4.ebuild46
-rw-r--r--dev-ruby/activerecord/ChangeLog7
-rw-r--r--dev-ruby/activerecord/Manifest20
-rw-r--r--dev-ruby/activerecord/activerecord-4.0.4.ebuild86
-rw-r--r--dev-ruby/activesupport/ChangeLog7
-rw-r--r--dev-ruby/activesupport/Manifest20
-rw-r--r--dev-ruby/activesupport/activesupport-4.0.4.ebuild58
-rw-r--r--dev-ruby/rails/ChangeLog7
-rw-r--r--dev-ruby/rails/Manifest20
-rw-r--r--dev-ruby/rails/rails-4.0.4.ebuild42
-rw-r--r--dev-ruby/railties/ChangeLog7
-rw-r--r--dev-ruby/railties/Manifest20
-rw-r--r--dev-ruby/railties/railties-4.0.4.ebuild71
21 files changed, 501 insertions, 105 deletions
diff --git a/dev-ruby/actionmailer/ChangeLog b/dev-ruby/actionmailer/ChangeLog
index 68e494d01f2c..c03ce31175a3 100644
--- a/dev-ruby/actionmailer/ChangeLog
+++ b/dev-ruby/actionmailer/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/actionmailer
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v 1.252 2014/03/11 20:24:29 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v 1.253 2014/04/05 07:40:05 graaff Exp $
+
+*actionmailer-4.0.4 (05 Apr 2014)
+
+ 05 Apr 2014; Hans de Graaff <graaff@gentoo.org> +actionmailer-4.0.4.ebuild:
+ Rails 4.0.4 version bump.
11 Mar 2014; Johannes Huber <johu@gentoo.org> actionmailer-4.0.2.ebuild,
actionmailer-4.0.3.ebuild:
diff --git a/dev-ruby/actionmailer/Manifest b/dev-ruby/actionmailer/Manifest
index aceec6ef0121..d4666ac5f652 100644
--- a/dev-ruby/actionmailer/Manifest
+++ b/dev-ruby/actionmailer/Manifest
@@ -7,26 +7,18 @@ DIST rails-3.2.16.tgz 3566631 SHA256 8fe61b98496e40d8aaef5f8db217f2aad56c9add1bf
DIST rails-3.2.17.tgz 3566537 SHA256 f94972ed71c005ae1f7520d8840852872fbdf6c834bb2eaf1516fe63e406d609 SHA512 4ad32d71108d444bd791ffb2fded25deed69a304a4d6497fb12a586e07348bf4cd1a453614eb932a907063ad6166b89f4778742cb5c2c420f17a116e11b964f6 WHIRLPOOL 0b0911120202e3152a74d31f3b7f8a24261f8e163577ad88c12fd85be088871a0f8ed46b305325250bb830f786231ff349e847b2f642cba02905a95a9a022d68
DIST rails-4.0.2.tgz 3720518 SHA256 cd973b85cfff735da80d8ed4e11421e2242be735d96cbe4d83ac0c4b6ca7c8d1 SHA512 67d7580c0081deeec4271f96caca6d6db8f65864c876a237e7e3f0e8c6e495d299f103dcbe7627385fa4fd3699dac5015e20be90187ef3b2af49352ad9c8d6af WHIRLPOOL 5b496df36ca4de6a4b55951fab2403bd8b31b3505d17d450bf2edf084429a7689c4fdeb8d19d0be40b2d4d0ada8cefd6c3fc104c2428769d2ca8e434d97c6465
DIST rails-4.0.3.tgz 3721788 SHA256 deed80da9b800789a718f95dde5a0a13f18fe6d0169987165a54e7b6d8edd4f8 SHA512 4ac37e5f2c3992aa33020cb7287c9415a014c475dc176b2b51e6112da8bef3b8626216134c5495a8643a9452c7bd78af9a4e2bc77e9c098f8908335d4a27a918 WHIRLPOOL 52bdd5ad2cfe74976b2565963cddc6cefd51ec95fa4f6ca6cc81fe7444271e734caa0800b3cc7a425be0f7dfa47298079b10cacc5909925072935661cfc78974
+DIST rails-4.0.4.tgz 3742294 SHA256 301c7320cf2609a52c230b72f694a669637e39625bbbc42286903b1ebcbc9816 SHA512 781fc5b19ff20da39793ee99761db476de30d55c6b82af040a8f6c69ee608780c14fb91047cd5dbc1d0ba44d2f1b3e862de45210a2373d98fc9bd2beb526e282 WHIRLPOOL 9535db2609e56e0c161beaf50e798334b6619ffc90c09b7dd54cd7b1e0a04b7095d8a21da99a4c6978390f09f1a43341e9e810d13e0eeb2ee54dfaf04f07a139
EBUILD actionmailer-3.2.16.ebuild 1367 SHA256 4d72da68a76fbe149229c9db44644d2bbb1fb17f6f09d9781d25eff3e07fd8fb SHA512 53a732694f93c92f7aee2d205c42ed3118bf11718e0d86e0ac67de698dccefb3a00a76701ebaccaf5b044424771b1b0aade236a6465c06e14bce3b66230f0b26 WHIRLPOOL cf2fbafec05381c64a7012ab7599887699d8ff8cba91f4353bd865464b80af9e45d05bb4fc6c6e12ee82a286a8b606d7a0d71bad1a21efe2f864fb2b6f2e1518
EBUILD actionmailer-3.2.17.ebuild 1367 SHA256 c7e42c99cdecc7cc91133aec1bcc9fec193e59099a2895bbd9b3ee2de9dfa6e1 SHA512 608408a7a007e5cef7ab15550a6e36689c60f6a23eedf325985a9f67e2a9ad57752c54160c4e8fc3070d538d8936fe57c8deba02fb69661febd4160488449a79 WHIRLPOOL fe2fa1cde924a53c784ffc44feaebbaf9254fe1968c0c73ba43878cc0160458f680f2f4e5e7e996f019580bce6662f64e73935ac41c997bccedb6aca0180fbb5
EBUILD actionmailer-4.0.2.ebuild 1242 SHA256 6a413e9a2cb0919184ae0e576d599e6c123af66c149ee09cf92c19c1bc12b19d SHA512 96c2a5ca84ec69275035d50b762dd1ab7dd4d40e47a4d2b3873a4442e3808ffb76f47fe45fdca96002870a2c520f6b27c639605de4223b7804c70e83bc6ff113 WHIRLPOOL ff71ca0778086f05775f060e3fcbcd598e0da78bb64bc931bd7730d588253bca4aba9829ec28009d24e7f25764d6423dfea6474b72c1e3adf2986899b3c093f5
EBUILD actionmailer-4.0.3.ebuild 1242 SHA256 8575e906f989cab0caaa5aa31f9b94b29fa7a9ff8eed462fb4b78265bfa4512a SHA512 9976d8a1ffa5acf99ce22b49b9983634dac874469c27adf979b49dfb43c52e9fa5d6c68a2cfe7d7a503b804bf3c5aba89a3ca84a4385a5a142086ae7d3c8c7f4 WHIRLPOOL 3e421a9e26d55c9d75518ec91b4d1ef02899ac488c117bd5105d953497dcf73e58e2f6fceef8ae4090493d45b7213c0d19a11e4b0ee60afa1ed17e97aa5980dd
-MISC ChangeLog 34311 SHA256 7a84c0a24581089e6c2dba8deca905de32fca23e09a54d349875c95ce9adf0d4 SHA512 f056d6b43ad2e44bf4db9319665311b5463507433e465f3ef5c79592266b9b103c4a195a139640351b4f6ac4e76edf95f47f2e3a21bfafde151e676000e5071a WHIRLPOOL 3e515e7b6b2b530bb6ec8eb83e69d8495714e676594e75d140a0c73618a48da05ef31f7af3d11aca079cf42be52c4777adf0d71d6fef0e6a9c2996636f6c01c1
+EBUILD actionmailer-4.0.4.ebuild 1244 SHA256 7822b2e60afdec5542bbca1eccf88206c43c156670bed678f8797fce7fab6ca9 SHA512 b14316182c42985d676ac72659a19418509761036fa44a1810763ef223aeb2e80c6cfdbf6bfc7da6963ef7bedf93c85ce91f5c8c70b73a4f5cdddc36d28b1659 WHIRLPOOL d59455b05e75c6716bb8903424ae317ec0012627f3a80ad1d28331ed52b6bce5d78fde4f6e730e6350f072cbc8f86d262c96e81b4940cee5103b4beaf2b96e1b
+MISC ChangeLog 34455 SHA256 8b06252f82a7b75d8756bb8720b0e596709cfa15c8b3ccbc60ce56da18641331 SHA512 a362a8210cbb504c26790b8147e222f19f5f8c5c4acbaa7ee66b3b336e27a0ee078b6dc94ef2b6a3521058f0dc9d9657dd666f929763f943ad47056d55d71c60 WHIRLPOOL c6fe8102f7090abb72bf30b46b5d805a0c166cda17bc1bac0cc1080325a845294a17744682ab7ac66e9f8d0105cf458624c9e74313b781a3bf620103c012f450
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTH3D+AAoJEGVpnaTzz9K9x4cQAKH0LvYHl1FbVCpWev99SiyR
-3BtFAZnRQSoEJalJDxJSvLdIw1Hf48Uaxu81GwfRu2dVYdCmbfO8ONAKleIIKHKZ
-leemAk9A3w6fzFsXJO5K/ucJ8x1gcTIUCAEKo1oG6SKaGcau9vgOW8meBFrTQbfO
-S2PKSH98OvBo8jWWabXEIaitqlM0AV6rSp5/8wZpLL7ClrqO4y+DTdWsvIzl2I2k
-LiZfyfiequuBHHT2cHxS6WDNLgYJSISGTIZ8eOyvBowk/17mFISg+YgD4if287Ja
-SQaPesdeLShr0KxWb1Bl3mtrzSeLLtGC1vrq7ypu1s9StiGKVah8bzflNUrHXHyK
-md/wfvO9iQ7UEk7sEojY+B9D5E0TQAjOvJYy2/OtPtmQW/pBvgHDedDdv7O+UKSO
-WjE2KxVKfuFltMnWZI5cu26kl8a0XclLoNxc7Jhx2i6+hboVHs9XPyPwL1J7F0qF
-XwuDRh8c7wI7Yj5VXlVg/qN8yjUMcyuJiTyB0/n7u4FsjEkTdWo2ebRsCnig5ZBq
-/lneuzIPqVKQAfue1zVRoyBSl9F0r7OeeKCedynE5HainAotOM+QEzZR8DA9HijN
-X6xHi4mIcQCIx4NvhpGstNmot2FYhdafDNZ/CJvEjLjRNTL4nbnNLePYjCqx7rrJ
-vfxHfn3w0y5sV/m5OfG9
-=+u9Z
+iF4EAREIAAYFAlM/s1YACgkQiIP6VqMIqNfrVgD/fxFE66Jdz3rqe/VNr+j9Qtca
+e+WbzD3CyBXcRqvfxYAA/2wWzCjleB3vX/bVIqU8YiJ+eWD7l2AKLfA1XFWUI6BD
+=B9BX
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/actionmailer/actionmailer-4.0.4.ebuild b/dev-ruby/actionmailer/actionmailer-4.0.4.ebuild
new file mode 100644
index 000000000000..187b2bbdf832
--- /dev/null
+++ b/dev-ruby/actionmailer/actionmailer-4.0.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-4.0.4.ebuild,v 1.1 2014/04/05 07:40:05 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19"
+
+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/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "~dev-ruby/actionpack-${PV}
+ >=dev-ruby/mail-2.5.4:2.5"
+ruby_add_bdepend "test? (
+ dev-ruby/test-unit:2
+ dev-ruby/mocha:0.13
+)"
+
+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"
+
+ # Make sure we use the test-unit gem since ruby18 does not provide
+ # all the test-unit features needed.
+ sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
+}
diff --git a/dev-ruby/actionpack/ChangeLog b/dev-ruby/actionpack/ChangeLog
index 5341eea96283..c0fd187bee82 100644
--- a/dev-ruby/actionpack/ChangeLog
+++ b/dev-ruby/actionpack/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/actionpack
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.269 2014/03/11 20:09:13 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.270 2014/04/05 07:39:50 graaff Exp $
+
+*actionpack-4.0.4 (05 Apr 2014)
+
+ 05 Apr 2014; Hans de Graaff <graaff@gentoo.org> +actionpack-4.0.4.ebuild:
+ Rails 4.0.4 version bump.
11 Mar 2014; Johannes Huber <johu@gentoo.org> actionpack-4.0.2.ebuild,
actionpack-4.0.3.ebuild:
diff --git a/dev-ruby/actionpack/Manifest b/dev-ruby/actionpack/Manifest
index ff7b7c75a84d..309f9580511a 100644
--- a/dev-ruby/actionpack/Manifest
+++ b/dev-ruby/actionpack/Manifest
@@ -8,26 +8,18 @@ DIST rails-3.2.16.tgz 3566631 SHA256 8fe61b98496e40d8aaef5f8db217f2aad56c9add1bf
DIST rails-3.2.17.tgz 3566537 SHA256 f94972ed71c005ae1f7520d8840852872fbdf6c834bb2eaf1516fe63e406d609 SHA512 4ad32d71108d444bd791ffb2fded25deed69a304a4d6497fb12a586e07348bf4cd1a453614eb932a907063ad6166b89f4778742cb5c2c420f17a116e11b964f6 WHIRLPOOL 0b0911120202e3152a74d31f3b7f8a24261f8e163577ad88c12fd85be088871a0f8ed46b305325250bb830f786231ff349e847b2f642cba02905a95a9a022d68
DIST rails-4.0.2.tgz 3720518 SHA256 cd973b85cfff735da80d8ed4e11421e2242be735d96cbe4d83ac0c4b6ca7c8d1 SHA512 67d7580c0081deeec4271f96caca6d6db8f65864c876a237e7e3f0e8c6e495d299f103dcbe7627385fa4fd3699dac5015e20be90187ef3b2af49352ad9c8d6af WHIRLPOOL 5b496df36ca4de6a4b55951fab2403bd8b31b3505d17d450bf2edf084429a7689c4fdeb8d19d0be40b2d4d0ada8cefd6c3fc104c2428769d2ca8e434d97c6465
DIST rails-4.0.3.tgz 3721788 SHA256 deed80da9b800789a718f95dde5a0a13f18fe6d0169987165a54e7b6d8edd4f8 SHA512 4ac37e5f2c3992aa33020cb7287c9415a014c475dc176b2b51e6112da8bef3b8626216134c5495a8643a9452c7bd78af9a4e2bc77e9c098f8908335d4a27a918 WHIRLPOOL 52bdd5ad2cfe74976b2565963cddc6cefd51ec95fa4f6ca6cc81fe7444271e734caa0800b3cc7a425be0f7dfa47298079b10cacc5909925072935661cfc78974
+DIST rails-4.0.4.tgz 3742294 SHA256 301c7320cf2609a52c230b72f694a669637e39625bbbc42286903b1ebcbc9816 SHA512 781fc5b19ff20da39793ee99761db476de30d55c6b82af040a8f6c69ee608780c14fb91047cd5dbc1d0ba44d2f1b3e862de45210a2373d98fc9bd2beb526e282 WHIRLPOOL 9535db2609e56e0c161beaf50e798334b6619ffc90c09b7dd54cd7b1e0a04b7095d8a21da99a4c6978390f09f1a43341e9e810d13e0eeb2ee54dfaf04f07a139
EBUILD actionpack-3.2.16.ebuild 2858 SHA256 3e8c5cd7b27264c8170df6ec7f09377050df9166c6f8954760f59fca3a076b0d SHA512 628b22915c8285aefdfd643f729e97b6097aa0e3875e55b61749e1718081a9b8be362207096efed2ebd44d2bdef091c2f826626a7cdcfb67bc13b758d37e3eec WHIRLPOOL 264d516b1204bbc46a8d64209d3716f19d487b64b5a324d05b9f1bb5a1c83e3cc6989bc81a91ab2ab57144faf7831a8a8931020fec3de00bbb1b7369ba64b39e
EBUILD actionpack-3.2.17.ebuild 2858 SHA256 39680c182930a724b832fb8fa39f0ceccf5250344d0fdd86a677ee5f5a2a6231 SHA512 fe025dbb94cfc31c109fc6a4ec3a692c37073a975eac3e1f6b1fd8972fb1c7a2c3ed02aaf1ff0ceca5b77e4c1f0029282ac2eff824e990695a433b494f129508 WHIRLPOOL 339917d255d090af5db3cf68ea096d1f385e849469c0951d3e90b38e3d5ff0e950bf65cd5aff5892456d1c9c8150c971c6e2db6c3c913e44bcfe3a6870709af4
EBUILD actionpack-4.0.2.ebuild 2771 SHA256 154242dda15d2b88158beb2a0e8a8510076e0cc47023ec42e0922e216928fe7e SHA512 9410c79058de56c62ecb3bf70933185240fb0a37fd38423946e43a62aa59c5eab6df08d3af4955def2a576b4e67c45ffe10626e1d263b2a718b31a456fe50270 WHIRLPOOL 315c8f4926d78aeb5daa6a7ddcc62d300e5ba591176cd0a8d1496b1bbf74fe57d43bd07d02f82b248ed5be214b43efe1e127718121f796d1b958e3680ffe5e45
EBUILD actionpack-4.0.3.ebuild 2771 SHA256 ebeec611db2676836b269a492cef7bd0d11f02f5ecdc972e0941e03741470bab SHA512 a7f7de5cf3e9b1a24e79fceea840f8d6dbb6487a7ed69e3c29e27cd198a182631bf918706b5ab3bbdb0accda8007c5d4e0929d45a3ec546136ba3690c0830a72 WHIRLPOOL 9f58a9541a1830ce5a4cafd9781117ec0e51859e259e327d5d6b07ff63db26f4d4bb3daf31a7043c7902bebb9373a39908615c6a860773672378dc666ea3bd38
-MISC ChangeLog 36259 SHA256 5545b32b078d3149d22403d81f6ca1c96286f3dad09ed74fac6a87e09495bcce SHA512 ccecb9ffda88bf6906d1be6622851d69198ce245534f129f923deb1f8046ee39ab59676eafce97ab645905a684618603bb7e6e2e95c057bae61f681e3adcf713 WHIRLPOOL c8077088fef82c0b8c21725ac4a1fdfcb14d611e20270d738f937828167c1752114e3e6b69a713d926eab655a95a61757c6f8509b81515ba1c597fbffadcb490
+EBUILD actionpack-4.0.4.ebuild 2741 SHA256 1a3bed4ca7ff07516e4347e4d1d9219acedcf15c2c9aa078a3c872a99fff08a9 SHA512 2972121f9c2f842c2c315ec6843aba837c73143fc98897c72238ec413bec348bbaf24d581754a67a20eb2c3c39f352475bec66961107f393cb1bd48a9101ca3d WHIRLPOOL 3ef115e3ea4362044a563a40c5d643a744b5e577000e0b736f6d06be2f392262202d3fa6c64649c8730071f3ee0621afc1b029cc251555029222aa95837f1d07
+MISC ChangeLog 36399 SHA256 f3d9413b709b7dd439cf06c5b8cea741ae2d90a92c3436f54a510a5fd6091f95 SHA512 0ae0d4d4abc45bfe8309470d05baea3cff14c0f1c2010286a2360ee94060a69cbe0ba0aeb37235c6f969155608d672a13c9d429ec16e0f452958c85cfaeede66 WHIRLPOOL 0c2f156ca2412005b74787f5dc8a608123c0afea5980feaa0695642f8e3e5666a2e6b3ad2b0eb45551c845fe1ff3dd3af47a14df24a5a8237524de00688a30da
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTH21qAAoJEGVpnaTzz9K9h18P+wZtE9OAVAWOcb9/4XbDGTto
-1rQAbuoxqB5WlA5WIU+6ws0oow0UBF8SVkp8lhgKVaUobfA6ghNFtZ39HEO7pJjb
-aETSUnS7s0ibU/I/3KNmv6t9vKeYcT5LDVOzFg9aWcO071UdctzbKpSJbTVDG2Wd
-b/Cwek43Pg0L6ACohbTX8h3zOZGPJc47VMjyMwTb+bb5pkb82CILkUON2pusEFoF
-s3HnPdxMtYBcSos//nszq02xmnKSj4DD2strNYKQH6okwPg11gRwpr1/t+7c8aNM
-B770E7FjQIqyl2WDU2ELxXC3AAlg1XHzsRO9WejAW8jkNqG2r37NaRkl5snfHZoz
-5ndIpIG1F5iaqG89/VGrX0DAnnYTWUNz9BEYEXkEuzZBtFgn3/erkciY9TTBuXGO
-j/Ks4oLdgGoa2rkdvB6YQbtGyq8PiHv49iPPtJKQPn7gCxzlInVlCZvm5N+QBQl+
-boZj4UeZLKOl9WT4QwBaqMt38MHHVOj0S6oYf7CyASTkOXsyIXqB/TvZaBMylLoA
-Yqvs9YV6G5j5gz+VuPfBPjaXVA1+CgtnnMWQd5tQ674XUnU4JKjNeNCUHC0zI1Fl
-TJwhdM//LQHfQUtdAosPxuwISP06WTEDmVRNRJfXbUfqAASxT7UwtOZ5Sq2S5LWy
-uDflklikCIqFHNW01xWd
-=xLgC
+iF4EAREIAAYFAlM/s0cACgkQiIP6VqMIqNfotgEAiT6ujVRlP4GFzh4AQii56G+8
+lTNlOCFUT93PSytZ9/MA/iFzI6FJl3fuUp6EpJdVf5ri8fEQmt5nDkPxLSTiBCPO
+=GaZg
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/actionpack/actionpack-4.0.4.ebuild b/dev-ruby/actionpack/actionpack-4.0.4.ebuild
new file mode 100644
index 000000000000..5fa2d58261ff
--- /dev/null
+++ b/dev-ruby/actionpack/actionpack-4.0.4.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-4.0.4.ebuild,v 1.1 2014/04/05 07:39:50 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19"
+
+# 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/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+ ~dev-ruby/activesupport-${PV}
+ >=dev-ruby/builder-3.1.0:3.1
+ >=dev-ruby/rack-1.5.2:1.5
+ >=dev-ruby/rack-test-0.6.2:0.6
+ >=dev-ruby/erubis-2.7.0"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/mocha:0.13
+ dev-ruby/bundler
+ ~dev-ruby/activemodel-${PV}
+ ~dev-ruby/activerecord-${PV}
+ ~dev-ruby/actionmailer-${PV}
+ dev-ruby/sprockets-rails:2.0
+ >=dev-ruby/tzinfo-0.3.29:0
+ >=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\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\)/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 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
+
+ # Avoid fragile test that gets more output than it expects.
+ sed -i -e '/test_locals_option_to_assert_template_is_not_supported/,/end/ s:^:#:' test/controller/render_test.rb || die
+}
diff --git a/dev-ruby/activemodel/ChangeLog b/dev-ruby/activemodel/ChangeLog
index 70013d8ad5be..3c0f8fba7a75 100644
--- a/dev-ruby/activemodel/ChangeLog
+++ b/dev-ruby/activemodel/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/activemodel
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/ChangeLog,v 1.70 2014/03/11 20:07:58 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/ChangeLog,v 1.71 2014/04/05 07:39:34 graaff Exp $
+
+*activemodel-4.0.4 (05 Apr 2014)
+
+ 05 Apr 2014; Hans de Graaff <graaff@gentoo.org> +activemodel-4.0.4.ebuild:
+ Rails 4.0.4 version bump.
11 Mar 2014; Johannes Huber <johu@gentoo.org> activemodel-4.0.2.ebuild,
activemodel-4.0.3.ebuild:
diff --git a/dev-ruby/activemodel/Manifest b/dev-ruby/activemodel/Manifest
index 5a795ed76fcb..bb745583cee7 100644
--- a/dev-ruby/activemodel/Manifest
+++ b/dev-ruby/activemodel/Manifest
@@ -5,26 +5,18 @@ DIST rails-3.2.16.tgz 3566631 SHA256 8fe61b98496e40d8aaef5f8db217f2aad56c9add1bf
DIST rails-3.2.17.tgz 3566537 SHA256 f94972ed71c005ae1f7520d8840852872fbdf6c834bb2eaf1516fe63e406d609 SHA512 4ad32d71108d444bd791ffb2fded25deed69a304a4d6497fb12a586e07348bf4cd1a453614eb932a907063ad6166b89f4778742cb5c2c420f17a116e11b964f6 WHIRLPOOL 0b0911120202e3152a74d31f3b7f8a24261f8e163577ad88c12fd85be088871a0f8ed46b305325250bb830f786231ff349e847b2f642cba02905a95a9a022d68
DIST rails-4.0.2.tgz 3720518 SHA256 cd973b85cfff735da80d8ed4e11421e2242be735d96cbe4d83ac0c4b6ca7c8d1 SHA512 67d7580c0081deeec4271f96caca6d6db8f65864c876a237e7e3f0e8c6e495d299f103dcbe7627385fa4fd3699dac5015e20be90187ef3b2af49352ad9c8d6af WHIRLPOOL 5b496df36ca4de6a4b55951fab2403bd8b31b3505d17d450bf2edf084429a7689c4fdeb8d19d0be40b2d4d0ada8cefd6c3fc104c2428769d2ca8e434d97c6465
DIST rails-4.0.3.tgz 3721788 SHA256 deed80da9b800789a718f95dde5a0a13f18fe6d0169987165a54e7b6d8edd4f8 SHA512 4ac37e5f2c3992aa33020cb7287c9415a014c475dc176b2b51e6112da8bef3b8626216134c5495a8643a9452c7bd78af9a4e2bc77e9c098f8908335d4a27a918 WHIRLPOOL 52bdd5ad2cfe74976b2565963cddc6cefd51ec95fa4f6ca6cc81fe7444271e734caa0800b3cc7a425be0f7dfa47298079b10cacc5909925072935661cfc78974
+DIST rails-4.0.4.tgz 3742294 SHA256 301c7320cf2609a52c230b72f694a669637e39625bbbc42286903b1ebcbc9816 SHA512 781fc5b19ff20da39793ee99761db476de30d55c6b82af040a8f6c69ee608780c14fb91047cd5dbc1d0ba44d2f1b3e862de45210a2373d98fc9bd2beb526e282 WHIRLPOOL 9535db2609e56e0c161beaf50e798334b6619ffc90c09b7dd54cd7b1e0a04b7095d8a21da99a4c6978390f09f1a43341e9e810d13e0eeb2ee54dfaf04f07a139
EBUILD activemodel-3.2.16.ebuild 1619 SHA256 b248d27f55598a6c236f957bfc4b5eb432c16019ce64ae3fe365dab5ebae2e27 SHA512 c8c70875dd869cec754d44d2797daf52ffa6bbbabda73d630974f142d588afa759344d170a829c8ecb9ec86cb0518b5f249b3335874f36ff81dc5a647dc7bf36 WHIRLPOOL df898c42b4edf43774cd632745d26ce1adf14e657ae889ec9c41f58fbe1c3c2c370ccbaea9ed56a0f004635a22177a2c1386720c464673c6662d13e0af69ff75
EBUILD activemodel-3.2.17.ebuild 1619 SHA256 a9598ea217f78bdd18c85786ca7e6a5085fe82abe5ca5d5609ec048924f5274d SHA512 2bf925413d8b010e1edae87fc7e96cd333af398642343be378eff5c01d176c8431e04b4d6ed1c7c3801d18af4a64a70853eec732827888a7ee20b1be74e8a5df WHIRLPOOL 353dc58162cd4c4cce7de06f4ce2ea1430ac4d7054326b43012c185859fa74be634a5ed23f7f73b9b637c8bbb3ef2f7963270744c28ade34a23191f8e66a7b7f
EBUILD activemodel-4.0.2.ebuild 1290 SHA256 af15cdee91d42f0b6e99c41e312957894dafc8da63e001a2c96371e30242562b SHA512 116206836aaf7d225ce1d13560e8ff55f61a0063f4d48759750896bc7ef43f346959c2ac3808b3b72fd10e5d43c1c3df863f2c6b94468f0e10ebd03b8ba6991a WHIRLPOOL 63c95a78d113166e7bf3df4723ff2363e1804ad4fed4fc8be60944cd6ddfb2b99c9d9de09b46bc1b7dcd9462eb3989be227a6d8345e34506877360ace5f229b1
EBUILD activemodel-4.0.3.ebuild 1290 SHA256 0166f84217882049578144eab0dabc7e00effdfa1ba6ee788f3c089b8302c343 SHA512 41a76c2e4071d0d1098dcf035fbc5785e932c7996caaf2d251fe70b0722832804bc6233a7b20e486c636e84a2913adb71871b97438401c5a73a1a0bda8c7df0b WHIRLPOOL 63306649343554ad5ea1aa26c6813b0dc7b84c00729d1ba6d9feeecf3594f7ade91a7aa0aada392e24dfcc840b10065315c0cef80b7e65844e28a850446480f1
-MISC ChangeLog 10438 SHA256 61cd791165fd2dabf8ce371b740ac19668f95a988748b221a525da13a5a2542c SHA512 6aec675efd5d5f93318fe7caac4fd2d3ac5810ee61f345d32f8ff37e1d894d065d3f049edbad3f5cc5fa2d5a040c8b0ea8f387ff93722a094de62b2bd5f1b652 WHIRLPOOL 9b3a0f4f450198f8b14507f2f17f987eecc7a102448cab0d8fc6992636ce400ab573ef5d78402aeafa3900685f95ea872b00c3991d46405d237bdad308e2a3c5
+EBUILD activemodel-4.0.4.ebuild 1292 SHA256 ae1377bc9231ba471b6330720738322d975e630cfdd2cd30804c4c23e02a87b6 SHA512 a800cdaf4545acbd0b76da0c906275e821adcc722fc28cd53e6bac670907a11f9e4863778b92e70c6479596de53c2658b20645bf6cd4e9caa1175ec52ccdda50 WHIRLPOOL 12e27609084de66a4146267723ec2b5c7ca128944f628a618fddf934f8b04e0f790468289537caede0285b545a142748bb0c6e5ae983b8ed27b40f9305ba8555
+MISC ChangeLog 10580 SHA256 85a4db40957d4268ce02f459552100624ecb40440ec4390bc02c7ae9c9cde187 SHA512 b0e82bb219d6f198aba62a9b00294fe0af964887a0ddbd59569261518ff66c03d10e847d985e92530f3e05dc5ff4f65aacbb65e7a3f9bc73eceb6bb59f6722a7 WHIRLPOOL e86b5cd8af31f146f43c750cb74b2267c3659cbc8431f6633a6a578ee5710dd90b5f55e8a05f9ba3388934542944f53f69685163bcead54d4c04973098acb19f
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTH20fAAoJEGVpnaTzz9K9xqQQAKG2LTPco4YBhq4Pe0RLocwz
-Kk4U6rIe8kHI0JdR0UKjAk72qlQs7QpY5q4FzvwlrLb2M8+1EnspS4Sil/SsUCJO
-9piuLfvxL/gCcGAfL+a46oU6fCkm/8sMU7pgCVLmTC+S89Pvu7nzlXNO53OYov+t
-QNIumAadq3Dd33fZjwMpjcnsn1T+BucWFpL1X7YwbKtM42U10CLRUaTeSu5gOtzX
-zXODwx4OHqylAX9zGntQgl0iCpyDeDVbfwx0qtVmT9N4908mAHXWd34ZyOD2ReBX
-j0GWEMBrPzaNPz3mW0McKgobRv3SW4hi+w+ixPOW+PhbyzgH+rQ1MzALiLdfSE0n
-ptv7xeO4E8VU78P9jnNifJzylZxhc9kaSxlKjNy+QI8rdWEYvM1J9KzgvW7lYje6
-aVyiSvY07aSCtgCSOJ9aj/kpJ4ARJvVvCZ8fOwwJVn0uxS7CdCupupPaIRK59juM
-OVJ31976FHUlepQTendY8xcmMTTN4fidmAQuhYUnvmHiITRtawfBA9qG/Xoutt+/
-9usCFnrY0BNzLDMYwMOS8FA9t5PLpKMEYDmqHMpYu0BVbXPiIlKZ0aEN2BoLyMti
-ukhr0GupLxmQYMpI8Lx3qm3Ydle26h2IKbGHk1hHgjLXXLsncstAFx0oo++G1q49
-LJZzzqMqry91gSAvGVyD
-=Q+px
+iF4EAREIAAYFAlM/szcACgkQiIP6VqMIqNcu+wD8CV57jhwKyMqdSF345wGtMLaO
+soVy2n8REiGVImyrYosA/15wG5/coh4+O4mJFn37VnL44Ik78M6S3GUrb86RDI95
+=YMxk
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/activemodel/activemodel-4.0.4.ebuild b/dev-ruby/activemodel/activemodel-4.0.4.ebuild
new file mode 100644
index 000000000000..dc5bfd000243
--- /dev/null
+++ b/dev-ruby/activemodel/activemodel-4.0.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-4.0.4.ebuild,v 1.1 2014/04/05 07:39:34 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19"
+
+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/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+ ~dev-ruby/activesupport-${PV}
+ >=dev-ruby/builder-3.1.0:3.1
+ >=dev-ruby/bcrypt-ruby-3.1.7"
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/railties-4.0.0
+ dev-ruby/test-unit:2
+ >=dev-ruby/mocha-0.13.0:0.13
+ )"
+
+all_ruby_prepare() {
+ # Set test environment to our hand.
+ sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths"
+
+ # Fix bcrypt dependency since bcrypt uses semantic versioning.
+ sed -i -e '/bcrypt-ruby/ s/3.0.0/3.0/' lib/active_model/secure_password.rb || die
+}
diff --git a/dev-ruby/activerecord/ChangeLog b/dev-ruby/activerecord/ChangeLog
index f5dd06f3bedf..467822e72bf1 100644
--- a/dev-ruby/activerecord/ChangeLog
+++ b/dev-ruby/activerecord/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/activerecord
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.257 2014/03/11 20:24:05 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.258 2014/04/05 07:40:18 graaff Exp $
+
+*activerecord-4.0.4 (05 Apr 2014)
+
+ 05 Apr 2014; Hans de Graaff <graaff@gentoo.org> +activerecord-4.0.4.ebuild:
+ Rails 4.0.4 version bump.
11 Mar 2014; Johannes Huber <johu@gentoo.org> activerecord-4.0.2.ebuild,
activerecord-4.0.3.ebuild:
diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest
index 73b9abc57448..5f66024d2757 100644
--- a/dev-ruby/activerecord/Manifest
+++ b/dev-ruby/activerecord/Manifest
@@ -9,26 +9,18 @@ DIST rails-3.2.16.tgz 3566631 SHA256 8fe61b98496e40d8aaef5f8db217f2aad56c9add1bf
DIST rails-3.2.17.tgz 3566537 SHA256 f94972ed71c005ae1f7520d8840852872fbdf6c834bb2eaf1516fe63e406d609 SHA512 4ad32d71108d444bd791ffb2fded25deed69a304a4d6497fb12a586e07348bf4cd1a453614eb932a907063ad6166b89f4778742cb5c2c420f17a116e11b964f6 WHIRLPOOL 0b0911120202e3152a74d31f3b7f8a24261f8e163577ad88c12fd85be088871a0f8ed46b305325250bb830f786231ff349e847b2f642cba02905a95a9a022d68
DIST rails-4.0.2.tgz 3720518 SHA256 cd973b85cfff735da80d8ed4e11421e2242be735d96cbe4d83ac0c4b6ca7c8d1 SHA512 67d7580c0081deeec4271f96caca6d6db8f65864c876a237e7e3f0e8c6e495d299f103dcbe7627385fa4fd3699dac5015e20be90187ef3b2af49352ad9c8d6af WHIRLPOOL 5b496df36ca4de6a4b55951fab2403bd8b31b3505d17d450bf2edf084429a7689c4fdeb8d19d0be40b2d4d0ada8cefd6c3fc104c2428769d2ca8e434d97c6465
DIST rails-4.0.3.tgz 3721788 SHA256 deed80da9b800789a718f95dde5a0a13f18fe6d0169987165a54e7b6d8edd4f8 SHA512 4ac37e5f2c3992aa33020cb7287c9415a014c475dc176b2b51e6112da8bef3b8626216134c5495a8643a9452c7bd78af9a4e2bc77e9c098f8908335d4a27a918 WHIRLPOOL 52bdd5ad2cfe74976b2565963cddc6cefd51ec95fa4f6ca6cc81fe7444271e734caa0800b3cc7a425be0f7dfa47298079b10cacc5909925072935661cfc78974
+DIST rails-4.0.4.tgz 3742294 SHA256 301c7320cf2609a52c230b72f694a669637e39625bbbc42286903b1ebcbc9816 SHA512 781fc5b19ff20da39793ee99761db476de30d55c6b82af040a8f6c69ee608780c14fb91047cd5dbc1d0ba44d2f1b3e862de45210a2373d98fc9bd2beb526e282 WHIRLPOOL 9535db2609e56e0c161beaf50e798334b6619ffc90c09b7dd54cd7b1e0a04b7095d8a21da99a4c6978390f09f1a43341e9e810d13e0eeb2ee54dfaf04f07a139
EBUILD activerecord-3.2.16.ebuild 2497 SHA256 aeca80f074b4001478a657b6fdd744e4595a11107e2dacf59f4499500b72d69f SHA512 d5d4752820d3f6025f68664c37095aa052789663de9af8009b56925dd437a02967bbc2ea70a4f2e93317231651e938946180b0bc038d25869d61aacfde300a54 WHIRLPOOL 585901e6594628616b692a1062fdb072ad8bbb9e2c1986c65fc0e1d551e6115e1d3595a8904a44473cbe5c903d235387c69824c3e555e27a52678cd62bf1523b
EBUILD activerecord-3.2.17.ebuild 2556 SHA256 c74289fcec4242b774555fc07774ccbc69b573edc1db3b851b540ff0d1949496 SHA512 3d930d62b0115207e169e492f6a00c851e6d16453498f84028a50948a4b3f563f36462ac290744012289272a3b9442cb22ae354afc91a175eba6cf675b47bf18 WHIRLPOOL 9c5dc90898d750480d2351a263af87bfb0ecc08613c4164555990d823d22133923fd0209f9681ba06fc51fde95b09760778b52775c49d6f6c012ff43f88d004c
EBUILD activerecord-4.0.2.ebuild 2695 SHA256 2a6403d6ae7ffa0442e19218d6b0440fd4d8b54ebd073ba727dba21ceba2d08f SHA512 d6c5ce5b6c8341a5fdc61571aae21b3f284585544298885bf145e82e329cbcd3e0a9e22f3e5542bc32f27e9d5091b912ff1075afd02692acd62635e5f25737b8 WHIRLPOOL f743391ed3bda494746b0de0ca06b85bbd72dc25d2596b89f35302bcc602653707f1a96e3fb01b90287e5fda0f613a9ffc853bc1ed5afbae533e499941e03743
EBUILD activerecord-4.0.3.ebuild 2878 SHA256 35e5a8497cbe43e04427384724aaf0415482077f1c355430522341d06bd69ec2 SHA512 eec4beac85a8e89a057e3a24d5b5e11da9924a2dbd5947964ac9ff2b72939cd9acfc76c1136e5f20713e8f0345b9ebcdcdd09e0930aeb10a4b7385343abe8a26 WHIRLPOOL 8bc704f88a26b59e41ed8bc05e74521e565ce60cdaf0884efbe99998d9c0d6d51230337c11603322cd0588506bc26408acc04c702d3a8a403dd0b7a4eb26478b
-MISC ChangeLog 35706 SHA256 d7a8ebc5373772b5615f5760842d19a709c3bd057b1493d9eef92a8196e32a25 SHA512 9e94f9ec2f19e81cdbbca16fdf59ed112d731a3112e213a592e947b09567c3a3c3cc59af39ff0198ac0e3cd093c3c64429196354339d977830bdf1514baafe9d WHIRLPOOL 08b3b9b3f487bbf7cf73f56d33881c8fecfc900cf4d42707c21740b2afb6f799d1b3950f4ef2479a015a547bb2591ae4a667efb3e938f4340702c215778f277a
+EBUILD activerecord-4.0.4.ebuild 2880 SHA256 f1cb49ca22213ef7fd21bdccc29a90eda27161767a3588fa61a7eee974d9c900 SHA512 d51cc2fa9e52bbbaf8740b28a36f898bdeed002f49e411b4ba33340c5eb6a07ed828a66952b72da7d63798ae7219a7af9c126295cdfba850ae3361dbf6c011d4 WHIRLPOOL 176cf5cb525a2d8240f3c02ff7e7938f368dbfebea7502c9ae0a9ff3173ed24e9db17716fa762a6e91fe69974f01880a99ba3128118c3e59f7f02b8916ea744b
+MISC ChangeLog 35850 SHA256 3374c735596f648beaf51ed8879fc630b00a37904fac27fd886709fc8118a92b SHA512 2105c56afb41abd4c646f5525f8fce4ded19d10f3810fd7fd45a2a918a512e84adc4e9ef3e4c5590914da8e69f8c4bf751b977127352fcbad1896a24c9719254 WHIRLPOOL 2d0f52fe52f1aad223eecad295269850803894755c6c8ff5cd2dfd4f24ef76e4d22d8120961e5bb544c9f3b567dbcb2dcdb0250d7e81b8fd324956d735d6aaa4
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTH3DmAAoJEGVpnaTzz9K9/AAQAIoI202ZVrgnMCt5wAOXpqhw
-kuoUic0o/Ygr4UCxf377tpFFYjy5hApej4LmyZccPv2f7HUpWzcyiqWV3CSB3GGr
-LEijBeKB+0y/eZHtYpPfNA4vDM79ICeTe+SOKooDhx+jCgwFAlLgeIYnXqRcIvqk
-sYqXoL22wjgvdMl9kCumts7bX6AbsyjwRoZ7IYaGfEsktIQjHeR4FFtuFEeZCngM
-sKUoXCPSQYjbUUjKsqbVzrl8VYwA2MxRwbo1gThua3PpjTmLoo+hfNXy49GpZ10Q
-iJhDHpX3lo97fpoSlVbwoyF9qZng7tsnGOTBVFY8Nj81lxkfBGsK0jVavzW/pibc
-BacEqbqJk1krZu3iNmTgQxEe41+rQ7XuOLUEnT1ZcSYJ/FSXKRD9mNOdmiXKNmSU
-DS7E9H7e1XSbEJkrWpn3fVpm9SCrnCb5C8KWYcc5uh+W8+SqDWou+/9LntHMAMpf
-8+MwA2/QQR52G0w2VUrsd2yOuFQy2wRwrczttSisF1Of/M+m7JAJrNnESu/ruAa2
-AeYMQFpVtcpwUVB/gz81bncOrATHf9xhiiO4Nh+x1JCMMzu2vAIj7PRVnfinB2Bx
-hU+S5cK34EdrMynkkEr+iVW6R7R+rYWMNBJMqXr0Zy1KZ3iPoCHI1+Bk8jxFXB6t
-kQmBQmuOprtDw8E/7PeY
-=sQXu
+iF4EAREIAAYFAlM/s2MACgkQiIP6VqMIqNeeGwD9FYB2FFvw2cA3V08tVoZXQJh0
+HQaZJnhDwfYkgjp/kQgBAI+6uHYaVbybHsuMtQyLTPx4wrzMpKQHPnEZlgZTIS8d
+=3oOm
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/activerecord/activerecord-4.0.4.ebuild b/dev-ruby/activerecord/activerecord-4.0.4.ebuild
new file mode 100644
index 000000000000..5505529fdba3
--- /dev/null
+++ b/dev-ruby/activerecord/activerecord-4.0.4.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-4.0.4.ebuild,v 1.1 2014/04/05 07:40:18 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 ~arm ~x86"
+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.2: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
+
+ # 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)
+ ;;
+ *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/activesupport/ChangeLog b/dev-ruby/activesupport/ChangeLog
index 27290e51faed..57b249dd8575 100644
--- a/dev-ruby/activesupport/ChangeLog
+++ b/dev-ruby/activesupport/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/activesupport
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v 1.245 2014/03/11 20:23:08 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v 1.246 2014/04/05 07:39:17 graaff Exp $
+
+*activesupport-4.0.4 (05 Apr 2014)
+
+ 05 Apr 2014; Hans de Graaff <graaff@gentoo.org> +activesupport-4.0.4.ebuild:
+ Rails 4.0.4 version bump.
11 Mar 2014; Johannes Huber <johu@gentoo.org> activesupport-4.0.2.ebuild,
activesupport-4.0.3.ebuild:
diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest
index f0ffeda49048..79177bf99628 100644
--- a/dev-ruby/activesupport/Manifest
+++ b/dev-ruby/activesupport/Manifest
@@ -10,26 +10,18 @@ DIST rails-3.2.16.tgz 3566631 SHA256 8fe61b98496e40d8aaef5f8db217f2aad56c9add1bf
DIST rails-3.2.17.tgz 3566537 SHA256 f94972ed71c005ae1f7520d8840852872fbdf6c834bb2eaf1516fe63e406d609 SHA512 4ad32d71108d444bd791ffb2fded25deed69a304a4d6497fb12a586e07348bf4cd1a453614eb932a907063ad6166b89f4778742cb5c2c420f17a116e11b964f6 WHIRLPOOL 0b0911120202e3152a74d31f3b7f8a24261f8e163577ad88c12fd85be088871a0f8ed46b305325250bb830f786231ff349e847b2f642cba02905a95a9a022d68
DIST rails-4.0.2.tgz 3720518 SHA256 cd973b85cfff735da80d8ed4e11421e2242be735d96cbe4d83ac0c4b6ca7c8d1 SHA512 67d7580c0081deeec4271f96caca6d6db8f65864c876a237e7e3f0e8c6e495d299f103dcbe7627385fa4fd3699dac5015e20be90187ef3b2af49352ad9c8d6af WHIRLPOOL 5b496df36ca4de6a4b55951fab2403bd8b31b3505d17d450bf2edf084429a7689c4fdeb8d19d0be40b2d4d0ada8cefd6c3fc104c2428769d2ca8e434d97c6465
DIST rails-4.0.3.tgz 3721788 SHA256 deed80da9b800789a718f95dde5a0a13f18fe6d0169987165a54e7b6d8edd4f8 SHA512 4ac37e5f2c3992aa33020cb7287c9415a014c475dc176b2b51e6112da8bef3b8626216134c5495a8643a9452c7bd78af9a4e2bc77e9c098f8908335d4a27a918 WHIRLPOOL 52bdd5ad2cfe74976b2565963cddc6cefd51ec95fa4f6ca6cc81fe7444271e734caa0800b3cc7a425be0f7dfa47298079b10cacc5909925072935661cfc78974
+DIST rails-4.0.4.tgz 3742294 SHA256 301c7320cf2609a52c230b72f694a669637e39625bbbc42286903b1ebcbc9816 SHA512 781fc5b19ff20da39793ee99761db476de30d55c6b82af040a8f6c69ee608780c14fb91047cd5dbc1d0ba44d2f1b3e862de45210a2373d98fc9bd2beb526e282 WHIRLPOOL 9535db2609e56e0c161beaf50e798334b6619ffc90c09b7dd54cd7b1e0a04b7095d8a21da99a4c6978390f09f1a43341e9e810d13e0eeb2ee54dfaf04f07a139
EBUILD activesupport-3.2.16.ebuild 2489 SHA256 f49f227fcf22f843c0cd2185a3097bd651826f2256f8af1e364e126da9242c7a SHA512 ab730229707698f9271207d25e4a99d85a12d465c351e35848ca6c1a0b75225e8a134a37cc7888cf12bbcf8ef4855ec54a00baedb1447730193ccca4fae228c5 WHIRLPOOL 75cf1db92fb917da5f2b4e8afefe8a846c55327dcf134e53d6944639c7ed5af8933f6c6ac6f94c66cf6186ddc06a31f70d8cfd2955bb9cec606f635149123526
EBUILD activesupport-3.2.17.ebuild 2489 SHA256 bf4a47f6e713467ee320eb8e8114c926b6a6e46ba4ebca0c15a6608a52792b59 SHA512 ca9fbcedf0bc0e858a7924bd63139e40b07f9cf3f61b8e875d43491f71e265e303b68838aa9659ebd192ee3dec341a9fd53d066e5c9da660097198947f49f317 WHIRLPOOL c0d062e610fccb963d85771211d581899d4233e383907ad5069205eb590654ecf5744403dbd17c4b00ebbb5daf2b9b5ca249b239d9ce9ee539b8d85a75176bac
EBUILD activesupport-4.0.2.ebuild 1763 SHA256 c984d9b8a74406a371d905aec06371dc03d1b6557f343b5d8a95f913951ea0ba SHA512 905a31138a46a56a61826ef3ff05f6aec37b6cdcb15a9019feac22f736998bc2b4193bdaf54a6b66b8de787842c70b5dead113aca1fdd2c778ae8bdee95b092d WHIRLPOOL acfd7829805d285fdca33b0b29a82f1beeefd4be23dd2a83fc8ddfee8afb39a38e3ef433f74180627a491fca45a560d1f1ca4cc037e0c03dbfaaa8fbeb867681
EBUILD activesupport-4.0.3.ebuild 1763 SHA256 963738af5e6eea026cb138c9268d17b9e764eb66e56affde5962319792277a54 SHA512 3978078cda01f0eacdef7a0348917c0f9d59b9ccb5a27b084fd76df44ea0d2cebe721be0bc3f2797e124b0aa5b555b4b52e30501e5048fea78ed6b43006a1a19 WHIRLPOOL 61f6a64f579e90c8d0eb3d124f84969fc7ff3b398ad4dac8dba78622839d7587a8f65f7d919622a4610149b371e1cedbc3a84ef045510d268c7ca533933cf1ad
-MISC ChangeLog 34885 SHA256 4ba0b82e8443163a26ebb8735158c20ceaeab263243b54cdab0b4c4d34e63cdc SHA512 e6d1c630113f85441f8086eec3f5ef0c87d961cb162e6dd40daa6a4c25688852f661f6f95b6e7e4cac5ebe7757252448ed80887861255d959f27f8696964c34d WHIRLPOOL 0df987ff8f0dbc0598ba647d4825c0b24fb6b797df77ae023e8a96ab2699d3ab2a217318a69168a69ca5bc8105a6667818bae81f9888e6bcb95b3081c04b091c
+EBUILD activesupport-4.0.4.ebuild 1765 SHA256 8bdb2c74975abf79cac0b38d9dc1fffc5c355af28ccf61603662324c324f12a3 SHA512 e87925d99255a351933399a4fcee8a1dd5f6bcd715a54a796cbad9d32422f7cc4d34c33a1894fef62cbc851d45d0bf8cfab66b64717d4e6f82d76298ddd90178 WHIRLPOOL 2f931d9770ba547cd2447b52d8149a7d084d6759ed497926fc0b57b065dbdb9a6a69e2a6bde7ab8ef6a9b59cf7593bd0e7bd6d3b20cbd6b7a53fddaaa4ee93a2
+MISC ChangeLog 35031 SHA256 e7fdec28d944e2f99be7459ecdb32f7691dea77e0d7fd4fcba2f42cd24f4de5c SHA512 abb9dd6fe2358529166483fd8d3bbf77c71e53744b3a2449e77ba08fa5ce84017b2ac88d9ccf09f84553a3d26374165cb52d1f77d94081588f5348fefee93ffe WHIRLPOOL a75b6dea7bb1f77eaf0dc23ac105bd5053225b1db29abbcb46595586f7b3d08952aaa67dfb6af07976d3286912e604ccfe7dfe68e541130125f104f830d685b5
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTH3CtAAoJEGVpnaTzz9K9Xu8P/3fS+j8nBlftno7s1hWfby7O
-V4F3DBzao3ZIVoNIToe6pw3Rlkxke5bdGHBUY3NlpqKW9wFwKmrwUcasbkbdYFmt
-JNoy+P+kEb07isN1CAA2rJ3xfRlkowFgHgMDzL5ck//AHH+43yb9JU6Y6p96C25y
-yfhgd7d5F56ARlmYH5bl+VRHB2hdx1O90Zx/BRR+FjReTjKmrtdKXXdMnf1gtNAw
-xe2kf4M14rWoLfMVv1fv+I4lO4LpJTpIdO9KmkwJko0aHveWT6X5peiZqwhLvNfj
-LwdPR6wxdcK1os1yuOEB2dfPiMP+Gh6iLSEZHBkaCF7i3zYKzhM3Q1BBA7U5mhRV
-Gj/VCmGdbDapMriQVtXuuZgGxVRZtabcV1oUi+GiRSrqMV/YhlR77zcIwE7jptyQ
-n5wOj09WicWP1PT5altxd8AuCREuFC6cgx3bFpIftvkBBhV1WqQTZghm6fyd78HS
-/sq1VTHXqD+j2OjsCCskXimomnWZWxqjpZtqixPGEX4HLaNmmtaKnYHJqlbS8r1c
-nEYv3P/fRuNdNuk/cL74dpaGg+GV+YUsekjKUv6rUjDuFBY5hhmyH/U02pSy9QKH
-2SjjDfIJx2wa183JXnUoE5wcBgUfwySY0IVGaQwtIf/KHkuZpJbQmmbcPKjeV7tD
-9Cc88YMolUpZz04RLlCy
-=7DO7
+iF4EAREIAAYFAlM/syYACgkQiIP6VqMIqNc0iQD/RDaBxoh7UVPwl+34NJm3bk5K
+aGkvdHbqyyjTlCELnuAA/j/ZCBt2KogzmbNh3ctQs5BE5+tki2LkP4sA0u2p2ujy
+=uHFO
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/activesupport/activesupport-4.0.4.ebuild b/dev-ruby/activesupport/activesupport-4.0.4.ebuild
new file mode 100644
index 000000000000..0b6ec1da9b30
--- /dev/null
+++ b/dev-ruby/activesupport/activesupport-4.0.4.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/activesupport-4.0.4.ebuild,v 1.1 2014/04/05 07:39:17 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20"
+
+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/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+ >=dev-ruby/multi_json-1.3:0
+ >=dev-ruby/i18n-0.6.9:0.6
+ >=dev-ruby/tzinfo-0.3.37:0
+ >=dev-ruby/minitest-4.2:0
+ >=dev-ruby/thread_safe-0.1:0
+ !!<dev-ruby/activesupport-3.0.11-r1:3.0"
+
+# memcache-client, nokogiri, and builder are not strictly
+# needed, but there are tests using this code.
+ruby_add_bdepend "test? (
+ >=dev-ruby/dalli-2.2.1
+ >=dev-ruby/nokogiri-1.4.5
+ >=dev-ruby/builder-3.1.0
+ >=dev-ruby/libxml-2.0.0
+ )"
+
+all_ruby_prepare() {
+ # Set the secure permissions that tests expect.
+ chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
+
+ # 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"
+
+ # Make sure a compatible version of minitest is used everywhere.
+ sed -i -e "s/gem 'minitest'/gem 'minitest', '~> 4.2'/" lib/active_support/test_case.rb || die
+ sed -i -e "1igem 'minitest', '~> 4.2'" test/abstract_unit.rb || die
+}
diff --git a/dev-ruby/rails/ChangeLog b/dev-ruby/rails/ChangeLog
index 5dc646cae8bf..44e2dc3e0b64 100644
--- a/dev-ruby/rails/ChangeLog
+++ b/dev-ruby/rails/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rails
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.283 2014/03/11 20:24:55 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.284 2014/04/05 07:40:43 graaff Exp $
+
+*rails-4.0.4 (05 Apr 2014)
+
+ 05 Apr 2014; Hans de Graaff <graaff@gentoo.org> +rails-4.0.4.ebuild:
+ Rails 4.0.4 version bump.
11 Mar 2014; Johannes Huber <johu@gentoo.org> rails-4.0.2.ebuild,
rails-4.0.3.ebuild:
diff --git a/dev-ruby/rails/Manifest b/dev-ruby/rails/Manifest
index d871acc90f5c..ea4bc9a79134 100644
--- a/dev-ruby/rails/Manifest
+++ b/dev-ruby/rails/Manifest
@@ -5,26 +5,18 @@ DIST rails-3.2.16.gem 4608 SHA256 fc470010d70c7628e9e6c4bd535f85571a24cdfadf9b58
DIST rails-3.2.17.gem 3584 SHA256 8eff1bbf9f22fa943e58e9b71c6bdbe5d5d95caf022bec38ce083599961cb984 SHA512 cd8ebfbd78f4ee415121d24f490024bcbab0e1b18f4ed5572ba7be7c27409055e3d233e26aa7e10cdc919b310be5ac85409d3f0371144b21913a772c958543e3 WHIRLPOOL 92ebf09cb682185e5bbec7af6d2da6c6397a1f31d94b41c9482b0ad060b4dbef5f1d5dcb74d181be7befd72bbb5536faccc5491cbed94c59aebc20b22e55bdce
DIST rails-4.0.2.gem 1548800 SHA256 b7485afabce7c526eee714f7daf020cc7f18be66567a55ad806b81294cc19ffa SHA512 98e07f98ca457ccba7f26d486712a5f6a8ce4c0d2b134a19278e354ea7bb152c175418425a2ff3c502b7ae47e7daa16e0ee3233c9463492f493de8b49f67eb6d WHIRLPOOL ee701680cbaa833e5082c51a18709f9ba0d44b17be7f2cc70aacab875816fccc936ca186c6bee09c08dd22edcf470af778c6e6a5c0c6ee6850bed4b9c5dae1ac
DIST rails-4.0.3.gem 1549824 SHA256 649f8ca0cdc10d47e6bef73e098937a2a61f5aabbcf2fde930d28675021e81be SHA512 5c5addf2cc136300befee1e021f71936e3719f88047d390ec6e338efe0aa475bc4f18a0a1de1f5f2ed6c7fe49d9e0b4eacff154054210a77239784e6a49a994e WHIRLPOOL 312d934851c83f6181c45301af21a4d17287252def045fdeddd32b970199db06e3673defe203e12e1df3f9c6206ba687953b0169239357206a991aaf3bf3d2e5
+DIST rails-4.0.4.gem 1550336 SHA256 ead3f37942b32496cd07837a01c40acc4f8c8df72e839f3d087a2c3543d760bc SHA512 18aacdd84093a06a8cae6ad22f48620b742922a6ce0f6b1bd45887acdcb8d46b21dad7100d0aa5a4134d5ab6e81e19bfd894df75b190b9a59ef557030f4716d8 WHIRLPOOL 1e53c83d3740632eb60bc0600f5403c377744562b0dd982a36c92aa728357e0d1877d872e4489a574802a284989581f2300d8aff72e273c36e778faf0fa4287e
EBUILD rails-3.2.16.ebuild 1062 SHA256 3bb1c57255b8383a421881186eefc9c18a02907892e4a5c8c03fd34d7f28eb5c SHA512 d3c0660d7466dbf190d3ee0ce9f6c3f729c397d2828657450ac12295c929a21e9794537dd087da7e3a4ee240e395d82eb8da22b3e4b617eeacffd65e32cfe8d9 WHIRLPOOL e0b38025385ed82fdffdf35b66bdfef46e78c0d72c45628c09e1b0d9f830f2778235fcc27aabbb736c4afe99c7392119e383f967b2352f55ce4ca24a1c093af6
EBUILD rails-3.2.17.ebuild 1062 SHA256 b7db60e5a6145c30fd902ed3b00bbc31e0a404f1b238af9a8d99f6dfe9e7156e SHA512 e90df9df7763d14a2b0687f63bf39e742a1e6591c008a2e41c7762017f720a54293822fd2b4a33af126e68dedcbde22e9d0a3d0b8190258cdf115e3337341f0f WHIRLPOOL e366a66d7932a0b1d534c0a8931f8fb6a701a04c4ca4ae6f0b853789f11d1b37aa309a8676073683a089de6b62fb6935047c2247491ca1758e0731965f4c992d
EBUILD rails-4.0.2.ebuild 1122 SHA256 ec81612b7d34a970ba5f02e270a9f48cdb518814f98aaf69e83a1c6511afef74 SHA512 27ea1b0096bcabe50c02839bae1dee74194e815c3ed2477570cbd355030e133d427b741e24a93f223f158fed19763bc644dbe3f23203fb31a809edbfdb112e02 WHIRLPOOL 4dc87abb006b2b3032185e5bc217686d0b0a44068755370efdf0e7f7a2014f35a193c3b70b50bfd8fde8004132c96a688616d528f885fb7efe7855b9a1682c14
EBUILD rails-4.0.3.ebuild 1122 SHA256 afbe29210f1ae9e9fc7cda9953ad6993141f937c77747196f36fb8d1f582931a SHA512 312e37abee9f680f626aadef738471d04ad9bfe58feca87e7d436dda6151618f939acada088d8b19c2e7142b93bd42f4ebbfd7fcc2fc11921a7d5970749865fb WHIRLPOOL 0044a31d1124e41a68dd69952b00b2a7a60861c4d33dc5228d92417960f76781e428e431e0c7c418d8a9cd8fa3eaf76b65f1120f283087194e75a0ffe5d99221
-MISC ChangeLog 37385 SHA256 d131b72b504d0c4f39d5b4119b78517bfb31eabc480e8c5a3c931ab196487efe SHA512 c067065a64e52a6e55cf306793b86205bbd264dc61922b189c2408540e1eacedc6b47ad02bbd3f57b06b3f566d34525e2ca899a439b38dd3bf323949a35b8a42 WHIRLPOOL 46466f195febcdb9fdf21170c70d6f26f46b77ed18d2790bd68daeacd8b63db355493afbfdd03b49b8791bec323dbbea34f353b3f65239d44a35adbe7e504288
+EBUILD rails-4.0.4.ebuild 1124 SHA256 a4a25d32cdd3faf6f2c550f0c6f859134ae226e3f395d358014e2c3f33c1563b SHA512 e609048087079dd9fc261749e549e6aa34bdc0a9bda8815241831497119c91ed12a53cb05be761eed0bf765bcaeab88e53975d69a7b149c1cd7180caa94c9ebc WHIRLPOOL f355bea98c153a738eaf3e43b08942158db179efb786421a505f3c28f75bc63a2f6f70ce7211e026103e4bd6b25acdd053738f91a72a93b6c7b71b286f21aca0
+MISC ChangeLog 37515 SHA256 4dc551f932f39c557559a61d39e8dbfca7f9cae8f59bf09cd41bcc2a7a3de3f6 SHA512 da35114f6328c9db565ceeea5587c60fbc9426eceaabe88b19db7b1f2b0a1c736ff72a8b3369fc53c82ca7341dacc40066d6281c9f1e920dabf106b3e69dc7e5 WHIRLPOOL 7e625b3c88c089008097bada86799e2db72d4e8353e45d54050bf9fc422ec5dd69ac85d1caff49ba3f8826628b7e293ca64a6bb404ce8d924ee35c4eb58212de
MISC metadata.xml 393 SHA256 ab0c7d6f591fe1803349f791b02e9be652e39232117c98f1b173c7ffb0854dee SHA512 dcdd257e9e5ad70fd720cd74ad12f3d292b98f72cc45c80ac02599fe46d16fbdfa84f78e6781756c59fdbc9a808c4734e491c07e320a54a1d2a51241658bb713 WHIRLPOOL 5317c82e4e1ac614e51dc74741272cf1b20fa0cd7b72c77559ecd1115d82dd7b9359bdcd80f1e08c358c096fe1f77e4d8d9e30e6ec70d6246a09613b92fef4b8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTH3EZAAoJEGVpnaTzz9K9NAIP/R4/S0Yc+Akam7koqq2D4vzL
-K3wwuYf4Wl2puGqQYRivS75NPDVkTkKvfmP/YqdH85J/tttcLdxjGDdU5gxIk4W9
-4TMFL1rfLDV/PE6AtklEWY/sFSVhXiTj/P1M+1A3hWsgNLfOONAFZfW6mHSg4DBA
-8J/wb7G/KjA5ljOOVaBOXkjuNoVIHz/RVutZqZww/Zvw7XpvvWzAPFQM4KZIYYO7
-IiqSkb5muyy8U05LypUMP6Y3WuIma7EwpPOPfYOZ8MpL+6Ki4bGgg9vYBGSL2owK
-atR1QDkcmJQs6+U2HUup7mYBvIO+hVyXkDwt4lk4v1Sh2LCUU6KxkRNt9qt1TIcI
-sBxcnt1SDkxdFiydCNw6EPCzcYvkM5YLL4eYRc5aOSWqibLBEGnqzI9/PKdny6LA
-kS7ZuyR+NoVuEsgIsGEEH307dPCoJsN3DJsaXTtvPhj+vtkWgrRkMJfazH+3Gd+g
-KO2tcoXrKRuAU/r+D+tEX28LvbK3PXpRiFyi0h1TvNWhWXAiWf7/e3+ZlPsB4+4e
-mI3xiHu/8mQcj9Yie5M3qUH+M8hC/8nUUkA9Q2dHCVe6X9MNS0ISayjkLUgmFEOj
-CQV/MAzpah5baZ5gLB5zJ74iNyygTXtU+1SytWi9zK2iDzHOyb270n3ywMEgjCn2
-k+4LVfDBM3BYjBOJfFu+
-=SIZP
+iF4EAREIAAYFAlM/s3wACgkQiIP6VqMIqNf06AEAhWhCc/UTLYTeHBjtjzYgWkf5
+wnfUVWGGh+Soya89gH0A/RyKZ724NY8hcjDjwYKFJ4+3oWdIagTYGmY6iDbZM88/
+=K4HS
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rails/rails-4.0.4.ebuild b/dev-ruby/rails/rails-4.0.4.ebuild
new file mode 100644
index 000000000000..5e223bcebe88
--- /dev/null
+++ b/dev-ruby/rails/rails-4.0.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-4.0.4.ebuild,v 1.1 2014/04/05 07:40:43 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+# The guides are now here but we'd need to rebuilt them first.
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_EXTRADOC="README.md guides/CHANGELOG.md"
+
+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 ~arm ~x86"
+
+IUSE="+asset-pipeline"
+
+ruby_add_rdepend "
+ ~dev-ruby/actionmailer-${PV}
+ ~dev-ruby/actionpack-${PV}
+ ~dev-ruby/activerecord-${PV}
+ ~dev-ruby/activesupport-${PV}
+ ~dev-ruby/railties-${PV}
+ >=dev-ruby/bundler-1.3 =dev-ruby/bundler-1*
+ >=dev-ruby/sprockets-rails-2.0.0:2.0
+ asset-pipeline? (
+ dev-ruby/jquery-rails
+ >=dev-ruby/sass-rails-4.0.0:4.0
+ >=dev-ruby/uglifier-1.3.0
+ >=dev-ruby/coffee-rails-4.0.0:4.0
+ )"
+
+# also: turbolinks, >=jbuilder-1.2:1
diff --git a/dev-ruby/railties/ChangeLog b/dev-ruby/railties/ChangeLog
index 80644f4d2969..618d96f69dd5 100644
--- a/dev-ruby/railties/ChangeLog
+++ b/dev-ruby/railties/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/railties
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.69 2014/03/11 20:07:25 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.70 2014/04/05 07:40:29 graaff Exp $
+
+*railties-4.0.4 (05 Apr 2014)
+
+ 05 Apr 2014; Hans de Graaff <graaff@gentoo.org> +railties-4.0.4.ebuild:
+ Rails 4.0.4 version bump.
11 Mar 2014; Johannes Huber <johu@gentoo.org> railties-4.0.2.ebuild,
railties-4.0.3.ebuild:
diff --git a/dev-ruby/railties/Manifest b/dev-ruby/railties/Manifest
index 05e59d63bc2b..27a74ccbc027 100644
--- a/dev-ruby/railties/Manifest
+++ b/dev-ruby/railties/Manifest
@@ -5,26 +5,18 @@ DIST rails-3.2.16.tgz 3566631 SHA256 8fe61b98496e40d8aaef5f8db217f2aad56c9add1bf
DIST rails-3.2.17.tgz 3566537 SHA256 f94972ed71c005ae1f7520d8840852872fbdf6c834bb2eaf1516fe63e406d609 SHA512 4ad32d71108d444bd791ffb2fded25deed69a304a4d6497fb12a586e07348bf4cd1a453614eb932a907063ad6166b89f4778742cb5c2c420f17a116e11b964f6 WHIRLPOOL 0b0911120202e3152a74d31f3b7f8a24261f8e163577ad88c12fd85be088871a0f8ed46b305325250bb830f786231ff349e847b2f642cba02905a95a9a022d68
DIST rails-4.0.2.tgz 3720518 SHA256 cd973b85cfff735da80d8ed4e11421e2242be735d96cbe4d83ac0c4b6ca7c8d1 SHA512 67d7580c0081deeec4271f96caca6d6db8f65864c876a237e7e3f0e8c6e495d299f103dcbe7627385fa4fd3699dac5015e20be90187ef3b2af49352ad9c8d6af WHIRLPOOL 5b496df36ca4de6a4b55951fab2403bd8b31b3505d17d450bf2edf084429a7689c4fdeb8d19d0be40b2d4d0ada8cefd6c3fc104c2428769d2ca8e434d97c6465
DIST rails-4.0.3.tgz 3721788 SHA256 deed80da9b800789a718f95dde5a0a13f18fe6d0169987165a54e7b6d8edd4f8 SHA512 4ac37e5f2c3992aa33020cb7287c9415a014c475dc176b2b51e6112da8bef3b8626216134c5495a8643a9452c7bd78af9a4e2bc77e9c098f8908335d4a27a918 WHIRLPOOL 52bdd5ad2cfe74976b2565963cddc6cefd51ec95fa4f6ca6cc81fe7444271e734caa0800b3cc7a425be0f7dfa47298079b10cacc5909925072935661cfc78974
+DIST rails-4.0.4.tgz 3742294 SHA256 301c7320cf2609a52c230b72f694a669637e39625bbbc42286903b1ebcbc9816 SHA512 781fc5b19ff20da39793ee99761db476de30d55c6b82af040a8f6c69ee608780c14fb91047cd5dbc1d0ba44d2f1b3e862de45210a2373d98fc9bd2beb526e282 WHIRLPOOL 9535db2609e56e0c161beaf50e798334b6619ffc90c09b7dd54cd7b1e0a04b7095d8a21da99a4c6978390f09f1a43341e9e810d13e0eeb2ee54dfaf04f07a139
EBUILD railties-3.2.16.ebuild 2091 SHA256 b2eafe8fad3f3a57fdaed2249cdcd283d5bb4269ed6df74e2230cb7db1db42da SHA512 d6d41a443375aa456eac56584cfdda25fea2077018af070d01075a0af5e4eb5f6c7174f0fbb904b07a2d541506fd099f87ddd1d9b982183244b817264817439e WHIRLPOOL 9bac9646d1cd34e73f896b9a26c9f456d9498fe9725701401d7b9aacccd31d0f33226af10427bfcb478e9399cb27f896ee508d6f244674f6cc2c9c107e3e44c8
EBUILD railties-3.2.17.ebuild 2091 SHA256 9da8e23f10049aacba6a89072c5ae61ae13a826f459446a09cca0415ce4107af SHA512 1ff7c358d448b5f3c922abcfb2d2584339f228a647442a2c70f5db7cf7fa39a8dad80243c7b0024a74c3a876055ef3a7a8ee6a2aef189f0be428b3ef05d30429 WHIRLPOOL bd18a850bf4e9b3fbdce55ed6e079f1526d339dde0e0643315fabccd9baa29ce597b5d29d840dd1aa19eaee7c5dd81035ee7f73906b5ab9381d48f8ef3e80fba
EBUILD railties-4.0.2.ebuild 1733 SHA256 0421839533220f13882d8bc880756a9856ba186c75fd3c8f2c58294c5b8540a8 SHA512 2c05d864882c7a4524e978a4f89bd6a8b0efafcc622071b593f929db68f051b788ba19d40b98b60a30fdc0e78b74e22e580b31e348f309075276c124358ef50d WHIRLPOOL 5470bedb2a5bf0decb06b245e4e44c954092377af349170fa989c7a61e5e9ca8b6b949703d31843b4a4c9b8da6b3f4f694f8dd7866798bf845e893127686f440
EBUILD railties-4.0.3.ebuild 1733 SHA256 b41a56cf6df1317fcfd2ceec13ad1a8f39f92887ed86adbb951456c6e84bf29a SHA512 fc766432af7340e68559ddb7d4f8fa8532e9432a572db6924b518b6e76fb798d51011c1ed6a9ceb3494450261719196a9e8c2d2a33ab5855edac2d5dc07927d7 WHIRLPOOL 9fe9c7c32e03907253baa321b197ea1fd70261803e5684a82d269ab4a561fea48e52fdc00dfb774ea61ffb9b56aac47f6b641f252f419d3356737ebfe1d8fee7
-MISC ChangeLog 10124 SHA256 14c8891ae8036390f4079d7d5ec9f210c65792fdeb6491ce9fead76472f05402 SHA512 7208f59bbbdd942840b3b8ca71da907dc2f08eb7867bb90589cec407a82153063c75192043ae09d4dbc33e7ebb4be5d17702668983ba13126aeda88318d801aa WHIRLPOOL 08dfb9a501a9c44315cc4457658c93cbb65a2f6cea0bea03f886ac00f131ca92c10f45cb8b30c1ef673b322a0498b4d2a897c504495314b7af10180148011e6f
+EBUILD railties-4.0.4.ebuild 1735 SHA256 39681ec01763c32c924ca5e6e4b23d3b02c899a3017c3487d99e6af2ef2cea7d SHA512 bdeea928c9d0fbbebcb9d952b6b47035fbf6f76662e36c40cb4de80eb08f5f7251224af751961a11e99fe584c3147a759dcfa9e986641ccef1ad3258ca11b517 WHIRLPOOL 2841ed741b6d3b2e0abdea86a4f770f32a96fe45b459f30df18be8ce16fa76db1a94bac640c611b5278c398dcd137a2e6b63cea152133f28a28c6259680aabc2
+MISC ChangeLog 10260 SHA256 e8e80dc8289ad5e1cee1e996563a9184e1a804cb50e6d2ee84cd65ff10fbcfa3 SHA512 c190c17ce6e9d9f19ccbf17bb54b201e9f308c7a29e1da00473edcc12d996e464dc94caf621b5a6f48b5d9c9952fb957600724d792efcf6deaf856d9c013e34e WHIRLPOOL 3e62d6f5ccce7277fef6a35a31a73c6e205c453be4c080acbc9d9f7b61eee7645a8fe050d5960cb3cb7f86455d5406d57337e1416d562479ac6234901e308971
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTH2z/AAoJEGVpnaTzz9K96WUQAMJAYEBh5Xn3zKuAigkSpirL
-sbLEC6FvkUQzpMyvT5cQC39ssewsHRquqBP6qoVms6Y+64gbHKzZ/y888sjq6tif
-6L+xB4T9x7RgmeEJMyvCgGciZuToHJ1pbj4dnjaFjR73w+YioPY4SyZ3EbZoeWDj
-z87DgqUxjz9vKLxzJurHptC8DbuG4pEpbqnrlGqJhpRPVFnzMb55wrI+9ZyquZg7
-dYotRBxGA1UOua1ez4XtoWqUG42kN0LyLJpKxs1qDDSpFZ/rg1A3p5/25nF/jg69
-5l54u9MnrZelgpyoVFpIh8PEnw8IhEoZc9Jo4QNhjc+bSzLe+LgKTDy0y8TUUXm9
-4pPgGZYSXpPw1qg7Trarsr0UkyJDjj3iEp8p6214oO8WwX2q/l052ZQzloHz3dBi
-FQRkyLW99fSQLPoyrJoCjX0GXHcpusz2O6G3hyWxjIU2gOzxR3zIqaueacLOavAB
-lORbhoSieWolH6RhfLEMphnMhrFwTpnH1dchryIjsWGcv/kRjUI9mx/YAUt+dh59
-6XFcfdAgqHMGsOabA+v5laaNUQ0eEhSqyCbTfw1USUySJ+W/fHzA9wVAjJCpst9+
-fB+C1+IOvebReGL/sEjKwlml1JTK1PtFk4u8mu5mEMaSXGz1U+xpKhdMTeEwFuoH
-87SQzMgSeMsQemjIRUug
-=Yl5U
+iF4EAREIAAYFAlM/s24ACgkQiIP6VqMIqNc4jAD9GHo0mOAVw+vJdFw5a0u2XEoU
+YaIgGFTGc45ZCao/nbkA/17fVmFDbZfWkHrGOAEiTOUjLQJbZp3aNGiuS0/g8fCN
+=zURF
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/railties/railties-4.0.4.ebuild b/dev-ruby/railties/railties-4.0.4.ebuild
new file mode 100644
index 000000000000..7a43f0a1e4fd
--- /dev/null
+++ b/dev-ruby/railties/railties-4.0.4.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/railties-4.0.4.ebuild,v 1.1 2014/04/05 07:40:29 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19"
+
+RUBY_FAKEGEM_TASK_TEST="test:regular"
+RUBY_FAKEGEM_TASK_DOC=""
+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/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+# 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.19"
+
+ruby_add_rdepend "
+ ~dev-ruby/activesupport-${PV}
+ ~dev-ruby/actionpack-${PV}
+ >=dev-ruby/thor-0.18.1
+ >=dev-ruby/rake-0.8.7"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/mocha:0.13
+ )"
+
+all_ruby_prepare() {
+ rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
+ sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
+ sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die
+
+ # Also allow rdoc 4.x
+ sed -i -e 's/~> 3.4/>= 3.4/' ${RUBY_FAKEGEM_GEMSPEC} || 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
+}