diff options
author | Hans de Graaff <graaff@gentoo.org> | 2014-10-31 08:58:54 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2014-10-31 08:58:54 +0000 |
commit | 0170e65419ee495407b3e1ce7e7927ee931b8df3 (patch) | |
tree | 85e89f9f29a91c3952792a159ab115e54311bffe /dev-ruby/activesupport | |
parent | Move to ~ppc, bug #525258 (diff) | |
download | historical-0170e65419ee495407b3e1ce7e7927ee931b8df3.tar.gz historical-0170e65419ee495407b3e1ce7e7927ee931b8df3.tar.bz2 historical-0170e65419ee495407b3e1ce7e7927ee931b8df3.zip |
Version bump for security issue CVE-2014-7818.
Package-Manager: portage-2.2.8-r2/cvs/Linux x86_64
Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/activesupport')
-rw-r--r-- | dev-ruby/activesupport/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/activesupport/Manifest | 14 | ||||
-rw-r--r-- | dev-ruby/activesupport/activesupport-3.2.20.ebuild | 71 | ||||
-rw-r--r-- | dev-ruby/activesupport/activesupport-4.0.11.ebuild | 61 | ||||
-rw-r--r-- | dev-ruby/activesupport/activesupport-4.1.7.ebuild | 61 |
5 files changed, 212 insertions, 5 deletions
diff --git a/dev-ruby/activesupport/ChangeLog b/dev-ruby/activesupport/ChangeLog index ba9444664128..e4b95861882c 100644 --- a/dev-ruby/activesupport/ChangeLog +++ b/dev-ruby/activesupport/ChangeLog @@ -1,6 +1,14 @@ # 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.270 2014/09/12 06:27:00 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v 1.271 2014/10/31 08:55:50 graaff Exp $ + +*activesupport-4.1.7 (31 Oct 2014) +*activesupport-4.0.11 (31 Oct 2014) +*activesupport-3.2.20 (31 Oct 2014) + + 31 Oct 2014; Hans de Graaff <graaff@gentoo.org> +activesupport-3.2.20.ebuild, + +activesupport-4.0.11.ebuild, +activesupport-4.1.7.ebuild: + Version bump for security issue CVE-2014-7818. *activesupport-4.1.6 (12 Sep 2014) diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest index 03ab2e891a55..96998aad0ba7 100644 --- a/dev-ruby/activesupport/Manifest +++ b/dev-ruby/activesupport/Manifest @@ -7,21 +7,27 @@ AUX activesupport-2.3.16-unvendorize.patch 2382 SHA256 fda4f0aecd104d7516b8c6b0d AUX activesupport-2.3.5-mocha-0.9.5.patch 1031 SHA256 238be71abfb03ca232d5c80c480da4e8f1ed8f8da6cfd89f7a64513b82cfd811 SHA512 3f98d2c18b7b2cf4cc03c425191201d6e59d83537bf01fbc09c35bfadaf45f05a24f694033edc3a30dab9b02eb865c3ba26f7e376e80d6ed1cbe14fc3c73f8a0 WHIRLPOOL 97e2622840b264bdda41c4ccc50315ff4dafafdaa422acf86e77f02bf5589155b2a7bd55a0a9886b0a8671932fa230d6bb76da07709e02509ce37b3c108964fa AUX activesupport-3.0.3-mocha-0.9.5.patch 666 SHA256 61e62f5794f9291f3ad8315d5ce0379c25d491311fd30fb06d35f618ece61a5f SHA512 a2d986bdfd7f4376264af1995626d46abf4331fcd64d081bc6c9480e9dae8f4700a2ca6a995a922846c20bf64660fed2e39a7df537240701d0324be4faeaec32 WHIRLPOOL 5ed28791b7dec003a53e6a5a6454d86196b2201b7b3caa32b9971bf05dca59d8ab36b48cf0be604801d1bbc29f204e90b5d77f026aef9c412ad980ce257867db DIST rails-3.2.19.tgz 3567409 SHA256 41d63edbdb0cd880a80ac806b1e1c903efad40f5ea64e99e19ecc98b134dba41 SHA512 4e75777f292ac329c893d13f7632ff7ab9cd3c953eaca6bfc90f6371821ae5f95a6dbcb00f76e202fc256c1da0be641fa804a4f589805521be0a1736331e41ba WHIRLPOOL 8e5a4cd46cdc97587bfab2dcf392625e5832265171a1951409323d9ed9f9896c986a81e90e5b570c008125d042090400afb963d12a029237a5e69895ddcbf207 +DIST rails-3.2.20.tgz 3567367 SHA256 373e66ad1ea7af66504e676b0925806a20532673e2d9da7fa0131aa0559dad5c SHA512 2f39d14c1543e203a6e182528967bfa00d08a29872fd233022e2c3bd6e1a1d4cac754016258c1d7f5f821942e83d5c0f4df39a8c4fa4d5d7ba135f79bcda26a3 WHIRLPOOL e011cccc18a74ed924368077a90e43b14824e460f0d05fbe4c1a4a3092df2fb63808c148190b0f4920bf60ea94fd1be5f56f0d628e8afaf431fb9ba702fa6f71 DIST rails-4.0.10.tgz 3759373 SHA256 97d10ff2b7ed776742a2f7c076cfaa62ac1922e9378a03a99c79064c4b0ff82e SHA512 61bf602ed38ebe27d8c821b3edb297e485c15c32265a86c19a6b50f929b561f7fd0551772afcb8bec86713375f96471d9a115c535e1edffd386638bb53f0b696 WHIRLPOOL 4228cdb02bab116e733d6335d1a1d1192229efa8f1d20d91bd8d194c5fc5f5a6d21972efe32c1015b2b9fa898b5d787bb6f3f4160ef4dc9523bd91190ac1dd22 +DIST rails-4.0.11.tgz 3759423 SHA256 cb44b605bc0e6477c9cf389f9c6a8274de10de6a98f979a53ef8505b7eed9e33 SHA512 a38eee261aa76070417ea248ac8f79536f19a75e5ee4bf16ae59f1eff5a9c751b033257a5cdbd1cfdcd80796142ef2ea1f8b2be5cc73604e96759fe2979f9b41 WHIRLPOOL e4b52b5f3d3ddae13ce4aefa1f5890813370de7874e8c5edce1e4f1df32704782babe52013dfa96cf4e60327429602f7b9534af2c19a9ef269d179186a8e1b62 DIST rails-4.0.9.tgz 3755070 SHA256 cd9d1fc5e24ad6d5312c1d43954cf3a03128158541ce06b763e8e004dd39f9c2 SHA512 b41162cdc26253b43142fa628475996652ddadb571956588bf8e869a56e31f116cb89d514ad23f7b8cb4c2820a043ead476a8cee4a289d3b8bc164b71d38c67e WHIRLPOOL 9559a6bc01b409a5d48b8f19be5aa20b02f1dd8bf15a75277a0dfe88d2dc766804bc8d92211a385c2b15d32d8a174790ccf98158c8bef92c1d05c3cc41c324e7 DIST rails-4.1.5.tgz 3698902 SHA256 e11a06f8e2d442540c96bacd6d185b4a46d33801c699ddbc42066708c4198ad4 SHA512 37d9bb6bd67edafbec72167a30b0e82aad3fbeb33f492a58367214a68a05f659423f508df23bbecc9d4a4477ee3e7ee03772d985cb86e9c85fb5f358d4fb00ba WHIRLPOOL ca5cab98837fde771b96bcb4317427faec7d984bf0ad8a249a4087c4552bcf9100d39faa81fc2b9b5781c0d2a0b6175ed13dc1b14f8a2c07f8af8255e590859b DIST rails-4.1.6.tgz 3707083 SHA256 cb7263c0eefc4f93b01570172b54d9bbdc8699297ca12a13b3aef89bb26e93a7 SHA512 3fdbd7081f9a1afa889d010a2ab971a1b0428d100ebfe7eff781a3eeb0a42fcf4c41e57024edc1706a1562c298ecb3f4e6029f68bc28667a7f3256bc8dd58093 WHIRLPOOL 784f07965997c285fda878d953835a6defd171bd138cf380df7d2ad70bfcabe6c02bd901f049c3b700194f5f252a6978d155d6f2513592244bcd941d187b6326 +DIST rails-4.1.7.tgz 3708137 SHA256 c57a1bf954c4725649b9d11f893c3f6c81de77b36d7f8065d5d0a87fb7cf18e1 SHA512 6fd29ba7b552ec29225ebcb7df78d6043383f36e4c6b1e66880b0bae69bd9f9ae36b1bc63700a8e491818b495087944c990d34d33b6ee566182e2f38370ac0d0 WHIRLPOOL 0a53c4936a9792cebb98b997cafad30f895a908c169d9e8a8d370e3da55a2ba17d594b03e2dbf6a6181fafddc75697d50b0f0e57f44868ac00b4deceda03d5af EBUILD activesupport-3.2.19.ebuild 2343 SHA256 f15ee6012bb7864f7627076e84e197f0929464984ead06f070f6517818ad609a SHA512 8b9da03de4773a1764d7dc83096e980371924f5b18048ee3d7165595ad448403d337b749e3fa7a0c9e8b38314cd055344a91c2c7c69656b221df47689c7972fd WHIRLPOOL ee3d9d15b3efeb048dd35c018b05e4119ba86c91555384828c1832c17fda34cd85b776493aca37bdaa3490a8d20ed940e6382de2789b5182652f0372b3ad52b1 +EBUILD activesupport-3.2.20.ebuild 2344 SHA256 be373aff3d1658e8fef92ab030e9f1e406cf1298dd976ff0d63b5afb80bb12d4 SHA512 f10ff84597a0c1dd9156d7915026c88abcba4fedbf372e947ef9b26ccf12dfddb50c2ecb487723922ea9a0158cbe70011d9a9e3261fc49382a254f1545d8acc1 WHIRLPOOL befc2f5a1ddad8e277539ad1ee32a176171262ccc752c17b5ae7eca79e3d2d9ee4dfee564ce3cb5376092a6133f8626e4a38d1e144ff81bc6a933a1ae6f1b800 EBUILD activesupport-4.0.10.ebuild 1791 SHA256 06b6d5148424deb0a9853b10aee6411d91f29c799358a715683d82ae1b8aa692 SHA512 12352e07077955e713a8dd44551d5dffa93a2cc41b1262d874eee21e403062d58ae1343db63f2c912900965b59044c33d1fe083d12906a8d50c71f4b159fed7f WHIRLPOOL e1876447add29d71b38c51b63d3cd8f7945c28a105cd2a9bd6704640b96e41262be4dfbffb7bdfb6ed6ab557cca75b12fa7d3e1665bc1c75d129e38d83c140fb +EBUILD activesupport-4.0.11.ebuild 1896 SHA256 ffa1738b298f2f7202ef9b0226b9e0f2f8b1ed48049a4c6b5d4015bd12098e78 SHA512 fb544fcc1748e4185f54bd4396af3f89bd215a43970cecc54c19789495a3112ed40474767ca1cfb573894fe37a8a75cfe2beb3aefbbb53a3e896f5d805fe2ade WHIRLPOOL c2eda26a6a02e5ca8630a4ff46bf49c8e1a12841877391190ebffb306bca39deabe6a43f851e88479d290e9d545f3ced9efa12c368459588617fd2f5bd340c55 EBUILD activesupport-4.0.9.ebuild 1790 SHA256 a8d3e47d93a9f17e8935e92a7864e72d969802c0b9a0e276f913542ee3421e86 SHA512 9e2a4c0dafd265959eb9a7bd6723cfded625b410578e57ba1ddc031f6fd1776fe285e388ee0706a3cc884f5c876dd956d17e6cf27974832cec1c7423992890bc WHIRLPOOL c76fe83e69b9aa96306dc8737335db7c704599db0da09b34bb560a4773c5a42fd4c6802b978de124dffe484fdc5aa7c903db9e133938b43c7777b6efb679ec75 EBUILD activesupport-4.1.5.ebuild 1518 SHA256 f658e00648f8b61e035afe46fe07767a6165ea44607920981f2a30e11e1f615d SHA512 0bcc54bef7606658b2d61cf9da7763054c4f2b2b11793b53e8959699a25b470968b141f3e8d0813eb1141b8fea90533785a39bac936a29075d3b2210d8f01a3d WHIRLPOOL 0db47d0a23d93155c36865ea822beb81fd76d57807796b09dbdd308c2dcfe2dbd620635d74e74446db587399ec66a7907589dbebb1965e39dbde016198b5e052 EBUILD activesupport-4.1.6.ebuild 1518 SHA256 b1adf85f3b344f260370ee74e0447e1fee74fea4845f819c24df3ce360ad28e7 SHA512 65068ba248e65aeb8a0920ff6c0ffa3c6ade649d445366a5f01c07e31750ffed19dbe5387aa03a0716071f1e457579f657f9bff023626886021a530d36983f76 WHIRLPOOL 19b37941ed3d6a6fc35ddbfa85501a4162f22f9ee65352c61bb01d2e9c7906692bc959aeb95fc6c6bcbdc4bfaa34703ad2a86327c9fa74fea226621cbb143b3a -MISC ChangeLog 38808 SHA256 d5a989bca9f62529918ef32c6e5599037486a343ab461316ab893dae1bbc4874 SHA512 292c6e961d2775f3d199594db3b13a5aa5a22516e82f51801ae73c4e6dc2b6fc93593907d4f5d7be489aab9e0581d074b7c3093c01903805965d39df1ac06adf WHIRLPOOL a9e6baf50babc7ed481fcf01e47561b6920d0a49e7d895bcb50d5854e6c7e9526f990ebc6550f837d3b54fd41e8829aa9a0cd0ada1013ac986503e896420558b +EBUILD activesupport-4.1.7.ebuild 1891 SHA256 a41526cf946d09a03de2502087b79eda20b33b0fea130318b799d0f5c9987ff8 SHA512 097ea3be9754cbae4f978da78da02eabe6357e40286db89af5fbbb68a77bfe4d3f4d0a184872d0af2eeac04cc33490b21e69a10ee5e8d5e4484b9e02debe4d45 WHIRLPOOL 4221ca028f5ce9965fe52d2140237b213e155509407ef4ea812a3d961cb47abe291bfbb48c8a04e2cee5a7fa62105f0234a83ddbe94027016553a9223f92ea32 +MISC ChangeLog 39107 SHA256 4b90b884a946ef910f58499e811aa6877ba83f2f09fc373750b13d80382ccc89 SHA512 a78e4a4839c7b0a60054b860e550a75838b55f474b2156983fb440361a7408ad86c3620a13494750c0200fdee004f86f1424e9a0311c9cde93c402acf0e15299 WHIRLPOOL 96301582c8668393e85a9a14d27dc14510efba99abf5c55ccbbd11cad419fcf92ab42aa61c8ebf0363ec05679dda904a25c49d8ee128e6175e8ca1b1c68fd70a MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iF4EAREIAAYFAlQSkjUACgkQiIP6VqMIqNdiyAD/d0ADXN7P2tOq7iZO4a4N3jn5 -agAX7Aq9xVkcJMhI3mwA/3uSxx8OWm/OpjsPU5kbpgnAIVsOkM5y5qxZEbaSLCpJ -=Q3iW +iF4EAREIAAYFAlRTTp0ACgkQiIP6VqMIqNcJEwEAlQQXT6d+sVCK89wupjvFLYa0 +OzI/O3MJVqguMFWUOG4A/1BsdJ5GKE/9JqzpdmYFk6bYq6G7RrpmIiuY6soOU4Yy +=kxxD -----END PGP SIGNATURE----- diff --git a/dev-ruby/activesupport/activesupport-3.2.20.ebuild b/dev-ruby/activesupport/activesupport-3.2.20.ebuild new file mode 100644 index 000000000000..69fb12cc164b --- /dev/null +++ b/dev-ruby/activesupport/activesupport-3.2.20.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/activesupport/activesupport-3.2.20.ebuild,v 1.1 2014/10/31 08:55:50 graaff Exp $ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21 jruby" + +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 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + >=dev-ruby/multi_json-1.0 + >=dev-ruby/i18n-0.6.4:0.6 + !!<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/test-unit:2 + >=dev-ruby/memcache-client-1.5.8 + dev-ruby/nokogiri + >=dev-ruby/builder-3.0.3:3 + >=dev-ruby/tzinfo-0.3.29 + )" + +# libxml is not strictly needed, there are tests using this code. jruby +# uses a different xml implementation. +USE_RUBY=${USE_RUBY/jruby/} ruby_add_bdepend "test? ( >=dev-ruby/libxml-2.0.0 )" + +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 +} + +each_ruby_prepare() { + case ${RUBY} in + *jruby) + # Ignore failing tests on jruby in the interest of a security update + sed -i -e '/test_not_allowed_to_expand_parameter_entities_to_files/,/^ end/ s:^:#:' \ + -e '/test_exception_thrown_on_expansion_attack/,/^ end/ s:^:#:' \ + test/xml_mini/jdom_engine_test.rb || die + sed -i \ + -e '/test_exception_thrown_on_expansion_attack/,/^ end/ s:^:#:' \ + test/xml_mini/nokogiri_engine_test.rb || die + ;; + esac +} diff --git a/dev-ruby/activesupport/activesupport-4.0.11.ebuild b/dev-ruby/activesupport/activesupport-4.0.11.ebuild new file mode 100644 index 000000000000..a93849c4d2bd --- /dev/null +++ b/dev-ruby/activesupport/activesupport-4.0.11.ebuild @@ -0,0 +1,61 @@ +# 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.11.ebuild,v 1.1 2014/10/31 08:55:50 graaff Exp $ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21" + +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="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 ~hppa ~ppc ~ppc64 ~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 + + # Avoid test that seems to be broken by lack of DST. + sed -i -e '324 s:^:#:' test/core_ext/string_ext_test.rb || die +} diff --git a/dev-ruby/activesupport/activesupport-4.1.7.ebuild b/dev-ruby/activesupport/activesupport-4.1.7.ebuild new file mode 100644 index 000000000000..f866d391a46c --- /dev/null +++ b/dev-ruby/activesupport/activesupport-4.1.7.ebuild @@ -0,0 +1,61 @@ +# 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.1.7.ebuild,v 1.1 2014/10/31 08:55:50 graaff Exp $ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21" + +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="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + >=dev-ruby/i18n-0.6.9:0.6 + >=dev-ruby/json-1.7.7:0 + >=dev-ruby/tzinfo-1.1:1 + >=dev-ruby/minitest-5.1:5 + >=dev-ruby/thread_safe-0.1: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" + + # Avoid test that seems to be broken by lack of DST. + sed -i -e '369 s:^:#:' test/core_ext/string_ext_test.rb || die + + # Avoid test that fails with Minitest 5.4 since that already defines + # a string E in its TestCase. + rm test/core_ext/marshal_test.rb || die + sed -i -e '/test_const_missing_in_anonymous_modules/askip "gentoo minitest"' test/dependencies_test.rb || die +} |