summaryrefslogtreecommitdiff
path: root/dev-ruby/activesupport
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/activesupport')
-rw-r--r--dev-ruby/activesupport/Manifest6
-rw-r--r--dev-ruby/activesupport/activesupport-5.2.4.ebuild71
-rw-r--r--dev-ruby/activesupport/activesupport-6.0.2.ebuild (renamed from dev-ruby/activesupport/activesupport-5.1.7.ebuild)28
3 files changed, 91 insertions, 14 deletions
diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest
index 151fbfb7193c..85252ead90ca 100644
--- a/dev-ruby/activesupport/Manifest
+++ b/dev-ruby/activesupport/Manifest
@@ -1,11 +1,13 @@
DIST rails-4.2.11.1.tgz 4081006 BLAKE2B 7db84961963f529a9b6c06011bb6e32b56f4beb064de31c811a092d27e93156669ade4dcceb7d8abcdba4845d42258d904f8ecaf79198af1c0e2afcb33fe3fe3 SHA512 198fa072f3f09a9893377439ddd1803effdf04a33ae7b609234464e7de9ad960439d1b80ae62e1f9b223b3173839be7233c314a72057933b43672f390d96a8df
-DIST rails-5.1.7.tgz 6146668 BLAKE2B 494a12d79037010333c06d14573474f0d0c1e62ce5252e8fbe4eb4c6935dc660614c2ff29fd168bbc66d74bfa64b92abb84d02645cb3b2950db5c166111b7b19 SHA512 6595eb19f174c9e46a937d6028d9bb2bfdcda06f35ec2a0499bc5deff05d8cfc8f8fc725e664496d3b431c8724141a1410201b57945b98ca211aea15c990d621
DIST rails-5.2.3.tgz 8802794 BLAKE2B 786f94bcd9528ffc664c39caef0e7d2d3c15da95497044504082999a435c2a877d73d40b68b5237dc07ae6cf9b8f6f99f12ae68527c5f4005b1a648038e507c0 SHA512 6a41f7564679263b4a16a245d13271b12e97a55cdd77b5ebe63bd86c3a80e4f447b4c0567a4a40ed8e97a2307522f6dad368b1beeb362136bdf1856f6dffeb60
+DIST rails-5.2.4.tgz 8822605 BLAKE2B 541332dab5acd358ba3c3ad660b25cec77050b44fba00f46bb3a6e0846ebede36cf4dc7d13f9269ba14ce4174bb81a342f0407672dc6f9372b7cc0ddd0eb66bd SHA512 bee783a0c8e24441f0fbe011392774684fa1390df837c6f85a17975ae72b8c60bea90998f36742c413eecffe125b6a606b0d920855231f910e8073fe28d44a13
DIST rails-6.0.0.tgz 18543484 BLAKE2B 614e71481a3a5ece629f49d0ef623b5352e165b5d46a736ccb747614d6c1fd56d4aaba2f2f32d48d81772cfd4db671d94a67cd3ffa395f29bf2de1f148fa57ed SHA512 3a2259fe2b3ffd0ddc9128e1aa58af57006b8410120a3629926b95fbe60b8658edab77929e26d9323c61a1855a4379e73f1ddbe875324b068a9e8bdde6ca55e6
DIST rails-6.0.1.tgz 18551750 BLAKE2B 03349639ae114b82573e5e4063600b07b24274a0f5a81021bf347c650214e0f59fbb1676b9ad580de5a2d6e4dc85cc2702511c32d11a088ef663f26d8d55041e SHA512 ad6667a958663a8d260896c6b7fd589b657383f0d4f217c9bc0e993d6eac67c32fa41d54a9edf9b1f4e01ae78826f49a862b0069d59b3c1de2b950522b3ecf10
+DIST rails-6.0.2.tgz 18555652 BLAKE2B 27b775a8e9285d9d8501fd2115b5a4a68ef0df1afe0f237c32158fc3c4fa950916b725ececda2e9cabd199a2cef4f7c0421b4fdd27e5b28952f738ab99d48097 SHA512 f394d272771ae8eeba2878c7d8eace93a7eefae95f12b34704939f3f91201633da8cb8721999eec0c9729dd72841ef026fbdb7d814d5a0f31cd1f0fd6310a872
EBUILD activesupport-4.2.11.1.ebuild 2386 BLAKE2B ae9c03406916c3f16fcd077ef49eea1f10123428af93f1b5e6739a28b1ca741e98b4572fc5643c27b7a8b3efc24bb038f2452df5ea90dc829477affc78a7b0d6 SHA512 b753886b2478c5b54a1800b47096f63ec68489dddb1ca68d72b15f192d6c8a4e345235a76395e6f5c2c3bdd662ea07ba723ac0a025103820afd308a5c9cd18e6
-EBUILD activesupport-5.1.7.ebuild 2317 BLAKE2B b3721cab2f6b57748cfd0cde85564754c360538435201bed5edea0f7fd0cea4c2c7552b0095b3b3d977552dea0a26577c9b10f3097d320382cbdc1e315613832 SHA512 26e052a3ffc4564539f83ce35c73ddb179d314475a1457d4ee1cd3f8b9bfd5aef980452d23ac7375d7f82e138c3624bbc70218d2a2d773b6d9569b6e6ace2b61
EBUILD activesupport-5.2.3.ebuild 2456 BLAKE2B 19da92a852c754b6b0ecf3bf5ac1f4e895087090c0542cae70287b115ed4c3d511f47cc3d688160fcaa419b1313cfc804a25f4efe6dddfee101ed05f5635bb07 SHA512 a7514744a6becd11541e24cb82bd59f56ebb769d3c0ac342105ce211684f7c8ab77add7bf6f1ba460015fdd1fbc4e386bba4a7a84cafa5972fa98bb7398bfaf0
+EBUILD activesupport-5.2.4.ebuild 2457 BLAKE2B 59d0cec7513fa28ee6ae807ca40e1001c7393d30f10a071b94833a753b37899dd4d3e80fc5a378a224a0c14a6f56b955656654951f8626ffe0c40b603934386f SHA512 6a176486b6ecca8071a829ce6effffd54483e86a00982dbd923d1bc65fcf1e251a1feb8c782c9e44d5eae29f39d7a0409d1f97ec35568fec12e29840b7dc23c3
EBUILD activesupport-6.0.0.ebuild 2315 BLAKE2B 798db308c9547b6ffc39eb500d9810c9182d2ba4b77e2f121f17d3d18d07d411b1c22eb58baf0106ea97932c00423c1ab8315febb69f0cfb41597612d045d800 SHA512 2a93518b371f9da9bbb3c580f715552329b3bb7c2b4312776c51677018948ac7049c9783c1a309f6c0e6a0b5123b033c029444493e1b78bf5954edae6908e6fb
EBUILD activesupport-6.0.1.ebuild 2315 BLAKE2B 798db308c9547b6ffc39eb500d9810c9182d2ba4b77e2f121f17d3d18d07d411b1c22eb58baf0106ea97932c00423c1ab8315febb69f0cfb41597612d045d800 SHA512 2a93518b371f9da9bbb3c580f715552329b3bb7c2b4312776c51677018948ac7049c9783c1a309f6c0e6a0b5123b033c029444493e1b78bf5954edae6908e6fb
+EBUILD activesupport-6.0.2.ebuild 2315 BLAKE2B 798db308c9547b6ffc39eb500d9810c9182d2ba4b77e2f121f17d3d18d07d411b1c22eb58baf0106ea97932c00423c1ab8315febb69f0cfb41597612d045d800 SHA512 2a93518b371f9da9bbb3c580f715552329b3bb7c2b4312776c51677018948ac7049c9783c1a309f6c0e6a0b5123b033c029444493e1b78bf5954edae6908e6fb
MISC metadata.xml 337 BLAKE2B f2b57aeb9ea63b3cba576df9bed58bc86577ddfb1707d3a183a8536c71c797aca25ca61b22eb50ea54368fac052518f889db0503b816767e05978c803e204351 SHA512 ad52f0a3bf101472aa80ce4b516349ac090620aba4afecde872585bf1ff11f55cffaf762df123910a16d70aaf67ef59dcbdec728816f611a2d5bde90d2b6d09f
diff --git a/dev-ruby/activesupport/activesupport-5.2.4.ebuild b/dev-ruby/activesupport/activesupport-5.2.4.ebuild
new file mode 100644
index 000000000000..de529116b464
--- /dev/null
+++ b/dev-ruby/activesupport/activesupport-5.2.4.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem eapi7-ver
+
+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="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-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/concurrent-ruby-1.0.2:1
+ dev-ruby/i18n:1
+ >=dev-ruby/tzinfo-1.1:1
+ >=dev-ruby/minitest-5.1:5"
+
+# 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/listen-3.0.5:3
+ dev-ruby/rack
+ dev-ruby/mocha
+ )"
+
+all_ruby_prepare() {
+ # Set the secure permissions that tests expect.
+ chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
+
+ # 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\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/ s:^:#:" \
+ -e '/:job/,/end/ s:^:#:' \
+ -e '/group :doc/,/^end/ s:^:#:' \
+ -e 's/gemspec/gemspec path: "activesupport"/' \
+ -e '5igem "builder"; gem "rack"' ../Gemfile || die
+ rm ../Gemfile.lock || die
+
+ # Avoid test that depends on timezone
+ sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
+
+ # Avoid tests that seem to trigger race conditions.
+ rm -f test/evented_file_update_checker_test.rb || die
+
+ # Avoid test that generates filename that is too long
+ sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
+
+ # Avoid tests requiring a live redis running
+ rm -f test/cache/stores/redis_cache_store_test.rb || die
+ sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
+}
diff --git a/dev-ruby/activesupport/activesupport-5.1.7.ebuild b/dev-ruby/activesupport/activesupport-6.0.2.ebuild
index bd6e7295a375..f79f36b8dc73 100644
--- a/dev-ruby/activesupport/activesupport-5.1.7.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.0.2.ebuild
@@ -1,11 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-USE_RUBY="ruby23 ruby24 ruby25"
-
-RUBY_FAKEGEM_TASK_DOC=""
+USE_RUBY="ruby25 ruby26"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
@@ -13,24 +11,26 @@ RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
RUBY_FAKEGEM_BINWRAP=""
-inherit ruby-fakegem versionator
+inherit ruby-fakegem
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 ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE=""
RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
- >=dev-ruby/i18n-0.7:* =dev-ruby/i18n-0*:*
+ dev-ruby/i18n:1
>=dev-ruby/tzinfo-1.1:1
- >=dev-ruby/minitest-5.1:5"
+ >=dev-ruby/minitest-5.1:5
+ >=dev-ruby/zeitwerk-2.1.8:2
+"
# memcache-client, nokogiri, and builder are not strictly
# needed, but there are tests using this code.
@@ -40,7 +40,7 @@ ruby_add_bdepend "test? (
>=dev-ruby/builder-3.1.0
>=dev-ruby/listen-3.0.5:3
dev-ruby/rack
- dev-ruby/mocha:0.14
+ dev-ruby/mocha
)"
all_ruby_prepare() {
@@ -49,7 +49,7 @@ 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\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|sqlite\)/ s:^:#:" \
+ sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/ s:^:#:" \
-e '/:job/,/end/ s:^:#:' \
-e '/group :doc/,/^end/ s:^:#:' \
-e 's/gemspec/gemspec path: "activesupport"/' \
@@ -63,5 +63,9 @@ all_ruby_prepare() {
rm -f test/evented_file_update_checker_test.rb || die
# Avoid test that generates filename that is too long
- sed -i -e '/test_filename_max_size/askip "gentoo"' test/caching_test.rb || die
+ sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
+
+ # Avoid tests requiring a live redis running
+ rm -f test/cache/stores/redis_cache_store_test.rb || die
+ sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
}