summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/actionpack/actionpack-6.0.5.1.ebuild4
-rw-r--r--dev-ruby/actionpack/actionpack-6.0.6.1.ebuild2
-rw-r--r--dev-ruby/actionpack/actionpack-6.1.6.1.ebuild4
-rw-r--r--dev-ruby/actionpack/actionpack-6.1.7.2.ebuild2
-rw-r--r--dev-ruby/actionpack/actionpack-6.1.7.3.ebuild2
-rw-r--r--dev-ruby/actionpack/actionpack-6.1.7.ebuild4
-rw-r--r--dev-ruby/actionpack/actionpack-7.0.4.2.ebuild2
-rw-r--r--dev-ruby/actionpack/actionpack-7.0.4.3-r1.ebuild68
-rw-r--r--dev-ruby/actionpack/actionpack-7.0.4.3.ebuild2
-rw-r--r--dev-ruby/actionpack/actionpack-7.0.4.ebuild2
-rw-r--r--dev-ruby/actionview/actionview-6.0.5.1.ebuild4
-rw-r--r--dev-ruby/actionview/actionview-6.0.6.1.ebuild2
-rw-r--r--dev-ruby/actionview/actionview-6.1.6.1.ebuild4
-rw-r--r--dev-ruby/actionview/actionview-6.1.7.2.ebuild2
-rw-r--r--dev-ruby/actionview/actionview-6.1.7.3.ebuild2
-rw-r--r--dev-ruby/actionview/actionview-6.1.7.ebuild4
-rw-r--r--dev-ruby/actionview/actionview-7.0.4.2.ebuild2
-rw-r--r--dev-ruby/actionview/actionview-7.0.4.3-r1.ebuild68
-rw-r--r--dev-ruby/actionview/actionview-7.0.4.3.ebuild2
-rw-r--r--dev-ruby/actionview/actionview-7.0.4.ebuild2
-rw-r--r--dev-ruby/activejob/activejob-7.0.4.3-r1.ebuild48
-rw-r--r--dev-ruby/activemodel/activemodel-6.0.5.1.ebuild4
-rw-r--r--dev-ruby/activemodel/activemodel-6.0.6.1.ebuild2
-rw-r--r--dev-ruby/activemodel/activemodel-6.1.6.1.ebuild4
-rw-r--r--dev-ruby/activemodel/activemodel-6.1.7.2.ebuild2
-rw-r--r--dev-ruby/activemodel/activemodel-6.1.7.3.ebuild2
-rw-r--r--dev-ruby/activemodel/activemodel-6.1.7.ebuild4
-rw-r--r--dev-ruby/activemodel/activemodel-7.0.4.2.ebuild2
-rw-r--r--dev-ruby/activemodel/activemodel-7.0.4.3-r1.ebuild43
-rw-r--r--dev-ruby/activemodel/activemodel-7.0.4.3.ebuild2
-rw-r--r--dev-ruby/activemodel/activemodel-7.0.4.ebuild2
-rw-r--r--dev-ruby/activerecord/activerecord-6.0.5.1.ebuild4
-rw-r--r--dev-ruby/activerecord/activerecord-6.0.6.1.ebuild2
-rw-r--r--dev-ruby/activerecord/activerecord-6.1.6.1.ebuild4
-rw-r--r--dev-ruby/activerecord/activerecord-6.1.7.2.ebuild2
-rw-r--r--dev-ruby/activerecord/activerecord-6.1.7.3.ebuild2
-rw-r--r--dev-ruby/activerecord/activerecord-6.1.7.ebuild4
-rw-r--r--dev-ruby/activerecord/activerecord-7.0.4.2.ebuild2
-rw-r--r--dev-ruby/activerecord/activerecord-7.0.4.3-r1.ebuild87
-rw-r--r--dev-ruby/activerecord/activerecord-7.0.4.3.ebuild2
-rw-r--r--dev-ruby/activerecord/activerecord-7.0.4.ebuild2
-rw-r--r--dev-ruby/activestorage/activestorage-7.0.4.2.ebuild2
-rw-r--r--dev-ruby/activestorage/activestorage-7.0.4.3-r1.ebuild67
-rw-r--r--dev-ruby/activestorage/activestorage-7.0.4.3.ebuild4
-rw-r--r--dev-ruby/activestorage/activestorage-7.0.4.ebuild2
-rw-r--r--dev-ruby/activesupport/activesupport-6.0.5.1-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-6.0.5.1.ebuild)7
-rw-r--r--dev-ruby/activesupport/activesupport-6.0.6.1-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-6.0.6.1.ebuild)7
-rw-r--r--dev-ruby/activesupport/activesupport-6.1.6.1-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-6.1.6.1.ebuild)7
-rw-r--r--dev-ruby/activesupport/activesupport-6.1.7-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-6.1.7.3.ebuild)5
-rw-r--r--dev-ruby/activesupport/activesupport-6.1.7.2-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-6.1.7.2.ebuild)7
-rw-r--r--dev-ruby/activesupport/activesupport-6.1.7.3-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-6.1.7.ebuild)13
-rw-r--r--dev-ruby/activesupport/activesupport-7.0.4-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-7.0.4.2.ebuild)5
-rw-r--r--dev-ruby/activesupport/activesupport-7.0.4.2-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-7.0.4.ebuild)7
-rw-r--r--dev-ruby/activesupport/activesupport-7.0.4.3-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-7.0.4.3.ebuild)5
-rw-r--r--dev-ruby/activesupport/files/activesupport-6.1.7.3-ruby-thread-noise.patch41
-rw-r--r--dev-ruby/addressable/Manifest1
-rw-r--r--dev-ruby/addressable/addressable-2.8.3.ebuild42
-rw-r--r--dev-ruby/airbrussh/airbrussh-1.4.1.ebuild2
-rw-r--r--dev-ruby/async-container/async-container-0.16.12-r1.ebuild2
-rw-r--r--dev-ruby/async-io/async-io-1.34.3-r1.ebuild2
-rw-r--r--dev-ruby/async-process/async-process-1.3.1.ebuild2
-rw-r--r--dev-ruby/async-rspec/async-rspec-1.16.1-r1.ebuild2
-rw-r--r--dev-ruby/async/async-2.5.0.ebuild2
-rw-r--r--dev-ruby/capistrano/capistrano-3.17.2.ebuild2
-rw-r--r--dev-ruby/capybara/Manifest1
-rw-r--r--dev-ruby/capybara/capybara-3.39.0-r1.ebuild61
-rw-r--r--dev-ruby/capybara/capybara-3.39.0.ebuild61
-rw-r--r--dev-ruby/coffee-script-source/coffee-script-source-1.12.2-r1.ebuild4
-rw-r--r--dev-ruby/coffee-script/coffee-script-2.4.1.ebuild4
-rw-r--r--dev-ruby/combustion/combustion-1.3.7-r2.ebuild2
-rw-r--r--dev-ruby/curb/curb-1.0.5.ebuild2
-rw-r--r--dev-ruby/fast_gettext/fast_gettext-2.2.0.ebuild2
-rw-r--r--dev-ruby/font-awesome-rails/font-awesome-rails-4.7.0.8.ebuild4
-rw-r--r--dev-ruby/globalid/globalid-1.1.0-r1.ebuild29
-rw-r--r--dev-ruby/haml-rails/haml-rails-2.0.1-r1.ebuild6
-rw-r--r--dev-ruby/haml/haml-6.1.1-r1.ebuild59
-rw-r--r--dev-ruby/haml/haml-6.1.1.ebuild2
-rw-r--r--dev-ruby/hashie/hashie-5.0.0.ebuild4
-rw-r--r--dev-ruby/hiera/hiera-3.12.0.ebuild2
-rw-r--r--dev-ruby/http-accept/http-accept-2.2.0.ebuild4
-rw-r--r--dev-ruby/jquery-rails/Manifest2
-rw-r--r--dev-ruby/jquery-rails/jquery-rails-4.4.0-r1.ebuild34
-rw-r--r--dev-ruby/jquery-rails/jquery-rails-4.5.0.ebuild34
-rw-r--r--dev-ruby/jquery-ui-rails/jquery-ui-rails-6.0.1-r2.ebuild6
-rw-r--r--dev-ruby/kpeg/kpeg-1.3.3.ebuild2
-rw-r--r--dev-ruby/localhost/localhost-1.1.10.ebuild2
-rw-r--r--dev-ruby/marcel/marcel-1.0.2.ebuild10
-rw-r--r--dev-ruby/maxitest/maxitest-3.7.0-r1.ebuild (renamed from dev-ruby/maxitest/maxitest-3.7.0.ebuild)4
-rw-r--r--dev-ruby/maxitest/maxitest-4.3.0-r1.ebuild (renamed from dev-ruby/maxitest/maxitest-4.4.0.ebuild)2
-rw-r--r--dev-ruby/maxitest/maxitest-4.4.0-r1.ebuild (renamed from dev-ruby/maxitest/maxitest-4.3.0.ebuild)4
-rw-r--r--dev-ruby/maxitest/maxitest-4.4.1-r1.ebuild (renamed from dev-ruby/maxitest/maxitest-4.4.1.ebuild)2
-rw-r--r--dev-ruby/mechanize/mechanize-2.8.5.ebuild4
-rw-r--r--dev-ruby/minitest/minitest-5.15.0-r1.ebuild (renamed from dev-ruby/minitest/minitest-5.15.0.ebuild)6
-rw-r--r--dev-ruby/minitest/minitest-5.18.0.ebuild2
-rw-r--r--dev-ruby/mocha/mocha-0.14.0-r1.ebuild10
-rw-r--r--dev-ruby/mocha/mocha-2.0.2.ebuild2
-rw-r--r--dev-ruby/moneta/Manifest1
-rw-r--r--dev-ruby/moneta/moneta-1.6.0.ebuild31
-rw-r--r--dev-ruby/multi_test/multi_test-1.1.0.ebuild2
-rw-r--r--dev-ruby/mustermann/mustermann-3.0.0.ebuild6
-rw-r--r--dev-ruby/mysql2/mysql2-0.5.5.ebuild105
-rw-r--r--dev-ruby/net-http-digest_auth/net-http-digest_auth-1.4.1-r2.ebuild24
-rw-r--r--dev-ruby/net-ssh/net-ssh-7.0.1.ebuild2
-rw-r--r--dev-ruby/oauth2/Manifest1
-rw-r--r--dev-ruby/oauth2/oauth2-1.4.7.ebuild55
-rw-r--r--dev-ruby/power_assert/power_assert-2.0.3.ebuild2
-rw-r--r--dev-ruby/public_suffix/public_suffix-5.0.1.ebuild2
-rw-r--r--dev-ruby/rack-protection/rack-protection-3.0.5.ebuild4
-rw-r--r--dev-ruby/railties/railties-7.0.4.3-r1.ebuild72
-rw-r--r--dev-ruby/ruby2_keywords/ruby2_keywords-0.0.5-r1.ebuild2
-rw-r--r--dev-ruby/ruby2_keywords/ruby2_keywords-0.0.5.ebuild2
-rw-r--r--dev-ruby/sass/files/sass-3.7.4-use-listen-not-sass-listen.patch14
-rw-r--r--dev-ruby/sass/sass-3.7.4-r2.ebuild60
-rw-r--r--dev-ruby/selenium-webdriver/selenium-webdriver-4.1.0.ebuild2
-rw-r--r--dev-ruby/sinatra/sinatra-3.0.5-r1.ebuild52
-rw-r--r--dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r2.ebuild43
-rw-r--r--dev-ruby/sprockets/sprockets-4.2.0-r1.ebuild (renamed from dev-ruby/sprockets/sprockets-4.2.0.ebuild)6
-rw-r--r--dev-ruby/sshkit/sshkit-1.21.4.ebuild2
-rw-r--r--dev-ruby/sus-fixtures-async/sus-fixtures-async-0.1.1.ebuild2
-rw-r--r--dev-ruby/webrick/webrick-1.8.1.ebuild5
120 files changed, 1241 insertions, 275 deletions
diff --git a/dev-ruby/actionpack/actionpack-6.0.5.1.ebuild b/dev-ruby/actionpack/actionpack-6.0.5.1.ebuild
index 59b9a7e5523e..4ac5d7f40c10 100644
--- a/dev-ruby/actionpack/actionpack-6.0.5.1.ebuild
+++ b/dev-ruby/actionpack/actionpack-6.0.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -44,7 +44,7 @@ ruby_add_bdepend "
~dev-ruby/railties-${PV}
>=dev-ruby/rack-cache-1.2:1.2
www-servers/puma
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionpack/actionpack-6.0.6.1.ebuild b/dev-ruby/actionpack/actionpack-6.0.6.1.ebuild
index 7f6f3fbba289..7827da088d1d 100644
--- a/dev-ruby/actionpack/actionpack-6.0.6.1.ebuild
+++ b/dev-ruby/actionpack/actionpack-6.0.6.1.ebuild
@@ -44,7 +44,7 @@ ruby_add_bdepend "
~dev-ruby/railties-${PV}
>=dev-ruby/rack-cache-1.2:1.2
www-servers/puma
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionpack/actionpack-6.1.6.1.ebuild b/dev-ruby/actionpack/actionpack-6.1.6.1.ebuild
index cc80448401c2..021c13b8e895 100644
--- a/dev-ruby/actionpack/actionpack-6.1.6.1.ebuild
+++ b/dev-ruby/actionpack/actionpack-6.1.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -44,7 +44,7 @@ ruby_add_bdepend "
~dev-ruby/railties-${PV}
>=dev-ruby/rack-cache-1.2:1.2
www-servers/puma
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionpack/actionpack-6.1.7.2.ebuild b/dev-ruby/actionpack/actionpack-6.1.7.2.ebuild
index 6a68dd1f5eda..03fb6ba804e7 100644
--- a/dev-ruby/actionpack/actionpack-6.1.7.2.ebuild
+++ b/dev-ruby/actionpack/actionpack-6.1.7.2.ebuild
@@ -44,7 +44,7 @@ ruby_add_bdepend "
~dev-ruby/railties-${PV}
>=dev-ruby/rack-cache-1.2:1.2
www-servers/puma
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionpack/actionpack-6.1.7.3.ebuild b/dev-ruby/actionpack/actionpack-6.1.7.3.ebuild
index 6a68dd1f5eda..03fb6ba804e7 100644
--- a/dev-ruby/actionpack/actionpack-6.1.7.3.ebuild
+++ b/dev-ruby/actionpack/actionpack-6.1.7.3.ebuild
@@ -44,7 +44,7 @@ ruby_add_bdepend "
~dev-ruby/railties-${PV}
>=dev-ruby/rack-cache-1.2:1.2
www-servers/puma
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionpack/actionpack-6.1.7.ebuild b/dev-ruby/actionpack/actionpack-6.1.7.ebuild
index 919e6d6cfe77..f5b513703d7b 100644
--- a/dev-ruby/actionpack/actionpack-6.1.7.ebuild
+++ b/dev-ruby/actionpack/actionpack-6.1.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -43,7 +43,7 @@ ruby_add_bdepend "
~dev-ruby/activemodel-${PV}
~dev-ruby/railties-${PV}
www-servers/puma
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionpack/actionpack-7.0.4.2.ebuild b/dev-ruby/actionpack/actionpack-7.0.4.2.ebuild
index 9c4b458405f5..da2c5950293b 100644
--- a/dev-ruby/actionpack/actionpack-7.0.4.2.ebuild
+++ b/dev-ruby/actionpack/actionpack-7.0.4.2.ebuild
@@ -45,7 +45,7 @@ ruby_add_bdepend "
>=dev-ruby/rack-cache-1.2:1.2
dev-ruby/selenium-webdriver:4
www-servers/puma
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionpack/actionpack-7.0.4.3-r1.ebuild b/dev-ruby/actionpack/actionpack-7.0.4.3-r1.ebuild
new file mode 100644
index 000000000000..1aefaa523fef
--- /dev/null
+++ b/dev-ruby/actionpack/actionpack-7.0.4.3-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Eases web-request routing, handling, and response"
+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 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+ ~dev-ruby/activesupport-${PV}
+ ~dev-ruby/actionview-${PV}
+ dev-ruby/rack:2.2
+ >=dev-ruby/rack-test-0.6.3:*
+ >=dev-ruby/rails-html-sanitizer-1.2.0:1
+ dev-ruby/rails-dom-testing:2
+"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/mocha:0.14
+ dev-ruby/bundler
+ >=dev-ruby/capybara-2.15
+ ~dev-ruby/activemodel-${PV}
+ ~dev-ruby/railties-${PV}
+ >=dev-ruby/rack-cache-1.2:1.2
+ dev-ruby/selenium-webdriver:4
+ www-servers/puma
+ <dev-ruby/minitest-5.16:*
+ )"
+
+all_ruby_prepare() {
+ eapply "${FILESDIR}/actionpack-7.0.4-rack-test-2.patch"
+
+ # 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\|sprockets\|stackprof\)/ s:^:#:" \
+ -e '/:job/,/end/ s:^:#:' \
+ -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
+ rm ../Gemfile.lock || die
+
+ sed -i -e '1igem "rack", "<3"' test/abstract_unit.rb || die
+
+ # Use different timezone notation, this changed at some point due to an external dependency changing.
+ sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die
+
+ # Avoid tests that fail with a fixed cgi.rb version
+ sed -i -e '/test_session_store_with_all_domains/askip "Fails with fixed cgi.rb"' test/dispatch/session/cookie_store_test.rb || die
+}
diff --git a/dev-ruby/actionpack/actionpack-7.0.4.3.ebuild b/dev-ruby/actionpack/actionpack-7.0.4.3.ebuild
index 86f0e41bc7f6..079080dbf048 100644
--- a/dev-ruby/actionpack/actionpack-7.0.4.3.ebuild
+++ b/dev-ruby/actionpack/actionpack-7.0.4.3.ebuild
@@ -45,7 +45,7 @@ ruby_add_bdepend "
>=dev-ruby/rack-cache-1.2:1.2
dev-ruby/selenium-webdriver:4
www-servers/puma
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionpack/actionpack-7.0.4.ebuild b/dev-ruby/actionpack/actionpack-7.0.4.ebuild
index abc85cb58c1e..506da69e48ee 100644
--- a/dev-ruby/actionpack/actionpack-7.0.4.ebuild
+++ b/dev-ruby/actionpack/actionpack-7.0.4.ebuild
@@ -44,7 +44,7 @@ ruby_add_bdepend "
~dev-ruby/railties-${PV}
dev-ruby/selenium-webdriver:4
www-servers/puma
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionview/actionview-6.0.5.1.ebuild b/dev-ruby/actionview/actionview-6.0.5.1.ebuild
index 56aa203fdc4d..e9dd4509ef57 100644
--- a/dev-ruby/actionview/actionview-6.0.5.1.ebuild
+++ b/dev-ruby/actionview/actionview-6.0.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -44,7 +44,7 @@ ruby_add_bdepend "
~dev-ruby/activerecord-${PV}
~dev-ruby/railties-${PV}
dev-ruby/sqlite3
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionview/actionview-6.0.6.1.ebuild b/dev-ruby/actionview/actionview-6.0.6.1.ebuild
index 106e7d307084..fd2a0dbf3c61 100644
--- a/dev-ruby/actionview/actionview-6.0.6.1.ebuild
+++ b/dev-ruby/actionview/actionview-6.0.6.1.ebuild
@@ -44,7 +44,7 @@ ruby_add_bdepend "
~dev-ruby/activerecord-${PV}
~dev-ruby/railties-${PV}
dev-ruby/sqlite3
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionview/actionview-6.1.6.1.ebuild b/dev-ruby/actionview/actionview-6.1.6.1.ebuild
index d3c00949ae36..a20a3c10ec49 100644
--- a/dev-ruby/actionview/actionview-6.1.6.1.ebuild
+++ b/dev-ruby/actionview/actionview-6.1.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -44,7 +44,7 @@ ruby_add_bdepend "
~dev-ruby/activerecord-${PV}
~dev-ruby/railties-${PV}
dev-ruby/sqlite3
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionview/actionview-6.1.7.2.ebuild b/dev-ruby/actionview/actionview-6.1.7.2.ebuild
index a265b5bacdaa..048c1a742808 100644
--- a/dev-ruby/actionview/actionview-6.1.7.2.ebuild
+++ b/dev-ruby/actionview/actionview-6.1.7.2.ebuild
@@ -44,7 +44,7 @@ ruby_add_bdepend "
~dev-ruby/activerecord-${PV}
~dev-ruby/railties-${PV}
dev-ruby/sqlite3
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionview/actionview-6.1.7.3.ebuild b/dev-ruby/actionview/actionview-6.1.7.3.ebuild
index a265b5bacdaa..048c1a742808 100644
--- a/dev-ruby/actionview/actionview-6.1.7.3.ebuild
+++ b/dev-ruby/actionview/actionview-6.1.7.3.ebuild
@@ -44,7 +44,7 @@ ruby_add_bdepend "
~dev-ruby/activerecord-${PV}
~dev-ruby/railties-${PV}
dev-ruby/sqlite3
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionview/actionview-6.1.7.ebuild b/dev-ruby/actionview/actionview-6.1.7.ebuild
index bcb90e7ffc9e..048c1a742808 100644
--- a/dev-ruby/actionview/actionview-6.1.7.ebuild
+++ b/dev-ruby/actionview/actionview-6.1.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -44,7 +44,7 @@ ruby_add_bdepend "
~dev-ruby/activerecord-${PV}
~dev-ruby/railties-${PV}
dev-ruby/sqlite3
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionview/actionview-7.0.4.2.ebuild b/dev-ruby/actionview/actionview-7.0.4.2.ebuild
index e97a678233fa..c0a137d7e142 100644
--- a/dev-ruby/actionview/actionview-7.0.4.2.ebuild
+++ b/dev-ruby/actionview/actionview-7.0.4.2.ebuild
@@ -44,7 +44,7 @@ ruby_add_bdepend "
~dev-ruby/activerecord-${PV}
~dev-ruby/railties-${PV}
dev-ruby/sqlite3
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionview/actionview-7.0.4.3-r1.ebuild b/dev-ruby/actionview/actionview-7.0.4.3-r1.ebuild
new file mode 100644
index 000000000000..87decc8e2009
--- /dev/null
+++ b/dev-ruby/actionview/actionview-7.0.4.3-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+RUBY_FAKEGEM_EXTRAINSTALL="app"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages"
+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 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+ ~dev-ruby/activesupport-${PV}
+ >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:*
+ >=dev-ruby/erubi-1.4:0
+ >=dev-ruby/rails-html-sanitizer-1.2.0:1
+ dev-ruby/rails-dom-testing:2
+"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/mocha
+ ~dev-ruby/actionpack-${PV}
+ ~dev-ruby/activemodel-${PV}
+ ~dev-ruby/activerecord-${PV}
+ ~dev-ruby/railties-${PV}
+ dev-ruby/sqlite3
+ <dev-ruby/minitest-5.16:*
+ )"
+
+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\|rack-cache\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|mime-types\|minitest\|sprockets\|stackprof\)/ s:^:#:" \
+ -e '/:job/,/end/ s:^:#:' \
+ -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
+ rm ../Gemfile.lock || die
+
+ # Avoid tests failing due to missing logger setup in activerecord,
+ # most likely related to test environment setup.
+ #rm -f test/activerecord/render_partial_with_record_identification_test.rb || die
+
+ # Fix loading of activerecord integration tests. This avoids loading
+ # activerecord twice and thus redefining constants leading to
+ # failures. Bug #719342
+ sed -e '/abstract_unit/arequire "active_record" ; require "active_record/fixtures"' \
+ -e '/defined/ s/FixtureSet/ActiveRecord::FixtureSet/' \
+ -i test/active_record_unit.rb || die
+}
diff --git a/dev-ruby/actionview/actionview-7.0.4.3.ebuild b/dev-ruby/actionview/actionview-7.0.4.3.ebuild
index 42e8b9cbde25..fc83968d243f 100644
--- a/dev-ruby/actionview/actionview-7.0.4.3.ebuild
+++ b/dev-ruby/actionview/actionview-7.0.4.3.ebuild
@@ -44,7 +44,7 @@ ruby_add_bdepend "
~dev-ruby/activerecord-${PV}
~dev-ruby/railties-${PV}
dev-ruby/sqlite3
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/actionview/actionview-7.0.4.ebuild b/dev-ruby/actionview/actionview-7.0.4.ebuild
index e97a678233fa..c0a137d7e142 100644
--- a/dev-ruby/actionview/actionview-7.0.4.ebuild
+++ b/dev-ruby/actionview/actionview-7.0.4.ebuild
@@ -44,7 +44,7 @@ ruby_add_bdepend "
~dev-ruby/activerecord-${PV}
~dev-ruby/railties-${PV}
dev-ruby/sqlite3
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/activejob/activejob-7.0.4.3-r1.ebuild b/dev-ruby/activejob/activejob-7.0.4.3-r1.ebuild
new file mode 100644
index 000000000000..749ad1c8eb29
--- /dev/null
+++ b/dev-ruby/activejob/activejob-7.0.4.3-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_DOC=""
+RUBY_FAKEGEM_DOCDIR=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Job framework with pluggable queues"
+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 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+ ~dev-ruby/activesupport-${PV}
+ >=dev-ruby/globalid-0.3.6
+"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/mocha
+ )"
+
+all_ruby_prepare() {
+ # Set test environment to our hand.
+ sed -i -e '/load_paths/d' test/helper.rb || die "Unable to remove load paths"
+
+ # Remove all currently unpackaged queues.
+ sed -i -e 's/que queue_classic resque sidekiq sneakers sucker_punch backburner//' \
+ -e 's/delayed_job//' Rakefile || die
+ sed -i -e '/SneakersAdapter/ s:^:#:' test/cases/exceptions_test.rb || die
+ rm -f test/cases/delayed_job_adapter_test.rb || die
+}
diff --git a/dev-ruby/activemodel/activemodel-6.0.5.1.ebuild b/dev-ruby/activemodel/activemodel-6.0.5.1.ebuild
index c1a65a2a75be..3201d4e4e5ee 100644
--- a/dev-ruby/activemodel/activemodel-6.0.5.1.ebuild
+++ b/dev-ruby/activemodel/activemodel-6.0.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -34,7 +34,7 @@ ruby_add_bdepend "
dev-ruby/test-unit:2
dev-ruby/mocha
>=dev-ruby/bcrypt-ruby-3.1.7
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/activemodel/activemodel-6.0.6.1.ebuild b/dev-ruby/activemodel/activemodel-6.0.6.1.ebuild
index 89b9c99b344e..062b00a33e83 100644
--- a/dev-ruby/activemodel/activemodel-6.0.6.1.ebuild
+++ b/dev-ruby/activemodel/activemodel-6.0.6.1.ebuild
@@ -34,7 +34,7 @@ ruby_add_bdepend "
dev-ruby/test-unit:2
dev-ruby/mocha
>=dev-ruby/bcrypt-ruby-3.1.7
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/activemodel/activemodel-6.1.6.1.ebuild b/dev-ruby/activemodel/activemodel-6.1.6.1.ebuild
index 7c3cc3c3a956..50001baa6f05 100644
--- a/dev-ruby/activemodel/activemodel-6.1.6.1.ebuild
+++ b/dev-ruby/activemodel/activemodel-6.1.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -34,7 +34,7 @@ ruby_add_bdepend "
dev-ruby/test-unit:2
dev-ruby/mocha
>=dev-ruby/bcrypt-ruby-3.1.7
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/activemodel/activemodel-6.1.7.2.ebuild b/dev-ruby/activemodel/activemodel-6.1.7.2.ebuild
index e0f56aff974c..c3641b6e8c1f 100644
--- a/dev-ruby/activemodel/activemodel-6.1.7.2.ebuild
+++ b/dev-ruby/activemodel/activemodel-6.1.7.2.ebuild
@@ -34,7 +34,7 @@ ruby_add_bdepend "
dev-ruby/test-unit:2
dev-ruby/mocha
>=dev-ruby/bcrypt-ruby-3.1.7
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/activemodel/activemodel-6.1.7.3.ebuild b/dev-ruby/activemodel/activemodel-6.1.7.3.ebuild
index e0f56aff974c..c3641b6e8c1f 100644
--- a/dev-ruby/activemodel/activemodel-6.1.7.3.ebuild
+++ b/dev-ruby/activemodel/activemodel-6.1.7.3.ebuild
@@ -34,7 +34,7 @@ ruby_add_bdepend "
dev-ruby/test-unit:2
dev-ruby/mocha
>=dev-ruby/bcrypt-ruby-3.1.7
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/activemodel/activemodel-6.1.7.ebuild b/dev-ruby/activemodel/activemodel-6.1.7.ebuild
index f68db7e6bec9..c3641b6e8c1f 100644
--- a/dev-ruby/activemodel/activemodel-6.1.7.ebuild
+++ b/dev-ruby/activemodel/activemodel-6.1.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -34,7 +34,7 @@ ruby_add_bdepend "
dev-ruby/test-unit:2
dev-ruby/mocha
>=dev-ruby/bcrypt-ruby-3.1.7
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/activemodel/activemodel-7.0.4.2.ebuild b/dev-ruby/activemodel/activemodel-7.0.4.2.ebuild
index dc9eb1610888..61e125b513f7 100644
--- a/dev-ruby/activemodel/activemodel-7.0.4.2.ebuild
+++ b/dev-ruby/activemodel/activemodel-7.0.4.2.ebuild
@@ -34,7 +34,7 @@ ruby_add_bdepend "
dev-ruby/test-unit:2
dev-ruby/mocha
>=dev-ruby/bcrypt-ruby-3.1.7
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/activemodel/activemodel-7.0.4.3-r1.ebuild b/dev-ruby/activemodel/activemodel-7.0.4.3-r1.ebuild
new file mode 100644
index 000000000000..62707fb49444
--- /dev/null
+++ b/dev-ruby/activemodel/activemodel-7.0.4.3-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Toolkit for building modeling frameworks like Active Record and Active Resource"
+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 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+ ~dev-ruby/activesupport-${PV}:*
+"
+
+ruby_add_bdepend "
+ test? (
+ ~dev-ruby/railties-${PV}
+ dev-ruby/test-unit:2
+ dev-ruby/mocha
+ >=dev-ruby/bcrypt-ruby-3.1.7
+ <dev-ruby/minitest-5.16:*
+ )"
+
+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"
+}
diff --git a/dev-ruby/activemodel/activemodel-7.0.4.3.ebuild b/dev-ruby/activemodel/activemodel-7.0.4.3.ebuild
index e0f56aff974c..c3641b6e8c1f 100644
--- a/dev-ruby/activemodel/activemodel-7.0.4.3.ebuild
+++ b/dev-ruby/activemodel/activemodel-7.0.4.3.ebuild
@@ -34,7 +34,7 @@ ruby_add_bdepend "
dev-ruby/test-unit:2
dev-ruby/mocha
>=dev-ruby/bcrypt-ruby-3.1.7
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/activemodel/activemodel-7.0.4.ebuild b/dev-ruby/activemodel/activemodel-7.0.4.ebuild
index dc9eb1610888..61e125b513f7 100644
--- a/dev-ruby/activemodel/activemodel-7.0.4.ebuild
+++ b/dev-ruby/activemodel/activemodel-7.0.4.ebuild
@@ -34,7 +34,7 @@ ruby_add_bdepend "
dev-ruby/test-unit:2
dev-ruby/mocha
>=dev-ruby/bcrypt-ruby-3.1.7
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
all_ruby_prepare() {
diff --git a/dev-ruby/activerecord/activerecord-6.0.5.1.ebuild b/dev-ruby/activerecord/activerecord-6.0.5.1.ebuild
index 3ddd3f28a228..8733f1597c53 100644
--- a/dev-ruby/activerecord/activerecord-6.0.5.1.ebuild
+++ b/dev-ruby/activerecord/activerecord-6.0.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -40,7 +40,7 @@ ruby_add_bdepend "
~dev-ruby/railties-${PV}
>=dev-ruby/sqlite3-1.4.0
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
diff --git a/dev-ruby/activerecord/activerecord-6.0.6.1.ebuild b/dev-ruby/activerecord/activerecord-6.0.6.1.ebuild
index 008739fda762..dca777d8f78c 100644
--- a/dev-ruby/activerecord/activerecord-6.0.6.1.ebuild
+++ b/dev-ruby/activerecord/activerecord-6.0.6.1.ebuild
@@ -40,7 +40,7 @@ ruby_add_bdepend "
~dev-ruby/railties-${PV}
>=dev-ruby/sqlite3-1.4.0
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
diff --git a/dev-ruby/activerecord/activerecord-6.1.6.1.ebuild b/dev-ruby/activerecord/activerecord-6.1.6.1.ebuild
index f727891e4548..28d23cffc897 100644
--- a/dev-ruby/activerecord/activerecord-6.1.6.1.ebuild
+++ b/dev-ruby/activerecord/activerecord-6.1.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -40,7 +40,7 @@ ruby_add_bdepend "
~dev-ruby/railties-${PV}
>=dev-ruby/sqlite3-1.4.0
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
diff --git a/dev-ruby/activerecord/activerecord-6.1.7.2.ebuild b/dev-ruby/activerecord/activerecord-6.1.7.2.ebuild
index 4e1ebb61eee9..3712ba4a7d4e 100644
--- a/dev-ruby/activerecord/activerecord-6.1.7.2.ebuild
+++ b/dev-ruby/activerecord/activerecord-6.1.7.2.ebuild
@@ -40,7 +40,7 @@ ruby_add_bdepend "
~dev-ruby/railties-${PV}
>=dev-ruby/sqlite3-1.4.0
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
diff --git a/dev-ruby/activerecord/activerecord-6.1.7.3.ebuild b/dev-ruby/activerecord/activerecord-6.1.7.3.ebuild
index 4e1ebb61eee9..3712ba4a7d4e 100644
--- a/dev-ruby/activerecord/activerecord-6.1.7.3.ebuild
+++ b/dev-ruby/activerecord/activerecord-6.1.7.3.ebuild
@@ -40,7 +40,7 @@ ruby_add_bdepend "
~dev-ruby/railties-${PV}
>=dev-ruby/sqlite3-1.4.0
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
diff --git a/dev-ruby/activerecord/activerecord-6.1.7.ebuild b/dev-ruby/activerecord/activerecord-6.1.7.ebuild
index 2aa4125ab0c5..3712ba4a7d4e 100644
--- a/dev-ruby/activerecord/activerecord-6.1.7.ebuild
+++ b/dev-ruby/activerecord/activerecord-6.1.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -40,7 +40,7 @@ ruby_add_bdepend "
~dev-ruby/railties-${PV}
>=dev-ruby/sqlite3-1.4.0
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
diff --git a/dev-ruby/activerecord/activerecord-7.0.4.2.ebuild b/dev-ruby/activerecord/activerecord-7.0.4.2.ebuild
index e1e7f04ae70d..c01bc57d9830 100644
--- a/dev-ruby/activerecord/activerecord-7.0.4.2.ebuild
+++ b/dev-ruby/activerecord/activerecord-7.0.4.2.ebuild
@@ -41,7 +41,7 @@ ruby_add_bdepend "
~dev-ruby/railties-${PV}
>=dev-ruby/sqlite3-1.4.0
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
diff --git a/dev-ruby/activerecord/activerecord-7.0.4.3-r1.ebuild b/dev-ruby/activerecord/activerecord-7.0.4.3-r1.ebuild
new file mode 100644
index 000000000000..5da1dc7308e9
--- /dev/null
+++ b/dev-ruby/activerecord/activerecord-7.0.4.3-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+# this is not null so that the dependencies will actually be filled
+RUBY_FAKEGEM_TASK_TEST="test"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
+HOMEPAGE="https://github.com/rails/rails/"
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="mysql postgres sqlite"
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "~dev-ruby/activesupport-${PV}
+ ~dev-ruby/activemodel-${PV}
+ sqlite? ( >=dev-ruby/sqlite3-1.4 )
+ mysql? ( dev-ruby/mysql2:0.5 )
+ postgres? ( >=dev-ruby/pg-1.1:1 )"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/benchmark-ips
+ dev-ruby/bundler
+ ~dev-ruby/actionpack-${PV}
+ ~dev-ruby/railties-${PV}
+ >=dev-ruby/sqlite3-1.4.0
+ dev-ruby/mocha
+ <dev-ruby/minitest-5.16:*
+ )"
+
+DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
+
+all_ruby_prepare() {
+ # Remove items from the common Gemfile that we don't need for this
+ # test run. This also requires handling some gemspecs.
+ rm ../Gemfile.lock || die
+ sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|execjs\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|minitest\|sprockets\|stackprof\)/ s:^:#:" \
+ -e '/:job/,/end/ s:^:#:' \
+ -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
+ sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
+ sed -e '/bcrypt/ s/3.0.0/3.0/' \
+ -i ../Gemfile || die
+ sed -i -e '/byebug/ s:^:#:' test/cases/base_prevent_writes_test.rb || die
+
+ # Add back json in the Gemfile because we dropped some dependencies
+ # earlier that implicitly required it.
+ sed -i -e '$agem "json"' ../Gemfile || die
+
+ sed -i -e '1igem "rack", "<3"' test/cases/helper.rb || die
+
+ # Avoid single tests using mysql or postgres dependencies.
+ rm test/cases/invalid_connection_test.rb || die
+ sed -e '/test_switching_connections_with_database_url/askip "postgres"' \
+ -i test/cases/connection_adapters/{,legacy_}connection_handlers_multi_db_test.rb || die
+
+ # Avoid failing test that makes bad assumptions on database state.
+ sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \
+ test/cases/associations/has_many_associations_test.rb
+
+ # Avoid test failing to bind limit length in favor of security release
+ sed -i -e '/test_too_many_binds/askip "Fails on Gentoo"' test/cases/bind_parameter_test.rb || die
+
+ # Avoid test failing related to rubygems
+ sed -i -e '/test_generates_absolute_path_with_given_root/askip "rubygems actiovation monitor"' test/cases/tasks/sqlite_rake_test.rb || die
+}
+
+each_ruby_test() {
+ if use sqlite; then
+ ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
+ fi
+}
diff --git a/dev-ruby/activerecord/activerecord-7.0.4.3.ebuild b/dev-ruby/activerecord/activerecord-7.0.4.3.ebuild
index d779da71d417..dbb861ba5037 100644
--- a/dev-ruby/activerecord/activerecord-7.0.4.3.ebuild
+++ b/dev-ruby/activerecord/activerecord-7.0.4.3.ebuild
@@ -41,7 +41,7 @@ ruby_add_bdepend "
~dev-ruby/railties-${PV}
>=dev-ruby/sqlite3-1.4.0
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
diff --git a/dev-ruby/activerecord/activerecord-7.0.4.ebuild b/dev-ruby/activerecord/activerecord-7.0.4.ebuild
index 4a7a56fd82a2..32f071d37819 100644
--- a/dev-ruby/activerecord/activerecord-7.0.4.ebuild
+++ b/dev-ruby/activerecord/activerecord-7.0.4.ebuild
@@ -41,7 +41,7 @@ ruby_add_bdepend "
~dev-ruby/railties-${PV}
>=dev-ruby/sqlite3-1.4.0
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
+ <dev-ruby/minitest-5.16:*
)"
DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
diff --git a/dev-ruby/activestorage/activestorage-7.0.4.2.ebuild b/dev-ruby/activestorage/activestorage-7.0.4.2.ebuild
index 949defcdd85e..880939d07ff1 100644
--- a/dev-ruby/activestorage/activestorage-7.0.4.2.ebuild
+++ b/dev-ruby/activestorage/activestorage-7.0.4.2.ebuild
@@ -43,7 +43,7 @@ ruby_add_bdepend "
test? (
~dev-ruby/railties-${PV}
>=dev-ruby/image_processing-1.2:0
- =dev-ruby/minitest-5.15*:5
+ =dev-ruby/minitest-5.15*:*
dev-ruby/mini_magick
dev-ruby/mocha
dev-ruby/rake
diff --git a/dev-ruby/activestorage/activestorage-7.0.4.3-r1.ebuild b/dev-ruby/activestorage/activestorage-7.0.4.3-r1.ebuild
new file mode 100644
index 000000000000..4e7b11fdc400
--- /dev/null
+++ b/dev-ruby/activestorage/activestorage-7.0.4.3-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_DOC=""
+RUBY_FAKEGEM_DOCDIR=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="activestorage.gemspec"
+
+RUBY_FAKEGEM_EXTRAINSTALL="app config db"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Attach cloud and local files in Rails applications"
+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 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+DEPEND+=" test? ( app-text/mupdf media-gfx/imagemagick[jpeg,png,tiff] media-video/ffmpeg app-text/poppler[utils] ) "
+
+ruby_add_rdepend "
+ ~dev-ruby/actionpack-${PV}:*
+ ~dev-ruby/activejob-${PV}:*
+ ~dev-ruby/activerecord-${PV}:*
+ ~dev-ruby/activesupport-${PV}:*
+ dev-ruby/marcel:1.0
+ >=dev-ruby/mini_mime-1.1.0
+"
+
+ruby_add_bdepend "
+ test? (
+ ~dev-ruby/railties-${PV}
+ >=dev-ruby/image_processing-1.2:0
+ =dev-ruby/minitest-5.15*:*
+ dev-ruby/mini_magick
+ dev-ruby/mocha
+ dev-ruby/rake
+ dev-ruby/sprockets-rails
+ dev-ruby/sqlite3
+ )"
+
+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 -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|aws-sdk-s3\|aws-sdk-sns\|google-cloud-storage\|azure-storage\|blade\|bootsnap\|hiredis\|qunit-selenium\|chromedriver-helper\|redis\|rb-inotify\|stackprof\|websocket-client-simple\|libxml-ruby\|sass-rails\|capybara\|rack-cache\|selenium\|dalli\|listen\|connection_pool\|puma\|mysql2\|webdrivers\|webpacker\|rexml\|webmock\|propshaft\|sprockets-export\|rack-test\|terser\)/ s:^:#:" \
+ -e '/stimulus-rails/,/tailwindcss-rails/ s:^:#:' \
+ -e '/group :\(doc\|job\|rubocop\|test\)/,/^end/ s:^:#:' \
+ -i ../Gemfile || die
+ rm ../Gemfile.lock || die
+
+ # Use mini_magick since vips is not packaged on Gentoo
+ sed -i -e '/mini_magick/aActiveStorage.variant_processor = :mini_magick' test/test_helper.rb || die
+ # Avoid vips-specific tests
+ sed -i -e '/\(resized and monochrome variation of JPEG blob\|monochrome with default variant_processor\|disabled variation of JPEG blob\)/askip "No vips support"' test/models/variant_test.rb || die
+}
diff --git a/dev-ruby/activestorage/activestorage-7.0.4.3.ebuild b/dev-ruby/activestorage/activestorage-7.0.4.3.ebuild
index 901b4d713f49..7ff750d6bf4a 100644
--- a/dev-ruby/activestorage/activestorage-7.0.4.3.ebuild
+++ b/dev-ruby/activestorage/activestorage-7.0.4.3.ebuild
@@ -43,7 +43,7 @@ ruby_add_bdepend "
test? (
~dev-ruby/railties-${PV}
>=dev-ruby/image_processing-1.2:0
- =dev-ruby/minitest-5.15*:5
+ =dev-ruby/minitest-5.15*:*
dev-ruby/mini_magick
dev-ruby/mocha
dev-ruby/rake
@@ -54,7 +54,7 @@ ruby_add_bdepend "
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 -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|aws-sdk-s3\|aws-sdk-sns\|google-cloud-storage\|azure-storage\|blade\|bootsnap\|hiredis\|qunit-selenium\|chromedriver-helper\|redis\|rb-inotify\|stackprof\|websocket-client-simple\|libxml-ruby\|sass-rails\|capybara\|rack-cache\|selenium\|dalli\|listen\|connection_pool\|puma\|mysql2\|webdrivers\|webpacker\|rexml\|webmock\|propshaft\|sprockets-export\|rack-test\)/ s:^:#:" \
+ sed -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|aws-sdk-s3\|aws-sdk-sns\|google-cloud-storage\|azure-storage\|blade\|bootsnap\|hiredis\|qunit-selenium\|chromedriver-helper\|redis\|rb-inotify\|stackprof\|websocket-client-simple\|libxml-ruby\|sass-rails\|capybara\|rack-cache\|selenium\|dalli\|listen\|connection_pool\|puma\|mysql2\|webdrivers\|webpacker\|rexml\|webmock\|propshaft\|sprockets-export\|rack-test\|terser\)/ s:^:#:" \
-e '/stimulus-rails/,/tailwindcss-rails/ s:^:#:' \
-e '/group :\(doc\|job\|rubocop\|test\)/,/^end/ s:^:#:' \
-i ../Gemfile || die
diff --git a/dev-ruby/activestorage/activestorage-7.0.4.ebuild b/dev-ruby/activestorage/activestorage-7.0.4.ebuild
index 57a87eb25da8..b0843e447eae 100644
--- a/dev-ruby/activestorage/activestorage-7.0.4.ebuild
+++ b/dev-ruby/activestorage/activestorage-7.0.4.ebuild
@@ -43,7 +43,7 @@ ruby_add_bdepend "
test? (
~dev-ruby/railties-${PV}
>=dev-ruby/image_processing-1.2:0
- =dev-ruby/minitest-5.15*:5
+ =dev-ruby/minitest-5.15*:*
dev-ruby/mini_magick
dev-ruby/mocha
dev-ruby/rake
diff --git a/dev-ruby/activesupport/activesupport-6.0.5.1.ebuild b/dev-ruby/activesupport/activesupport-6.0.5.1-r1.ebuild
index 43548b7c90bd..3308b86b956f 100644
--- a/dev-ruby/activesupport/activesupport-6.0.5.1.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.0.5.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -30,7 +30,7 @@ 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
+ <dev-ruby/minitest-5.16:*
>=dev-ruby/zeitwerk-2.2:2
"
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
>=dev-ruby/listen-3.0.5:3
dev-ruby/rack
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
all_ruby_prepare() {
@@ -60,6 +59,8 @@ all_ruby_prepare() {
rm ../Gemfile.lock || die
sed -i -e '1igem "tzinfo", "~> 1.1"; gem "psych", "~> 3.0"' test/abstract_unit.rb || die
+ sed -i -e '/minitest.*~> 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-6.0.6.1.ebuild b/dev-ruby/activesupport/activesupport-6.0.6.1-r1.ebuild
index 473970606372..2da6e6ef5818 100644
--- a/dev-ruby/activesupport/activesupport-6.0.6.1.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.0.6.1-r1.ebuild
@@ -21,7 +21,7 @@ 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 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
IUSE=""
RUBY_S="rails-${PV}/${PN}"
@@ -29,8 +29,8 @@ RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
dev-ruby/i18n:1
+ <dev-ruby/minitest-5.16:*
>=dev-ruby/tzinfo-1.1:1
- >=dev-ruby/minitest-5.1:5
>=dev-ruby/zeitwerk-2.2:2
"
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
>=dev-ruby/listen-3.0.5:3
dev-ruby/rack
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
all_ruby_prepare() {
@@ -60,6 +59,8 @@ all_ruby_prepare() {
rm ../Gemfile.lock || die
sed -i -e '1igem "tzinfo", "~> 1.1"; gem "psych", "~> 3.0"' test/abstract_unit.rb || die
+ sed -i -e '/minitest.*~> 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-6.1.6.1.ebuild b/dev-ruby/activesupport/activesupport-6.1.6.1-r1.ebuild
index 613922116101..1842d1c057d8 100644
--- a/dev-ruby/activesupport/activesupport-6.1.6.1.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.1.6.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -28,7 +28,7 @@ ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
>=dev-ruby/i18n-1.6:1
dev-ruby/tzinfo:2
- >=dev-ruby/minitest-5.1:5
+ <dev-ruby/minitest-5.16:*
>=dev-ruby/zeitwerk-2.3:2
"
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
dev-ruby/rack
dev-ruby/rexml
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
all_ruby_prepare() {
@@ -59,6 +58,8 @@ all_ruby_prepare() {
rm ../Gemfile.lock || die
# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
+ sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-6.1.7.3.ebuild b/dev-ruby/activesupport/activesupport-6.1.7-r1.ebuild
index 019a5ee151fb..268c519f718c 100644
--- a/dev-ruby/activesupport/activesupport-6.1.7.3.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.1.7-r1.ebuild
@@ -28,7 +28,7 @@ ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
>=dev-ruby/i18n-1.6:1
dev-ruby/tzinfo:2
- >=dev-ruby/minitest-5.1:5
+ <dev-ruby/minitest-5.16:*
>=dev-ruby/zeitwerk-2.3:2
"
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
dev-ruby/rack
dev-ruby/rexml
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
all_ruby_prepare() {
@@ -59,6 +58,8 @@ all_ruby_prepare() {
rm ../Gemfile.lock || die
# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
+ sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-6.1.7.2.ebuild b/dev-ruby/activesupport/activesupport-6.1.7.2-r1.ebuild
index 99169f856a6d..a86558c9b944 100644
--- a/dev-ruby/activesupport/activesupport-6.1.7.2.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.1.7.2-r1.ebuild
@@ -19,7 +19,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
IUSE=""
RUBY_S="rails-${PV}/${PN}"
@@ -28,7 +28,7 @@ ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
>=dev-ruby/i18n-1.6:1
dev-ruby/tzinfo:2
- >=dev-ruby/minitest-5.1:5
+<dev-ruby/minitest-5.16:*
>=dev-ruby/zeitwerk-2.3:2
"
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
dev-ruby/rack
dev-ruby/rexml
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
all_ruby_prepare() {
@@ -59,6 +58,8 @@ all_ruby_prepare() {
rm ../Gemfile.lock || die
# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
+ sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-6.1.7.ebuild b/dev-ruby/activesupport/activesupport-6.1.7.3-r1.ebuild
index 76d366006776..2e4c315427ab 100644
--- a/dev-ruby/activesupport/activesupport-6.1.7.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.1.7.3-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby27 ruby30 ruby31"
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
@@ -28,7 +28,7 @@ ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
>=dev-ruby/i18n-1.6:1
dev-ruby/tzinfo:2
- >=dev-ruby/minitest-5.1:5
+ <dev-ruby/minitest-5.16:*
>=dev-ruby/zeitwerk-2.3:2
"
@@ -43,9 +43,12 @@ ruby_add_bdepend "test? (
dev-ruby/rack
dev-ruby/rexml
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.1.7.3-ruby-thread-noise.patch
+)
+
all_ruby_prepare() {
# Set the secure permissions that tests expect.
chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
@@ -59,6 +62,8 @@ all_ruby_prepare() {
rm ../Gemfile.lock || die
# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
+ sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-7.0.4.2.ebuild b/dev-ruby/activesupport/activesupport-7.0.4-r1.ebuild
index f0801876283b..cf215798d810 100644
--- a/dev-ruby/activesupport/activesupport-7.0.4.2.ebuild
+++ b/dev-ruby/activesupport/activesupport-7.0.4-r1.ebuild
@@ -28,7 +28,7 @@ ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
>=dev-ruby/i18n-1.6:1
dev-ruby/tzinfo:2
- >=dev-ruby/minitest-5.1:5
+ <dev-ruby/minitest-5.16:*
"
# memcache-client, nokogiri, builder, and redis are not strictly needed,
@@ -42,7 +42,6 @@ ruby_add_bdepend "test? (
dev-ruby/rack
dev-ruby/rexml
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
all_ruby_prepare() {
@@ -58,6 +57,8 @@ all_ruby_prepare() {
-e '5igem "builder"; gem "rack"' ../Gemfile || die
rm ../Gemfile.lock || die
+ sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-7.0.4.ebuild b/dev-ruby/activesupport/activesupport-7.0.4.2-r1.ebuild
index 1ae44774dde0..cf215798d810 100644
--- a/dev-ruby/activesupport/activesupport-7.0.4.ebuild
+++ b/dev-ruby/activesupport/activesupport-7.0.4.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -28,7 +28,7 @@ ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
>=dev-ruby/i18n-1.6:1
dev-ruby/tzinfo:2
- >=dev-ruby/minitest-5.1:5
+ <dev-ruby/minitest-5.16:*
"
# memcache-client, nokogiri, builder, and redis are not strictly needed,
@@ -42,7 +42,6 @@ ruby_add_bdepend "test? (
dev-ruby/rack
dev-ruby/rexml
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
all_ruby_prepare() {
@@ -58,6 +57,8 @@ all_ruby_prepare() {
-e '5igem "builder"; gem "rack"' ../Gemfile || die
rm ../Gemfile.lock || die
+ sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-7.0.4.3.ebuild b/dev-ruby/activesupport/activesupport-7.0.4.3-r1.ebuild
index b8a341ae5558..a328f33b0256 100644
--- a/dev-ruby/activesupport/activesupport-7.0.4.3.ebuild
+++ b/dev-ruby/activesupport/activesupport-7.0.4.3-r1.ebuild
@@ -28,7 +28,7 @@ ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
>=dev-ruby/i18n-1.6:1
dev-ruby/tzinfo:2
- >=dev-ruby/minitest-5.1:5
+ <dev-ruby/minitest-5.16:*
"
# memcache-client, nokogiri, builder, and redis are not strictly needed,
@@ -42,7 +42,6 @@ ruby_add_bdepend "test? (
dev-ruby/rack
dev-ruby/rexml
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
PATCHES=(
@@ -62,6 +61,8 @@ all_ruby_prepare() {
-e '5igem "builder"; gem "rack"' ../Gemfile || die
rm ../Gemfile.lock || die
+ sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/files/activesupport-6.1.7.3-ruby-thread-noise.patch b/dev-ruby/activesupport/files/activesupport-6.1.7.3-ruby-thread-noise.patch
new file mode 100644
index 000000000000..dabe1331a307
--- /dev/null
+++ b/dev-ruby/activesupport/files/activesupport-6.1.7.3-ruby-thread-noise.patch
@@ -0,0 +1,41 @@
+https://github.com/rails/rails/commit/60fc40ea58de8b6faf98081d659e7f5b232aa25e
+
+From 60fc40ea58de8b6faf98081d659e7f5b232aa25e Mon Sep 17 00:00:00 2001
+From: Jonathan Hefner <jonathan@hefner.pro>
+Date: Thu, 22 Jul 2021 13:45:57 -0500
+Subject: [PATCH] Isolate descendants garbage collection test
+
+This prevents the test from being affected by Ruby-internal thread
+locals set by other tests.
+
+Example failure: https://buildkite.com/rails/rails/builds/79505#cb261462-8e40-4adc-99fc-81708a473cc6/1076-1085
+
+Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
+--- a/test/descendants_tracker_test_cases.rb
++++ b/test/descendants_tracker_test_cases.rb
+@@ -28,11 +28,23 @@ def test_descendants
+ end
+
+ def test_descendants_with_garbage_collected_classes
+- 1.times do
++ # The Ruby GC (and most other GCs for that matter) are not fully precise.
++ # When GC is run, the whole stack is scanned to mark any object reference
++ # in registers. But some of these references might simply be leftovers from
++ # previous method calls waiting to be overridden, and there's no definite
++ # way to clear them. By executing this code in a distinct thread, we ensure
++ # that such references are on a stack that will be entirely garbage
++ # collected, effectively working around the problem.
++ Thread.new do
+ child_klass = Class.new(Parent)
+ assert_equal_sets [Child1, Grandchild1, Grandchild2, Child2, child_klass], Parent.descendants
++ end.join
++
++ # Calling `GC.start` 4 times should trigger a full GC run
++ 4.times do
++ GC.start
+ end
+- GC.start
++
+ assert_equal_sets [Child1, Grandchild1, Grandchild2, Child2], Parent.descendants
+ end
+
diff --git a/dev-ruby/addressable/Manifest b/dev-ruby/addressable/Manifest
index 2a6924b63215..64a638524180 100644
--- a/dev-ruby/addressable/Manifest
+++ b/dev-ruby/addressable/Manifest
@@ -1,2 +1,3 @@
DIST addressable-2.8.1.gem 105984 BLAKE2B 9ba6fffe2af965be57ef7b2f86c5c86c672e0037c41996d78a3b8f31a9b5a5818e06d7e119733cff3d5469bc985186fac6fa978740f107876a975b5ac662171f SHA512 ae0b7cb5fdc0b5b8717637e9589ab9167aa3924253f4c9102134b1e5aee07c7f5e3e92e2e32ca872b4a72a3a70c8086c7073cbbddf7cbb6e1948ed97de2c9108
DIST addressable-2.8.2.gem 106496 BLAKE2B 701f4c298686593cadc7317fe2072474fa2a4a35c53047d650fb166db969d5a0e8eca703d2ec2ed334936711d7fe5c839dfe6f04bea5d413da22a41094d58b98 SHA512 9c5f2a5cad9f1f4ea9ec9ab30106123f922737f9dafdf5efd9b74c939e933976c37c0a9775743e7277a0850fa1676ede5520db4fe6e0a9507e5b3a2b94d9d8d7
+DIST addressable-2.8.3.gem 105984 BLAKE2B 00775f119c59d3db331bfeb3bb48f26c74d938714791183a4099fc4da7c871045c12074132e6368b2a8a0c114b18e301735aa142d8ae4bc52a77f55cc3fa61a1 SHA512 dc3f0731b2ccb464473ac9005d8a68fa457b9d5f83fd60f32fa2cd741b69d0e08e89c5ea10fb4734c0bb563ef73797cfd5500b486f1daaf0e1456488ec8c2340
diff --git a/dev-ruby/addressable/addressable-2.8.3.ebuild b/dev-ruby/addressable/addressable-2.8.3.ebuild
new file mode 100644
index 000000000000..f81a5ff2c1a3
--- /dev/null
+++ b/dev-ruby/addressable/addressable-2.8.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="data"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A replacement for the URI implementation that is part of Ruby's standard library"
+HOMEPAGE="https://rubygems.org/gems/addressable https://github.com/sporkmonger/addressable"
+
+LICENSE="Apache-2.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+IUSE="doc test"
+
+ruby_add_rdepend "|| ( dev-ruby/public_suffix:5 dev-ruby/public_suffix:4 )"
+
+ruby_add_bdepend "test? ( dev-ruby/rspec-its )"
+
+all_ruby_prepare() {
+ # Remove spec-related tasks so that we don't need to require rspec
+ # just to build the documentation, bug 383611.
+ sed -i -e '/spectask/d' Rakefile || die
+ rm -f tasks/rspec.rake || die
+ sed -i -e '/bundler/ s:^:#:' \
+ -e '/^begin/,/^end/ s:^:#:' \
+ spec/spec_helper.rb || die
+
+ # Remove specs requiring network connectivity
+ rm -f spec/addressable/net_http_compat_spec.rb || die
+
+ # Remove spec that tests against an unreleased github fork
+ rm -f spec/addressable/rack_mount_compat_spec.rb || die
+}
diff --git a/dev-ruby/airbrussh/airbrussh-1.4.1.ebuild b/dev-ruby/airbrussh/airbrussh-1.4.1.ebuild
index 6fade7b39565..b87e69f23648 100644
--- a/dev-ruby/airbrussh/airbrussh-1.4.1.ebuild
+++ b/dev-ruby/airbrussh/airbrussh-1.4.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/mattbrictson/airbrussh/archive/v${PV}.tar.gz -> ${P}
LICENSE="MIT"
SLOT="1"
-KEYWORDS="amd64"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
IUSE=""
ruby_add_rdepend ">dev-ruby/sshkit-1.7.0"
diff --git a/dev-ruby/async-container/async-container-0.16.12-r1.ebuild b/dev-ruby/async-container/async-container-0.16.12-r1.ebuild
index 366f3cb3c727..c6f318021cbf 100644
--- a/dev-ruby/async-container/async-container-0.16.12-r1.ebuild
+++ b/dev-ruby/async-container/async-container-0.16.12-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/socketry/async-container/archive/v${PV}.tar.gz -> ${
LICENSE="MIT"
SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
ruby_add_rdepend "dev-ruby/async
diff --git a/dev-ruby/async-io/async-io-1.34.3-r1.ebuild b/dev-ruby/async-io/async-io-1.34.3-r1.ebuild
index a664fe46b31c..8962b2a3c994 100644
--- a/dev-ruby/async-io/async-io-1.34.3-r1.ebuild
+++ b/dev-ruby/async-io/async-io-1.34.3-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/socketry/async-io/archive/v${PV}.tar.gz -> ${P}.tar.
LICENSE="MIT"
SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
ruby_add_rdepend "dev-ruby/async"
diff --git a/dev-ruby/async-process/async-process-1.3.1.ebuild b/dev-ruby/async-process/async-process-1.3.1.ebuild
index 7d7f639f6b3e..07509723ee1b 100644
--- a/dev-ruby/async-process/async-process-1.3.1.ebuild
+++ b/dev-ruby/async-process/async-process-1.3.1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/socketry/async-process/archive/v${PV}.tar.gz -> ${P}
LICENSE="MIT"
SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
ruby_add_rdepend "dev-ruby/async
diff --git a/dev-ruby/async-rspec/async-rspec-1.16.1-r1.ebuild b/dev-ruby/async-rspec/async-rspec-1.16.1-r1.ebuild
index 7e2ec2c97046..6aa0aa0e9bb6 100644
--- a/dev-ruby/async-rspec/async-rspec-1.16.1-r1.ebuild
+++ b/dev-ruby/async-rspec/async-rspec-1.16.1-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/socketry/async-rspec/archive/v${PV}.tar.gz -> ${P}.t
LICENSE="MIT"
SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
ruby_add_rdepend "dev-ruby/rspec:3
diff --git a/dev-ruby/async/async-2.5.0.ebuild b/dev-ruby/async/async-2.5.0.ebuild
index ba7c4f2e796e..a37891de18a0 100644
--- a/dev-ruby/async/async-2.5.0.ebuild
+++ b/dev-ruby/async/async-2.5.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="https://github.com/socketry/async/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
ruby_add_rdepend ">=dev-ruby/console-1.10:1
dev-ruby/io-event:1.1
diff --git a/dev-ruby/capistrano/capistrano-3.17.2.ebuild b/dev-ruby/capistrano/capistrano-3.17.2.ebuild
index c7b31f25d078..01ef9a13d336 100644
--- a/dev-ruby/capistrano/capistrano-3.17.2.ebuild
+++ b/dev-ruby/capistrano/capistrano-3.17.2.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://capistranorb.com/"
LICENSE="MIT"
SLOT="3"
-KEYWORDS="amd64"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
IUSE=""
ruby_add_rdepend "
diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest
index 9418c2a3bf11..9feb08fda2a6 100644
--- a/dev-ruby/capybara/Manifest
+++ b/dev-ruby/capybara/Manifest
@@ -1 +1,2 @@
DIST capybara-3.38.0.gem 379392 BLAKE2B e1ba89daa08e43e5f97ed5c649a3ea82c27e2ee7a737844f83ba68f0379cc4ef2a0349bc2ae9af76a5cca3659c11f1ed0d1b7dcae7f7701305ca3644e40a4dee SHA512 530db1102e8bc1bfa1ac55d28a725a26a7c6c98baf89655bb15436217e99c7131edb204638f51831c416e4898b9e7c653b83c74abf8aa644eb4da0ad8cddd44c
+DIST capybara-3.39.0.gem 381952 BLAKE2B 2b70bfbf930258c2273bf0c6bddc70e455d1d717bd0ed79fc68459c6f40d47ef8149fec161dbaff08e6d8424aebbdf5160033169a6269408b368525218899e23 SHA512 0910ecef11a007d10e753887d9016bab4de74e2ddf2fa2c8b8fc32bfe7d71d64a8c0b72a0a606aa7b558922ab02b4368d1c42a0df78ecf3f68a5efc34edc8707
diff --git a/dev-ruby/capybara/capybara-3.39.0-r1.ebuild b/dev-ruby/capybara/capybara-3.39.0-r1.ebuild
new file mode 100644
index 000000000000..daa72adcbeb3
--- /dev/null
+++ b/dev-ruby/capybara/capybara-3.39.0-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
+# Rake tasks are not distributed in the gem.
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit virtualx ruby-fakegem
+
+DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications"
+HOMEPAGE="https://github.com/teamcapybara/capybara"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+SLOT="3"
+IUSE="test"
+
+DEPEND="${DEPEND} test? ( || ( www-client/firefox www-client/firefox-bin ) )"
+
+ruby_add_bdepend "test? (
+ dev-ruby/rspec:3
+ >=dev-ruby/launchy-2.4.0
+ dev-ruby/selenium-webdriver:4
+ || ( dev-ruby/sinatra:3 dev-ruby/sinatra:2 )
+ www-servers/puma
+)"
+
+ruby_add_rdepend "
+ dev-ruby/addressable
+ dev-ruby/matrix
+ >=dev-ruby/mini_mime-0.1.3
+ >=dev-ruby/nokogiri-1.8:0
+ >=dev-ruby/rack-1.6.0:*
+ >=dev-ruby/rack-test-0.6.3:*
+ dev-ruby/regexp_parser:2
+ >=dev-ruby/xpath-3.2:3"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' -e '/statistics/Id' spec/spec_helper.rb || die
+
+ # Avoid window-manager specific tests (sizes are specific for fluxbox)
+ sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die
+
+ # Avoid spec that requires unpackaged geckodriver
+ #sed -i -e '/describe.*register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
+
+ # Avoid test dependency on puma server for now
+ sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
+
+ # Update spec to catch the right error code. This seems to have
+ # changed recently across ruby versions.
+ sed -i -e '/raise_error/ s/EOFError/Net::ReadTimeout/' spec/server_spec.rb || die
+}
+
+each_ruby_test() {
+ virtx ${RUBY} -Ilib -S rspec-3 spec
+}
diff --git a/dev-ruby/capybara/capybara-3.39.0.ebuild b/dev-ruby/capybara/capybara-3.39.0.ebuild
new file mode 100644
index 000000000000..36161f10c21e
--- /dev/null
+++ b/dev-ruby/capybara/capybara-3.39.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
+# Rake tasks are not distributed in the gem.
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit virtualx ruby-fakegem
+
+DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications"
+HOMEPAGE="https://github.com/teamcapybara/capybara"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+SLOT="3"
+IUSE="test"
+
+DEPEND="${DEPEND} test? ( || ( www-client/firefox www-client/firefox-bin ) )"
+
+ruby_add_bdepend "test? (
+ dev-ruby/rspec:3
+ >=dev-ruby/launchy-2.4.0
+ dev-ruby/selenium-webdriver:4
+ || ( dev-ruby/sinatra:3 dev-ruby/sinatra:2 )
+ www-servers/puma
+)"
+
+ruby_add_rdepend "
+ dev-ruby/addressable
+ dev-ruby/matrix
+ >=dev-ruby/mini_mime-0.1.3
+ >=dev-ruby/nokogiri-1.8:0
+ >=dev-ruby/rack-1.6.0:*
+ >=dev-ruby/rack-test-0.6.3:*
+ dev-ruby/regexp_parser:2
+ >=dev-ruby/xpath-3.2:3"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' -e '/statistics/Id' spec/spec_helper.rb || die
+
+ # Avoid window-manager specific tests (sizes are specific for fluxbox)
+ sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die
+
+ # Avoid spec that requires unpackaged geckodriver
+ #sed -i -e '/describe.*register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
+
+ # Avoid test dependency on puma server for now
+ sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
+
+ # Update spec to catch the right error code. This seems to have
+ # changed recently across ruby versions.
+ sed -i -e '/raise_error/ s/EOFError/Net::ReadTimeout/' spec/server_spec.rb || die
+}
+
+each_ruby_test() {
+ virtx ${RUBY} -Ilib -S rspec-3 spec
+}
diff --git a/dev-ruby/coffee-script-source/coffee-script-source-1.12.2-r1.ebuild b/dev-ruby/coffee-script-source/coffee-script-source-1.12.2-r1.ebuild
index f6b8b758bf82..e7babbfde0aa 100644
--- a/dev-ruby/coffee-script-source/coffee-script-source-1.12.2-r1.ebuild
+++ b/dev-ruby/coffee-script-source/coffee-script-source-1.12.2-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_TASK_DOC=""
diff --git a/dev-ruby/coffee-script/coffee-script-2.4.1.ebuild b/dev-ruby/coffee-script/coffee-script-2.4.1.ebuild
index 37dfb3cfc2bb..932faa59f255 100644
--- a/dev-ruby/coffee-script/coffee-script-2.4.1.ebuild
+++ b/dev-ruby/coffee-script/coffee-script-2.4.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31 ruby32"
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_TASK_DOC=""
diff --git a/dev-ruby/combustion/combustion-1.3.7-r2.ebuild b/dev-ruby/combustion/combustion-1.3.7-r2.ebuild
index db15e7bad83b..77ede8955804 100644
--- a/dev-ruby/combustion/combustion-1.3.7-r2.ebuild
+++ b/dev-ruby/combustion/combustion-1.3.7-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-USE_RUBY="ruby27 ruby30"
+USE_RUBY="ruby27 ruby30 ruby31"
RUBY_FAKEGEM_BINWRAP=""
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
diff --git a/dev-ruby/curb/curb-1.0.5.ebuild b/dev-ruby/curb/curb-1.0.5.ebuild
index e4df95039341..47157bd329fb 100644
--- a/dev-ruby/curb/curb-1.0.5.ebuild
+++ b/dev-ruby/curb/curb-1.0.5.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/taf2/curb"
LICENSE="Ruby"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
IUSE=""
DEPEND+=" net-misc/curl[ssl] test? ( net-misc/curl )"
diff --git a/dev-ruby/fast_gettext/fast_gettext-2.2.0.ebuild b/dev-ruby/fast_gettext/fast_gettext-2.2.0.ebuild
index d31cc922c48e..0d357c632ebb 100644
--- a/dev-ruby/fast_gettext/fast_gettext-2.2.0.ebuild
+++ b/dev-ruby/fast_gettext/fast_gettext-2.2.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="public-domain"
SLOT="2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86"
IUSE=""
ruby_add_bdepend "test? ( dev-ruby/bundler )"
diff --git a/dev-ruby/font-awesome-rails/font-awesome-rails-4.7.0.8.ebuild b/dev-ruby/font-awesome-rails/font-awesome-rails-4.7.0.8.ebuild
index c7c5f0afb6cd..5e704b2f6fb4 100644
--- a/dev-ruby/font-awesome-rails/font-awesome-rails-4.7.0.8.ebuild
+++ b/dev-ruby/font-awesome-rails/font-awesome-rails-4.7.0.8.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby27 ruby30 ruby31"
RUBY_FAKEGEM_TASK_TEST=""
diff --git a/dev-ruby/globalid/globalid-1.1.0-r1.ebuild b/dev-ruby/globalid/globalid-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..22e6caa87ce0
--- /dev/null
+++ b/dev-ruby/globalid/globalid-1.1.0-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="globalid.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Reference models by URI"
+HOMEPAGE="https://github.com/rails/globalid"
+SRC_URI="https://github.com/rails/globalid/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/bundler >=dev-ruby/activemodel-5.0 >=dev-ruby/railties-5.0 )"
+ruby_add_rdepend ">=dev-ruby/activesupport-5.0:*"
+
+all_ruby_prepare() {
+ rm -f Gemfile.lock || die
+
+ sed -i -e '2irequire "forwardable"' test/helper.rb || die
+}
diff --git a/dev-ruby/haml-rails/haml-rails-2.0.1-r1.ebuild b/dev-ruby/haml-rails/haml-rails-2.0.1-r1.ebuild
index 42ee8c50bef2..1e67465313d8 100644
--- a/dev-ruby/haml-rails/haml-rails-2.0.1-r1.ebuild
+++ b/dev-ruby/haml-rails/haml-rails-2.0.1-r1.ebuild
@@ -1,16 +1,16 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby27 ruby30 ruby31"
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_RECIPE_DOC="yard"
inherit ruby-fakegem
DESCRIPTION="Provides Haml generators for Rails 4"
-HOMEPAGE="https://github.com/indirect/haml-rails"
+HOMEPAGE="https://github.com/haml/haml-rails"
LICENSE="MIT"
SLOT="2"
diff --git a/dev-ruby/haml/haml-6.1.1-r1.ebuild b/dev-ruby/haml/haml-6.1.1-r1.ebuild
new file mode 100644
index 000000000000..2cfae3699c8e
--- /dev/null
+++ b/dev-ruby/haml/haml-6.1.1-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTENSIONS=(ext/haml/extconf.rb)
+RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/haml"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md REFERENCE.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A ruby web page templating engine"
+HOMEPAGE="https://haml.info/"
+SRC_URI="https://github.com/haml/haml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm arm64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+IUSE="doc test"
+
+ruby_add_rdepend ">=dev-ruby/temple-0.8.2 dev-ruby/thor dev-ruby/tilt:*"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/minitest:5.15
+ dev-ruby/nokogiri
+ >=dev-ruby/railties-6.0
+ >=dev-ruby/activemodel-6.0
+ >=dev-ruby/actionpack-6.0
+ dev-ruby/unindent
+ )
+ doc? (
+ dev-ruby/yard
+ )"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ sed -i -e '/bundler/ s:^:#: ; /Bundler/,/end/ s:^:#:' Rakefile || die
+ # minitest hack just to match rails/activesupport
+ sed -i \
+ -e "/require 'minitest\/autorun'/igem 'minitest', '< 5.16'" \
+ -e '/bundler/I s:^:#:' \
+ -e '/simplecov/I s:^:#:' \
+ test/test_helper.rb || die
+ # Remove tests that fails when RedCloth is available
+ rm -f test/haml/filters/markdown_test.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test:. -rtest_helper -e 'Dir["test/haml/**/*_test.rb"].each { require _1 }' || die
+}
diff --git a/dev-ruby/haml/haml-6.1.1.ebuild b/dev-ruby/haml/haml-6.1.1.ebuild
index 049aded84e72..e8877b0d4a91 100644
--- a/dev-ruby/haml/haml-6.1.1.ebuild
+++ b/dev-ruby/haml/haml-6.1.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="https://github.com/haml/haml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ppc ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc test"
diff --git a/dev-ruby/hashie/hashie-5.0.0.ebuild b/dev-ruby/hashie/hashie-5.0.0.ebuild
index 8bbead1896df..a4fd5e39c3ca 100644
--- a/dev-ruby/hashie/hashie-5.0.0.ebuild
+++ b/dev-ruby/hashie/hashie-5.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -21,7 +21,7 @@ SRC_URI="https://github.com/intridea/hashie/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="MIT"
SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
ruby_add_bdepend "test? ( dev-ruby/activesupport )"
diff --git a/dev-ruby/hiera/hiera-3.12.0.ebuild b/dev-ruby/hiera/hiera-3.12.0.ebuild
index 12371903253d..57abf1d44284 100644
--- a/dev-ruby/hiera/hiera-3.12.0.ebuild
+++ b/dev-ruby/hiera/hiera-3.12.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://docs.puppet.com/hiera/"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~riscv ~sparc x86"
ruby_add_bdepend "test? ( dev-ruby/mocha )"
diff --git a/dev-ruby/http-accept/http-accept-2.2.0.ebuild b/dev-ruby/http-accept/http-accept-2.2.0.ebuild
index 4d262314d523..2e63d7de2a10 100644
--- a/dev-ruby/http-accept/http-accept-2.2.0.ebuild
+++ b/dev-ruby/http-accept/http-accept-2.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/socketry/http-accept/archive/v${PV}.tar.gz -> ${P}.t
LICENSE="MIT"
SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
IUSE=""
all_ruby_prepare() {
diff --git a/dev-ruby/jquery-rails/Manifest b/dev-ruby/jquery-rails/Manifest
index 8fe2f64c4d1d..105082bc55e9 100644
--- a/dev-ruby/jquery-rails/Manifest
+++ b/dev-ruby/jquery-rails/Manifest
@@ -1,3 +1 @@
-DIST jquery-rails-4.4.0.gem 526336 BLAKE2B d6a498424fd89ed575fe778a91ba199eb81fe7c98ac042df8602d0fd680305543d8bb1c1a663d12cf696ec50e1196c59b068051c4bf34b0e3b321cc3ea898bdf SHA512 af363fe81f9689ccb7effd8a755368245b14fdbc67e14698c7dc48e69e18b731e1c65ceefedf86638d6dca6378d21c3175b02f16f6c03bd76c45494c1d0e5eab
-DIST jquery-rails-4.5.0.gem 526848 BLAKE2B 2770db2e195932f5b53cf1f7145fb66f436b3c32a8691793b1e69caa4b6671ca8f9bb7ef98065805a12309aede123973ef7496fd787a24771c77edd57b9bb840 SHA512 1f1c679013110815c9383458839e82ff07c0980a2a068231ebc8d657cdfa6d8af792aed11b7ccbaba56d557ae302ed38fdc12c58599a5b5abeda3ca67f404516
DIST jquery-rails-4.5.1.gem 527360 BLAKE2B fffd91adabd7e24a23fb65e94b02f6484d53afa5b63902ed7ae487f97a13289b2d884508b45744aacf2d5e7ab47dfab6a37ed94e8cf0bb8e56271692762facf2 SHA512 7921de900d1678e0af9adb1a83bf0ceebc75666a991d0babdc47465c45d08df0de959650eef750670b225354c942a2795fb08cb67694ce05d33af90fa1de5917
diff --git a/dev-ruby/jquery-rails/jquery-rails-4.4.0-r1.ebuild b/dev-ruby/jquery-rails/jquery-rails-4.4.0-r1.ebuild
deleted file mode 100644
index d33601ed289c..000000000000
--- a/dev-ruby/jquery-rails/jquery-rails-4.4.0-r1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
-
-RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_TASK_TEST=""
-
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md VERSIONS.md"
-
-RUBY_FAKEGEM_EXTRAINSTALL="vendor"
-
-RUBY_FAKEGEM_GEMSPEC="jquery-rails.gemspec"
-
-inherit ruby-fakegem
-
-DESCRIPTION="jQuery! For Rails! So great"
-HOMEPAGE="https://rubygems.org/gems/jquery-rails"
-
-LICENSE="MIT"
-SLOT="4"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux"
-
-IUSE=""
-
-ruby_add_rdepend "
- >=dev-ruby/railties-4.2.0:*
- >=dev-ruby/thor-0.14:* <dev-ruby/thor-2:*
- dev-ruby/rails-dom-testing:2"
-
-all_ruby_prepare() {
- sed -i -e '/git ls-files/d' jquery-rails.gemspec || die
-}
diff --git a/dev-ruby/jquery-rails/jquery-rails-4.5.0.ebuild b/dev-ruby/jquery-rails/jquery-rails-4.5.0.ebuild
deleted file mode 100644
index d33601ed289c..000000000000
--- a/dev-ruby/jquery-rails/jquery-rails-4.5.0.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
-
-RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_TASK_TEST=""
-
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md VERSIONS.md"
-
-RUBY_FAKEGEM_EXTRAINSTALL="vendor"
-
-RUBY_FAKEGEM_GEMSPEC="jquery-rails.gemspec"
-
-inherit ruby-fakegem
-
-DESCRIPTION="jQuery! For Rails! So great"
-HOMEPAGE="https://rubygems.org/gems/jquery-rails"
-
-LICENSE="MIT"
-SLOT="4"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux"
-
-IUSE=""
-
-ruby_add_rdepend "
- >=dev-ruby/railties-4.2.0:*
- >=dev-ruby/thor-0.14:* <dev-ruby/thor-2:*
- dev-ruby/rails-dom-testing:2"
-
-all_ruby_prepare() {
- sed -i -e '/git ls-files/d' jquery-rails.gemspec || die
-}
diff --git a/dev-ruby/jquery-ui-rails/jquery-ui-rails-6.0.1-r2.ebuild b/dev-ruby/jquery-ui-rails/jquery-ui-rails-6.0.1-r2.ebuild
index 4a0026574b82..cff651cd59a9 100644
--- a/dev-ruby/jquery-ui-rails/jquery-ui-rails-6.0.1-r2.ebuild
+++ b/dev-ruby/jquery-ui-rails/jquery-ui-rails-6.0.1-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby27 ruby30 ruby31"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST=""
@@ -14,7 +14,7 @@ RUBY_FAKEGEM_EXTRAINSTALL="app"
inherit ruby-fakegem
DESCRIPTION="The jQuery UI assets for the Rails 3.2+ asset pipeline"
-HOMEPAGE="https://github.com/joliss/jquery-ui-rails"
+HOMEPAGE="https://github.com/jquery-ui-rails/jquery-ui-rails"
LICENSE="MIT"
SLOT="6"
diff --git a/dev-ruby/kpeg/kpeg-1.3.3.ebuild b/dev-ruby/kpeg/kpeg-1.3.3.ebuild
index f1042ba89e66..bce94ad91be8 100644
--- a/dev-ruby/kpeg/kpeg-1.3.3.ebuild
+++ b/dev-ruby/kpeg/kpeg-1.3.3.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/evanphx/kpeg"
LICENSE="MIT"
SLOT="1"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
ruby_add_bdepend "test? ( dev-ruby/minitest:5 )"
diff --git a/dev-ruby/localhost/localhost-1.1.10.ebuild b/dev-ruby/localhost/localhost-1.1.10.ebuild
index ea6771c4f3d1..492c722d7e91 100644
--- a/dev-ruby/localhost/localhost-1.1.10.ebuild
+++ b/dev-ruby/localhost/localhost-1.1.10.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/socketry/localhost/archive/v${PV}.tar.gz -> ${P}.tar
LICENSE="MIT"
SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
ruby_add_bdepend "
test? (
diff --git a/dev-ruby/marcel/marcel-1.0.2.ebuild b/dev-ruby/marcel/marcel-1.0.2.ebuild
index 69a4dd10a987..44738adb4fa8 100644
--- a/dev-ruby/marcel/marcel-1.0.2.ebuild
+++ b/dev-ruby/marcel/marcel-1.0.2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
RUBY_FAKEGEM_EXTRADOC="README.md"
@@ -19,10 +19,14 @@ SLOT="$(ver_cut 1-2)"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="test"
-ruby_add_bdepend "test? ( dev-ruby/rack )"
+ruby_add_bdepend "test? ( dev-ruby/rack:2.2 )"
all_ruby_prepare() {
- sed -i -e '2irequire "pathname"' -e '/byebug/ s:^:#:' test/test_helper.rb || die
+ sed -i \
+ -e '1igem "rack", "~> 2.0"' \
+ -e '2irequire "pathname"' \
+ -e '/byebug/ s:^:#:' \
+ test/test_helper.rb || die
sed -i -e '/bundler/ s:^:#:' Rakefile || die
}
diff --git a/dev-ruby/maxitest/maxitest-3.7.0.ebuild b/dev-ruby/maxitest/maxitest-3.7.0-r1.ebuild
index 5be938ace85c..be1be73c73c3 100644
--- a/dev-ruby/maxitest/maxitest-3.7.0.ebuild
+++ b/dev-ruby/maxitest/maxitest-3.7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -21,7 +21,7 @@ SLOT="1"
KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
-ruby_add_rdepend "<dev-ruby/minitest-5.15:5"
+ruby_add_rdepend "<dev-ruby/minitest-5.15:*"
ruby_add_bdepend "test? ( dev-ruby/bundler )"
diff --git a/dev-ruby/maxitest/maxitest-4.4.0.ebuild b/dev-ruby/maxitest/maxitest-4.3.0-r1.ebuild
index b0ac344fdff3..5ae8329accb0 100644
--- a/dev-ruby/maxitest/maxitest-4.4.0.ebuild
+++ b/dev-ruby/maxitest/maxitest-4.3.0-r1.ebuild
@@ -21,7 +21,7 @@ SLOT="1"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
-ruby_add_rdepend "<dev-ruby/minitest-5.18:5"
+ruby_add_rdepend "<dev-ruby/minitest-5.17:*"
ruby_add_bdepend "test? ( dev-ruby/bundler )"
diff --git a/dev-ruby/maxitest/maxitest-4.3.0.ebuild b/dev-ruby/maxitest/maxitest-4.4.0-r1.ebuild
index b2ce2bedf6ce..5753c6ff3396 100644
--- a/dev-ruby/maxitest/maxitest-4.3.0.ebuild
+++ b/dev-ruby/maxitest/maxitest-4.4.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -21,7 +21,7 @@ SLOT="1"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
-ruby_add_rdepend "<dev-ruby/minitest-5.17:5"
+ruby_add_rdepend "<dev-ruby/minitest-5.18:*"
ruby_add_bdepend "test? ( dev-ruby/bundler )"
diff --git a/dev-ruby/maxitest/maxitest-4.4.1.ebuild b/dev-ruby/maxitest/maxitest-4.4.1-r1.ebuild
index 9f744436284c..235c3d5a82e5 100644
--- a/dev-ruby/maxitest/maxitest-4.4.1.ebuild
+++ b/dev-ruby/maxitest/maxitest-4.4.1-r1.ebuild
@@ -21,7 +21,7 @@ SLOT="1"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
-ruby_add_rdepend "<dev-ruby/minitest-5.18:5"
+ruby_add_rdepend "<dev-ruby/minitest-5.18:*"
ruby_add_bdepend "test? ( dev-ruby/bundler )"
diff --git a/dev-ruby/mechanize/mechanize-2.8.5.ebuild b/dev-ruby/mechanize/mechanize-2.8.5.ebuild
index 81b808140577..a1ce8b74c848 100644
--- a/dev-ruby/mechanize/mechanize-2.8.5.ebuild
+++ b/dev-ruby/mechanize/mechanize-2.8.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby27 ruby30 ruby31"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md EXAMPLES.rdoc GUIDE.rdoc README.md"
diff --git a/dev-ruby/minitest/minitest-5.15.0.ebuild b/dev-ruby/minitest/minitest-5.15.0-r1.ebuild
index 6564e677a025..b28c97ca07f7 100644
--- a/dev-ruby/minitest/minitest-5.15.0.ebuild
+++ b/dev-ruby/minitest/minitest-5.15.0-r1.ebuild
@@ -13,10 +13,12 @@ DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and s
HOMEPAGE="https://github.com/seattlerb/minitest"
LICENSE="MIT"
-SLOT="5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="5.15"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc test"
+RDEPEND="!~dev-ruby/minitest-5.15.0:5"
+
each_ruby_test() {
MT_NO_PLUGINS=true ${RUBY} -Ilib:test:. -e "Dir['**/test_*.rb'].each{|f| require f}" || die "Tests failed"
}
diff --git a/dev-ruby/minitest/minitest-5.18.0.ebuild b/dev-ruby/minitest/minitest-5.18.0.ebuild
index 3c5fd1ffae81..98b45641405b 100644
--- a/dev-ruby/minitest/minitest-5.18.0.ebuild
+++ b/dev-ruby/minitest/minitest-5.18.0.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/minitest/minitest"
LICENSE="MIT"
SLOT="5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc test"
all_ruby_prepare() {
diff --git a/dev-ruby/mocha/mocha-0.14.0-r1.ebuild b/dev-ruby/mocha/mocha-0.14.0-r1.ebuild
index d4985c30a762..d46ab5b47e50 100644
--- a/dev-ruby/mocha/mocha-0.14.0-r1.ebuild
+++ b/dev-ruby/mocha/mocha-0.14.0-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31 ruby32"
RUBY_FAKEGEM_TASK_TEST="MOCHA_NO_DOCS=true test:units"
@@ -17,7 +17,7 @@ HOMEPAGE="http://gofreerange.com/mocha/docs/"
LICENSE="MIT"
SLOT="0.14"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86"
IUSE=""
ruby_add_bdepend "
@@ -25,6 +25,10 @@ ruby_add_bdepend "
ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.16.0-ruby32.patch
+)
+
all_ruby_prepare() {
sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die
sed -i -e '20irequire "mocha/setup"' test/test_helper.rb || die
diff --git a/dev-ruby/mocha/mocha-2.0.2.ebuild b/dev-ruby/mocha/mocha-2.0.2.ebuild
index 7200023417c0..34b0910a8949 100644
--- a/dev-ruby/mocha/mocha-2.0.2.ebuild
+++ b/dev-ruby/mocha/mocha-2.0.2.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/freerange/mocha/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="MIT"
SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86"
IUSE=""
ruby_add_rdepend ">=dev-ruby/ruby2_keywords-0.0.5"
diff --git a/dev-ruby/moneta/Manifest b/dev-ruby/moneta/Manifest
index 02b8ae792e3a..2aeaeecedd4b 100644
--- a/dev-ruby/moneta/Manifest
+++ b/dev-ruby/moneta/Manifest
@@ -1,2 +1,3 @@
DIST moneta-1.4.1.tar.gz 129056 BLAKE2B b5a7a9fdb1817c88c942ce8cc3353974d556f14e6362722ae4b44c40311241aa5dd7354054e4edaca84edcc3a76b3d43230dc0a376d48911409721137cbf8d01 SHA512 7ff8fec2047a7df7e110480ff87eadc8e33b776176350279dd933b456cc7def0e92b74eb5dfb7ac2b2233232959acd839ede80d491bba0f134c31414d3f7786b
DIST moneta-1.5.1.tar.gz 133512 BLAKE2B 6027685e3e28e238b2d984b02fe2d5e7ccf1dba6646d71980932581e9b63cfa9082aa3c3a1509b679922f480e1601c71475113ad3eea5f8b7644f69998e3bbca SHA512 018b162d75eb7cb5f2d38e1e6a79e5a17abf8aefc381eb3eb4d9d4981ac88be5063ce95b786aa928de1618c6458b926a27bd26f41ad6515cf7ee3dfc1274c236
+DIST moneta-1.6.0.tar.gz 136501 BLAKE2B 5682cfc265ac1c132f53d91c0cb6c2a99a08130d144d2eb8fb544952c29a77556066b36e9ea727df941b1768dec28e99bb3e3f4017ddf5e3cb38e690bcadbe0a SHA512 8f372bfd769205b88cd6f497266074784588ff04b99e3383641b4171cf586210a6655f003bb9e11fe5a2e9dfe5ebbb5fe372b415e2927ab50ee9c8f28bed6b5d
diff --git a/dev-ruby/moneta/moneta-1.6.0.ebuild b/dev-ruby/moneta/moneta-1.6.0.ebuild
new file mode 100644
index 000000000000..fc4f1c4800b1
--- /dev/null
+++ b/dev-ruby/moneta/moneta-1.6.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_RECIPE_TEST="none"
+# test is disabled for now. It requires many packages. Test suite also
+# takes very long run time and has high memory consumption.
+
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.md SPEC.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A unified interface to key/value stores"
+HOMEPAGE="https://github.com/moneta-rb/moneta"
+SRC_URI="https://github.com/moneta-rb/moneta/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -e "s/__dir__/'.'/" \
+ -e "s/_relative//" \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
diff --git a/dev-ruby/multi_test/multi_test-1.1.0.ebuild b/dev-ruby/multi_test/multi_test-1.1.0.ebuild
index 5478e4d51abd..1e1ca98f1d4e 100644
--- a/dev-ruby/multi_test/multi_test-1.1.0.ebuild
+++ b/dev-ruby/multi_test/multi_test-1.1.0.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="A uniform interface for Ruby testing libraries"
HOMEPAGE="https://cucumber.io/"
LICENSE="MIT"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86"
SLOT="$(ver_cut 1)"
IUSE=""
diff --git a/dev-ruby/mustermann/mustermann-3.0.0.ebuild b/dev-ruby/mustermann/mustermann-3.0.0.ebuild
index 9c5d19b419c5..20a8b4e5c86d 100644
--- a/dev-ruby/mustermann/mustermann-3.0.0.ebuild
+++ b/dev-ruby/mustermann/mustermann-3.0.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby27 ruby30 ruby31"
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
# There are specs but they depend heavily on unpackaged code.
RUBY_FAKEGEM_RECIPE_TEST="none"
@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/sinatra/mustermann"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE=""
ruby_add_rdepend "=dev-ruby/ruby2_keywords-0.0*"
diff --git a/dev-ruby/mysql2/mysql2-0.5.5.ebuild b/dev-ruby/mysql2/mysql2-0.5.5.ebuild
index b247f8f33093..5ec2338a5603 100644
--- a/dev-ruby/mysql2/mysql2-0.5.5.ebuild
+++ b/dev-ruby/mysql2/mysql2-0.5.5.ebuild
@@ -2,10 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby27 ruby30 ruby31"
-# Tests require a live MySQL database but should all pass.
-RUBY_FAKEGEM_TASK_TEST=""
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_TASK_DOC=""
@@ -28,9 +28,15 @@ KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="mysql mariadb"
REQUIRED_USE="^^ ( mariadb mysql )"
-MDEPEND="mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( dev-db/mariadb-connector-c:= )"
-DEPEND="${DEPEND} ${MDEPEND}"
-RDEPEND="${RDEPEND} ${MDEPEND}"
+SQL_DEPEND="mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( dev-db/mariadb-connector-c:= )"
+DEPEND="${DEPEND} ${SQL_DEPEND}"
+RDEPEND="${RDEPEND} ${SQL_DEPEND}"
+BDEPEND="
+ test? (
+ mariadb? ( dev-db/mariadb:* )
+ mysql? ( >=dev-db/mysql-8:* )
+ )
+"
all_ruby_prepare() {
sed -i -e '/s.version/ s/Mysql2::VERSION/"'${PV}'"/' ${RUBY_FAKEGEM_GEMSPEC} || die
@@ -47,3 +53,90 @@ each_ruby_configure() {
${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config="${config}" || die
}
+
+each_ruby_test() {
+ local -x USER=$(whoami)
+
+ if use mariadb ; then
+ local -x PATH="${BROOT}/usr/share/mariadb/scripts:${PATH}"
+ fi
+
+ einfo "Creating mysql test instance ..."
+ mkdir -p "${T}"/mysql || die
+ if use mariadb ; then
+ mysql_install_db \
+ --no-defaults \
+ --auth-root-authentication-method=normal \
+ --basedir="${EPREFIX}/usr" \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log || die
+ else
+ mysqld \
+ --no-defaults \
+ --initialize-insecure \
+ --user ${USER} \
+ --basedir="${EPREFIX}/usr" \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log || die
+ fi
+
+ einfo "Starting mysql test instance ..."
+ # TODO: random port
+ mysqld \
+ --no-defaults \
+ --character-set-server=utf8 \
+ --bind-address=127.0.0.1 \
+ --pid-file="${T}"/mysqld.pid \
+ --socket="${T}"/mysqld.sock \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 &
+
+ # wait for it to start
+ local i
+ for (( i = 0; i < 10; i++ )); do
+ [[ -S ${T}/mysqld.sock ]] && break
+ sleep 1
+ done
+ [[ ! -S ${T}/mysqld.sock ]] && die "mysqld failed to start"
+
+ einfo "Configuring test mysql instance ..."
+
+ mysql -u root --socket="${T}"/mysqld.sock -s -e '
+ CREATE DATABASE test1 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
+ ' || die "Failed to create test databases"
+
+ # https://github.com/brianmario/mysql2/blob/master/ci/setup.sh
+ mysql -u root \
+ -e 'CREATE DATABASE /*M!50701 IF NOT EXISTS */ test' \
+ -S "${T}"/mysqld.sock || die
+
+ # https://github.com/brianmario/mysql2/blob/master/tasks/rspec.rake
+ cat <<-EOF > spec/configuration.yml || die
+ root:
+ host: localhost
+ username: root
+ password:
+ database: test
+ socket: ${T}/mysqld.sock
+
+ user:
+ host: localhost
+ username: root
+ password:
+ database: mysql2_test
+ socket: ${T}/mysqld.sock
+ EOF
+
+ nonfatal each_fakegem_test
+ local ret=${?}
+
+ einfo "Stopping mysql test instance ..."
+ pkill -F "${T}"/mysqld.pid || die
+ # wait for it to stop
+ local i
+ for (( i = 0; i < 10; i++ )); do
+ [[ -S ${T}/mysqld.sock ]] || break
+ sleep 1
+ done
+
+ rm -rf "${T}"/mysql || die
+
+ [[ ${ret} -ne 0 ]] && die
+}
diff --git a/dev-ruby/net-http-digest_auth/net-http-digest_auth-1.4.1-r2.ebuild b/dev-ruby/net-http-digest_auth/net-http-digest_auth-1.4.1-r2.ebuild
new file mode 100644
index 000000000000..98aaa02d1b34
--- /dev/null
+++ b/dev-ruby/net-http-digest_auth/net-http-digest_auth-1.4.1-r2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An implementation of RFC 2617 - Digest Access Authentication"
+HOMEPAGE="https://github.com/drbrain/net-http-digest_auth"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE="test"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+each_ruby_test() {
+ ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
+}
diff --git a/dev-ruby/net-ssh/net-ssh-7.0.1.ebuild b/dev-ruby/net-ssh/net-ssh-7.0.1.ebuild
index 989d3c0cbb5a..cce9aefea2d2 100644
--- a/dev-ruby/net-ssh/net-ssh-7.0.1.ebuild
+++ b/dev-ruby/net-ssh/net-ssh-7.0.1.ebuild
@@ -19,7 +19,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> net-ssh-git-${P
LICENSE="GPL-2"
SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc ppc64 x86"
IUSE="ed25519 test"
RESTRICT="!test? ( test )"
diff --git a/dev-ruby/oauth2/Manifest b/dev-ruby/oauth2/Manifest
index 43283ad2672d..23354914b0ab 100644
--- a/dev-ruby/oauth2/Manifest
+++ b/dev-ruby/oauth2/Manifest
@@ -1,2 +1 @@
DIST oauth2-1.4.10.tar.gz 65553 BLAKE2B 4b147a97536ae04b81ca5bc41117bc31c577aae9b7dc1f4f34830d3cd7b7013098e90ae83997c4917ca25e858b8738398eb708bfee954882359ed14b8e810172 SHA512 cee9e1f890f66252451cc22ab7135dda60c73bb200f2f1659a450b09dccc0a219982625ec45866dc9153669a4d35fb543fb6de497bfa83522b99c66e9c8b9d9b
-DIST oauth2-1.4.7.tar.gz 32341 BLAKE2B f3db3ff7ebcf7bc0958a564fdb0812c1bfb613148c5a16655f276fda4d6dac7769196305d854ee0fc3f8b4b53a93b4ae504b348029e1b363bcb704293887347a SHA512 4a43b3f75e827e9a12a74a6fe13a29b141c0d5bcb6a0d5c86dc8d8726f650a9fd5250ecc2c31cee5e985f0cb50e02f828d27fd07577bcac4dfc8ff4e009bd710
diff --git a/dev-ruby/oauth2/oauth2-1.4.7.ebuild b/dev-ruby/oauth2/oauth2-1.4.7.ebuild
deleted file mode 100644
index 255cac1628cc..000000000000
--- a/dev-ruby/oauth2/oauth2-1.4.7.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-USE_RUBY="ruby26 ruby27 ruby30"
-
-RUBY_FAKEGEM_TASK_TEST="none"
-
-RUBY_FAKEGEM_DOCDIR="rdoc"
-RUBY_FAKEGEM_EXTRADOC="README.md"
-
-RUBY_FAKEGEM_GEMSPEC="oauth2.gemspec"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Wrapper for the OAuth 2.0 protocol with a similar style to the OAuth gem"
-HOMEPAGE="https://github.com/intridea/oauth2"
-SRC_URI="https://github.com/intridea/oauth2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
-
-ruby_add_rdepend ">=dev-ruby/faraday-0.8 <dev-ruby/faraday-2.0
- dev-ruby/jwt:2
- >=dev-ruby/multi_json-1.3 =dev-ruby/multi_json-1*
- >=dev-ruby/multi_xml-0.5:0
- >=dev-ruby/rack-1.2:* <dev-ruby/rack-3:*"
-ruby_add_bdepend "test? (
- >=dev-ruby/addressable-2.3
- dev-ruby/rspec:3
- dev-ruby/rspec-stubbed_env
-)"
-
-all_ruby_prepare() {
- sed -e '/simplecov/,/^ end/ s:^:#:' \
- -e '/silent/I s:^:#:' \
- -e '1irequire "uri"' \
- -e '/require.*oauth2/arequire "oauth2/version"' \
- -i spec/helper.rb || die
-
- sed -i -e '/yardstick/,/^end/ s:^:#:' \
- -e '/bundler/I s:^:#:' Rakefile || die
-
- # Avoid spec that is too fragile in relation to ENV
- sed -i -e '/outputs to $stdout when OAUTH_DEBUG=true/a skip "fragile ENV stubbing"' spec/oauth2/client_spec.rb || die
-
- sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
-}
-
-each_ruby_test() {
- CI=true ${RUBY} -S rspec-3 spec || die
-}
diff --git a/dev-ruby/power_assert/power_assert-2.0.3.ebuild b/dev-ruby/power_assert/power_assert-2.0.3.ebuild
index 1df0d3746bef..1547c2eecf3b 100644
--- a/dev-ruby/power_assert/power_assert-2.0.3.ebuild
+++ b/dev-ruby/power_assert/power_assert-2.0.3.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/ruby/power_assert"
SRC_URI="https://github.com/ruby/power_assert/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( Ruby BSD-2 )"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
IUSE=""
diff --git a/dev-ruby/public_suffix/public_suffix-5.0.1.ebuild b/dev-ruby/public_suffix/public_suffix-5.0.1.ebuild
index a00f35560339..66cb5e436700 100644
--- a/dev-ruby/public_suffix/public_suffix-5.0.1.ebuild
+++ b/dev-ruby/public_suffix/public_suffix-5.0.1.ebuild
@@ -14,7 +14,7 @@ inherit ruby-fakegem
DESCRIPTION="Parse and decompose a domain name into top level domain, domain and subdomains"
HOMEPAGE="https://simonecarletti.com/code/publicsuffix-ruby/"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
IUSE=""
diff --git a/dev-ruby/rack-protection/rack-protection-3.0.5.ebuild b/dev-ruby/rack-protection/rack-protection-3.0.5.ebuild
index c1fe98e42fca..be284c2c4bc2 100644
--- a/dev-ruby/rack-protection/rack-protection-3.0.5.ebuild
+++ b/dev-ruby/rack-protection/rack-protection-3.0.5.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby27 ruby30 ruby31"
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
# There are no specs in the gem and the source cannot be downloaded separately.
RUBY_FAKEGEM_RECIPE_TEST="none"
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/rkh/rack-protection"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
ruby_add_rdepend "dev-ruby/rack:*"
diff --git a/dev-ruby/railties/railties-7.0.4.3-r1.ebuild b/dev-ruby/railties/railties-7.0.4.3-r1.ebuild
new file mode 100644
index 000000000000..492588faa3d8
--- /dev/null
+++ b/dev-ruby/railties/railties-7.0.4.3-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_TASK_TEST="test:regular"
+RUBY_FAKEGEM_RECIPE_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
+
+RUBY_FAKEGEM_BINDIR="exe"
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Tools for creating, working with, and running Rails applications"
+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 ~ppc ~ppc64 ~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-eselect/eselect-rails-0.25"
+
+ruby_add_rdepend "
+ ~dev-ruby/activesupport-${PV}
+ ~dev-ruby/actionpack-${PV}
+ dev-ruby/thor:1
+ >=dev-ruby/rake-12.2
+ dev-ruby/method_source
+ >=dev-ruby/zeitwerk-2.5:2
+"
+
+ruby_add_bdepend "
+ test? (
+ ~dev-ruby/actionview-${PV}
+ dev-ruby/mocha:0.14
+ )"
+
+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
+}
+
+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
+}
diff --git a/dev-ruby/ruby2_keywords/ruby2_keywords-0.0.5-r1.ebuild b/dev-ruby/ruby2_keywords/ruby2_keywords-0.0.5-r1.ebuild
index f3f49755d9c2..2e61d28d192c 100644
--- a/dev-ruby/ruby2_keywords/ruby2_keywords-0.0.5-r1.ebuild
+++ b/dev-ruby/ruby2_keywords/ruby2_keywords-0.0.5-r1.ebuild
@@ -16,5 +16,5 @@ HOMEPAGE="https://github.com/ruby/ruby2_keywords"
LICENSE="|| ( BSD-2 Ruby-BSD )"
SLOT="$(ver_cut 1-2)"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE=""
diff --git a/dev-ruby/ruby2_keywords/ruby2_keywords-0.0.5.ebuild b/dev-ruby/ruby2_keywords/ruby2_keywords-0.0.5.ebuild
index 97083b750f15..873e633b2b28 100644
--- a/dev-ruby/ruby2_keywords/ruby2_keywords-0.0.5.ebuild
+++ b/dev-ruby/ruby2_keywords/ruby2_keywords-0.0.5.ebuild
@@ -16,5 +16,5 @@ HOMEPAGE="https://github.com/ruby/ruby2_keywords"
LICENSE="|| ( BSD-2 Ruby-BSD )"
SLOT="$(ver_cut 1-2)"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86"
IUSE=""
diff --git a/dev-ruby/sass/files/sass-3.7.4-use-listen-not-sass-listen.patch b/dev-ruby/sass/files/sass-3.7.4-use-listen-not-sass-listen.patch
new file mode 100644
index 000000000000..17d2aa9217c2
--- /dev/null
+++ b/dev-ruby/sass/files/sass-3.7.4-use-listen-not-sass-listen.patch
@@ -0,0 +1,14 @@
+https://src.fedoraproject.org/rpms/rubygem-sass/blob/rawhide/f/rubygem-sass-3.5.6-use-listen.patch
+--- a/lib/sass/plugin/compiler.rb
++++ b/lib/sass/plugin/compiler.rb
+@@ -377,8 +377,8 @@ module Sass::Plugin
+
+ # This is mocked out in compiler_test.rb.
+ def create_listener(*args, &block)
+- require 'sass-listen'
+- SassListen.to(*args, &block)
++ require 'listen'
++ Listen.to(*args, &block)
+ end
+
+ def remove_redundant_directories(directories)
diff --git a/dev-ruby/sass/sass-3.7.4-r2.ebuild b/dev-ruby/sass/sass-3.7.4-r2.ebuild
new file mode 100644
index 000000000000..43ee9a37a950
--- /dev/null
+++ b/dev-ruby/sass/sass-3.7.4-r2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, and more"
+HOMEPAGE="https://sass-lang.com/"
+SRC_URI="https://github.com/sass/ruby-sass/archive/${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="ruby-sass-${PV}"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux"
+
+ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )"
+
+ruby_add_rdepend "
+ !!<dev-ruby/sass-3.4.25-r1:3.4
+ !!<dev-ruby/sass-3.5.7-r1:3.5
+ dev-ruby/listen
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.7.4-use-listen-not-sass-listen.patch
+)
+
+# tests could use `less` if we had it
+
+all_ruby_prepare() {
+ # Match activesupport which gets dragged in
+ sed -i -e '/minitest.*>= 5/s:.*:&, "< 5.16":' ${PN}.gemspec || die
+ sed -i -e '/minitest/s:6.0:5.16:' Gemfile || die
+ sed -i -e "/require 'minitest\/autorun'/igem 'minitest', '< 5.16'" test/test_helper.rb || die
+
+ # We use dev-ruby/listen now instead of dev-ruby/sass-listen
+ sed -i \
+ -e "/sass-listen/s:, '~> 4.0.0'::" \
+ -e "s:sass-listen:listen:" \
+ ${PN}.gemspec || die
+
+ # Don't require maruku as markdown provider but let yard decide.
+ sed -i -e '/maruku/d' .yardopts || die
+
+ # Keep VERSION_DATE around since we don't create a new package
+ sed -i -e '/at_exit/,/end/ s:^:#:' Rakefile || die
+}
+
+each_ruby_test() {
+ RUBOCOP=false ${RUBY} -S rake test:ruby || die
+}
diff --git a/dev-ruby/selenium-webdriver/selenium-webdriver-4.1.0.ebuild b/dev-ruby/selenium-webdriver/selenium-webdriver-4.1.0.ebuild
index 938aace196e4..29944400ea25 100644
--- a/dev-ruby/selenium-webdriver/selenium-webdriver-4.1.0.ebuild
+++ b/dev-ruby/selenium-webdriver/selenium-webdriver-4.1.0.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
# NOTE: this package contains precompiled code. It appears that all
# source code can be found at https://code.google.com/p/selenium/ but the
diff --git a/dev-ruby/sinatra/sinatra-3.0.5-r1.ebuild b/dev-ruby/sinatra/sinatra-3.0.5-r1.ebuild
new file mode 100644
index 000000000000..d58ccd568438
--- /dev/null
+++ b/dev-ruby/sinatra/sinatra-3.0.5-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true test:core"
+
+RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS.md CHANGELOG.md"
+
+RUBY_FAKEGEM_GEMSPEC="sinatra.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A DSL for quickly creating web applications in Ruby with minimal effort"
+HOMEPAGE="https://sinatrarb.com/"
+SRC_URI="https://github.com/sinatra/sinatra/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_rdepend "
+ dev-ruby/mustermann:3
+ >=dev-ruby/rack-2.2.4:2.2
+ ~dev-ruby/rack-protection-${PV}
+ dev-ruby/tilt:2"
+ruby_add_bdepend "
+ test? (
+ dev-ruby/builder
+ dev-ruby/erubi
+ dev-ruby/haml
+ >=dev-ruby/rack-test-0.5.6
+ <dev-ruby/activesupport-7
+ )
+"
+ruby_add_bdepend "doc? ( dev-ruby/yard )"
+
+all_ruby_prepare() {
+ # Matching dev-ruby/activesupport
+ sed -i -e '/minitest.*~> 5.0/s:.*:&, "< 5.16":' Gemfile || die
+
+ sed -i \
+ -e "/require 'rack'/igem 'rack', '~> 2.2', '>= 2.2.4'" \
+ -e "/require 'minitest'/igem 'minitest', '< 5.16'" \
+ -e '/active_support\/core_ext\/hash/igem "activesupport", "<7"' \
+ test/helper.rb || die
+
+ # Avoid spec broken by newer rack versions, already removed upstream.
+ sed -i -e 's/"bytes=IV-LXVI", //' test/static_test.rb || die
+}
diff --git a/dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r2.ebuild b/dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r2.ebuild
new file mode 100644
index 000000000000..242ef49f69eb
--- /dev/null
+++ b/dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Sprockets implementation for Rails 4.x (and beyond) Asset Pipeline"
+HOMEPAGE="https://github.com/rails/sprockets-rails"
+SRC_URI="https://github.com/rails/sprockets-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux"
+
+IUSE="test"
+
+ruby_add_rdepend "
+ >=dev-ruby/actionpack-5.2:*
+ >=dev-ruby/activesupport-5.2:*
+ >=dev-ruby/sprockets-3.0.0:*"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/minitest:5.15
+ >=dev-ruby/railties-5.2:*
+ dev-ruby/test-unit:2
+ )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' Rakefile || die
+
+ # Match activesupport
+ sed -i -e "1igem 'minitest', '< 5.16'" test/*.rb || die
+
+ # It looks like tests are order dependent
+ sed -i -e '/test_order/ s/:random/:alpha/' test/test_helper.rb || die
+}
diff --git a/dev-ruby/sprockets/sprockets-4.2.0.ebuild b/dev-ruby/sprockets/sprockets-4.2.0-r1.ebuild
index 5462145cfa71..1842bcdda122 100644
--- a/dev-ruby/sprockets/sprockets-4.2.0.ebuild
+++ b/dev-ruby/sprockets/sprockets-4.2.0-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby27 ruby30 ruby31"
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
RUBY_FAKEGEM_EXTRADOC="README.md"
@@ -22,7 +22,7 @@ IUSE=""
ruby_add_rdepend "
dev-ruby/concurrent-ruby:1
- >=dev-ruby/rack-2.2.4:2.2
+ >=dev-ruby/rack-2.2.4:3.0
"
ruby_add_bdepend "test? (
diff --git a/dev-ruby/sshkit/sshkit-1.21.4.ebuild b/dev-ruby/sshkit/sshkit-1.21.4.ebuild
index 8eeed28c437d..3ba31d6cef43 100644
--- a/dev-ruby/sshkit/sshkit-1.21.4.ebuild
+++ b/dev-ruby/sshkit/sshkit-1.21.4.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/capistrano/sshkit"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
IUSE=""
ruby_add_rdepend "
diff --git a/dev-ruby/sus-fixtures-async/sus-fixtures-async-0.1.1.ebuild b/dev-ruby/sus-fixtures-async/sus-fixtures-async-0.1.1.ebuild
index 86447527d3cc..ab8cfdfd6df3 100644
--- a/dev-ruby/sus-fixtures-async/sus-fixtures-async-0.1.1.ebuild
+++ b/dev-ruby/sus-fixtures-async/sus-fixtures-async-0.1.1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/socketry/sus-fixtures-async/archive/v${PV}.tar.gz ->
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
ruby_add_rdepend "
dev-ruby/async
diff --git a/dev-ruby/webrick/webrick-1.8.1.ebuild b/dev-ruby/webrick/webrick-1.8.1.ebuild
index 5a8e1b8cf170..e227637cab0b 100644
--- a/dev-ruby/webrick/webrick-1.8.1.ebuild
+++ b/dev-ruby/webrick/webrick-1.8.1.ebuild
@@ -15,10 +15,13 @@ HOMEPAGE="https://github.com/ruby/webrick"
SRC_URI="https://github.com/ruby/webrick/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( Ruby-BSD BSD-2 )"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
IUSE="test"
all_ruby_prepare() {
sed -i -e "s:_relative ': './:" ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Increase timeout for test to help out slow arches
+ sed -i -e '/EnvUtil.timeout(10) do/s:10:60:' test/webrick/test_ssl_server.rb || die
}