summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/Manifest.gzbin108304 -> 108303 bytes
-rw-r--r--dev-ruby/elastic-transport/Manifest2
-rw-r--r--dev-ruby/elastic-transport/elastic-transport-8.2.4.ebuild77
-rw-r--r--dev-ruby/ffi/Manifest6
-rw-r--r--dev-ruby/ffi/ffi-1.16.1.ebuild66
-rw-r--r--dev-ruby/ffi/ffi-1.16.2.ebuild (renamed from dev-ruby/ffi/ffi-1.16.0.ebuild)0
-rw-r--r--dev-ruby/zeitwerk/Manifest2
-rw-r--r--dev-ruby/zeitwerk/zeitwerk-2.6.12.ebuild37
8 files changed, 120 insertions, 70 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz
index 1ca8f1f58b3c..40856b502195 100644
--- a/dev-ruby/Manifest.gz
+++ b/dev-ruby/Manifest.gz
Binary files differ
diff --git a/dev-ruby/elastic-transport/Manifest b/dev-ruby/elastic-transport/Manifest
index bfef52a0abc4..174c8b0ac6ab 100644
--- a/dev-ruby/elastic-transport/Manifest
+++ b/dev-ruby/elastic-transport/Manifest
@@ -1,5 +1,7 @@
DIST elastic-transport-8.2.2.tar.gz 55336 BLAKE2B e68c5280c706cbef9b72681c8f2e1ba1847460f6d3f04a35c4faa05a000f236fbbf19a70d129e3d0a31937626d11c7fc077046d6b843d2c3e15c908ef32e9e18 SHA512 34d52bc39f51fe5011e389de6fadaa943a11d0216198976ef06768222eb34583d0ae50d250edc3253e0956eb68e58c507e7f2598535f807425fbd8224caa1154
DIST elastic-transport-8.2.3.tar.gz 55339 BLAKE2B 648bef27a8fb55c9d617429f8c9921963b8c79c4ed4ca47652f8ab351178b472a63b7ff3b7e3736281a2c31f26433a159acae7704d745ecda118730f091bbd47 SHA512 a35538fc9dbea9262418b34bb91cb2b48b7729536e160b2c30a0ecb2c65d81b7c749015c4254e55950687d30ba6996ad618ed3d11e975eb6a7a32c284a0ea755
+DIST elastic-transport-8.2.4.tar.gz 55964 BLAKE2B 8f995985e543dcf4a472a8b034116eede1a4ca7fd71e710cef57c4437243e9607ecf80cd8d345a09b1583df98f5539f0e9702940cdeca13845c6f3a4b6f3dbee SHA512 79ec2b0dadd4c63e502e426264ceabf8fc76c7c28c78ec3e03b91f9e09c5a347c8151c2a99a7cb775fb5558ee42e24b8c9b8cceaa112df0fc3d2b02daebb12e6
EBUILD elastic-transport-8.2.2.ebuild 2589 BLAKE2B 15505b7b315efcdcdeb4d4fd5ece9febe53292d92ba140e5a8e29f519598580a21026ef689e3a7910db047d992b3738ab669c38dc79a59b06a215f5790c06f50 SHA512 a89354a9775e5167884d43fb98c8c2d712d40ce8a5dd5890fe514c4138ae3d1b9917d9369c2b5ab9f7a47359cd839a20b4bc5d53aa81a50485b4cc1fade82379
EBUILD elastic-transport-8.2.3.ebuild 2582 BLAKE2B 96ac1c68cee2aa9508476cfca05d8240de29dffb73d8402c9d9c91ff68faf5ea27919150a48cc5c7cd5a057c758c30fe38696bd0fe558380d07f9e6c44814899 SHA512 cbf30dafa9c34fd1728d798f7740081a0d5dbab690ba2799913d145f30aa7b78424d278786d2f9c574a2684e0b7b05d5fa148d18db228f0b04af65ea9864d64d
+EBUILD elastic-transport-8.2.4.ebuild 2582 BLAKE2B 96ac1c68cee2aa9508476cfca05d8240de29dffb73d8402c9d9c91ff68faf5ea27919150a48cc5c7cd5a057c758c30fe38696bd0fe558380d07f9e6c44814899 SHA512 cbf30dafa9c34fd1728d798f7740081a0d5dbab690ba2799913d145f30aa7b78424d278786d2f9c574a2684e0b7b05d5fa148d18db228f0b04af65ea9864d64d
MISC metadata.xml 320 BLAKE2B ba9eb4e83e76707d7b732615b4764e7c866ddd9c9aaba3dd36feffb7ac6da61ee0c98abf9f547ec86a5377e8da8314d387dacdd3a20bcb0bae6e80eb32ef2b16 SHA512 651d6d0facc37affbf52d64ff6a5e8bd71842fd27f8ef8399ed84f972f98cc88063af826ed2e29a00337e15ae24cb04b8fd1466f46c2571656ddbcb7e7fc0f72
diff --git a/dev-ruby/elastic-transport/elastic-transport-8.2.4.ebuild b/dev-ruby/elastic-transport/elastic-transport-8.2.4.ebuild
new file mode 100644
index 000000000000..c9d6146ca24d
--- /dev/null
+++ b/dev-ruby/elastic-transport/elastic-transport-8.2.4.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Transport classes and utilities shared among Ruby Elastic client libraries"
+HOMEPAGE="https://github.com/elastic/elastic-transport-ruby"
+SRC_URI="https://github.com/elastic/elastic-transport-ruby/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="elastic-transport-ruby-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ || ( dev-ruby/faraday:2 dev-ruby/faraday:1 )
+ dev-ruby/multi_json
+"
+ruby_add_bdepend "
+ doc? ( dev-ruby/yard )
+ test? (
+ dev-ruby/ansi
+ dev-ruby/hashie
+ || ( ( dev-ruby/faraday:2 dev-ruby/faraday-net_http_persistent ) dev-ruby/faraday:1 )
+ dev-ruby/mocha:1.0
+ dev-ruby/pry
+ dev-ruby/rspec:3
+ dev-ruby/shoulda-context
+ dev-ruby/curb
+ )
+"
+
+all_ruby_prepare() {
+ # fix to work without git
+ sed -i -e 's/git ls-files/find * -type f/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # remove useless dependencies from Rakefile
+ sed -e '/bundler/d' \
+ -e '/require.*cane/,/end/d' \
+ -i Rakefile || die
+
+ # Tweak test setup to only run unit tests since we don't have a live cluster
+ sed -e "s/RUBY_VERSION > '1.9'/false/" \
+ -e '/module Elasticsearch/,$ s:^:#:' \
+ -e '/reporters/ s:^:#: ; /Reporters::SpecReporter/,/^end/ s:^:#: ; /Reporters.use/ s:^:#:' \
+ -i test/test_helper.rb || die
+
+ sed -e '/pry/ s:^:#:' \
+ -e '/config.formatter/ s:^:#:' \
+ -i spec/spec_helper.rb || die
+
+ # Avoid specs that require a running elasticsearch instance
+ sed -e '/#perform_request/ s/describe/xdescribe/' \
+ -e '/when the client connects/ s/context/xcontext/' \
+ -i spec/elastic/transport/client_spec.rb || die
+ sed -e '/retries on 404 status the specified number of max_retries/ s/it/xit/' \
+ -i spec/elastic/transport/base_spec.rb || die
+
+ # Avoid specs that require unpackaged gems
+ sed -e '/when using the HTTPClient adapter/ s/context/xcontext/' \
+ -e '/require.*httpclient/ s:^:#:' \
+ -e '/when the adapter is \(patron\|typhoeus\)/ s/context/xcontext/' \
+ -e '/require.*\(patron\|typhoeus\)/ s:^:#:' \
+ -e '/when the adapter \(can be detected\|is specified as a string key\)/ s/context/xcontext/' \
+ -e '/when the Faraday adapter is \(configured\|set in the block\)/ s/context/xcontext/' \
+ -i spec/elastic/transport/client_spec.rb || die
+ sed -e '/using \(httpclient\|patron\|typhoeus\)/ s/context/xcontext/' \
+ -i spec/elastic/transport/meta_header_spec.rb || die
+}
diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest
index dedf0a280c91..64565ea20626 100644
--- a/dev-ruby/ffi/Manifest
+++ b/dev-ruby/ffi/Manifest
@@ -4,10 +4,8 @@ AUX fix-regenerate-types-conf.patch 906 BLAKE2B dfeb2257e4cf63de918a194a74ac367b
AUX pr-957-sparc.patch 1681 BLAKE2B e08a03d5e054ce030c04cb0645ed2683faa9d0ec8782313464112e3dd3adf0b8ee40f7fbea9aec15ee7590189e93f03617fe06b506e2ea049535e48bc33a8f23 SHA512 32bd488a3cc4b0c81d8f7f9f2875e591b8de7bf741b838aab3f20ea64025984b3d83c393e1e8f0b628f009b2473d381139655f965cc746dc9074cbe57171cb7d
AUX use-libffi-closure-allocations-on-hppa.patch 761 BLAKE2B a6f460a967752b20ecf9a138b9b7dfa76acd290dae369629af75fe691402ad444bae9d9f27360df38770c018287d2e526c594394a206cf295bd586701f1aa9c8 SHA512 b247a5276f51a66042a235bc6e02a675bb696c6fa600d541c040f6adfaadd458d037db2eecbfff4ddc2d9bd61b0dfb8b90c149bf3181517377d0ccb71ec31161
DIST ffi-git-1.15.5.tgz 168139 BLAKE2B 2ddd5bd7bfb7bcd39b6d740cbb1e0f4cd419ce6cb4ec12926f91f254b3f3142bc6166728a81a6f23dccfbf7aec911c63237c20fb0e2c70d30d48f4648e352585 SHA512 3668bafae936bf5010f014fbcf63258b023bcc318882775e7d2fcfc11334722ec2b6e8a8b9c910d406889fb173dd503c5c13f5af8e4f6927921f12f688461707
-DIST ffi-git-1.16.0.tgz 183318 BLAKE2B 41e9fc25e0e1ed7b295af2d19e02c8fabfa8f4382392549233ac386b9ace9ee87625b5b9b54ef99508d8ff2df6f286a6a4de0cc387d22173e625f68f4617736e SHA512 4677a65b9cfc09a1ad239327b29c89ecc7a668d981be9ad231c59fe3e0b82f18a2cea26fbf4253e0e3d1bd69b4fae4a027aad374af3b03c19a4395925355352f
-DIST ffi-git-1.16.1.tgz 183333 BLAKE2B 4c7c79d3dd26713eb2efbdb62ff8057a1e0cd9df95082ea60ef3fc896251a6c62a62665704f04cf1041382fd1604897e1d16cef620776e74f2a840206b7438a4 SHA512 144d9985bacd1a68e35bd1a8c600096c1488c00fce9731abd58241fc12319c7bd1f23805d7a66f3f20335b8b28db1c3769fb41b9b15bf6744ffe573e6e979dc8
+DIST ffi-git-1.16.2.tgz 183435 BLAKE2B e2c9dad9c18f1a675905a000c8cec4ecfd0213df52476df21a035ca96faf257260896721364fcadc2e3bfec364dc7d036fc7402ebcc1c1a10af15f8ce9e2df7c SHA512 8329b67fbb6b1c9a8df1eacc2f8b1c2e2b2d80902914af76060fb9f3dad493ca4cfa0624596c080d641f38324bef165f2a6f7fafefe3e0e0653951f8189ed579
EBUILD ffi-1.15.5-r1.ebuild 1807 BLAKE2B 975e97790e1cc70bd1d3dfc8f403dd0df6b61476a65fd0cb9028f33b9d7b9a900819999143ba277b101c9a6ca951fba66400a8ec3f8806a0af06ebacfdff251d SHA512 2ec5139f987450c71e35783af67616effceb988ac34683462d1c0f67492d6c92f8d642a3d7761db2b0517410a53e8ac3d7fa86d684f1919606c361e4055f8337
EBUILD ffi-1.15.5-r2.ebuild 2011 BLAKE2B a8ee77023acb76d3697a3f4aabeb9fd7b698b10b5cfdc5668b2307ebd8959e6286929370ee8392db592bf9ba928f98cfa4a0d28e6a8a28cd0109131e8d063a72 SHA512 13dff67eb0bf7b5ad5da6d9832884789dbd87ed751223c6e8176b8e0fcce4c3178ecf88d33db25176103909cd4e357ed6c72732c2d2d84c2c3252893b4da6841
-EBUILD ffi-1.16.0.ebuild 1699 BLAKE2B f22cde54a65ba14d8026330f3743c8b9fe91142315a169632f5694d4b659810609804c6f2e2833e257e5a9d97beb6d4f4a29f45cb36b2f512d8e6ccc5ad9e8e8 SHA512 bbaeec58868e19d0d6ad91f4a49b358971d6ccc215e3f1fef63bf7762b42ad19393ab0080eaab25afd79f1fe700126fe07a3f9981b12c17897fffc86a0522781
-EBUILD ffi-1.16.1.ebuild 1699 BLAKE2B f22cde54a65ba14d8026330f3743c8b9fe91142315a169632f5694d4b659810609804c6f2e2833e257e5a9d97beb6d4f4a29f45cb36b2f512d8e6ccc5ad9e8e8 SHA512 bbaeec58868e19d0d6ad91f4a49b358971d6ccc215e3f1fef63bf7762b42ad19393ab0080eaab25afd79f1fe700126fe07a3f9981b12c17897fffc86a0522781
+EBUILD ffi-1.16.2.ebuild 1699 BLAKE2B f22cde54a65ba14d8026330f3743c8b9fe91142315a169632f5694d4b659810609804c6f2e2833e257e5a9d97beb6d4f4a29f45cb36b2f512d8e6ccc5ad9e8e8 SHA512 bbaeec58868e19d0d6ad91f4a49b358971d6ccc215e3f1fef63bf7762b42ad19393ab0080eaab25afd79f1fe700126fe07a3f9981b12c17897fffc86a0522781
MISC metadata.xml 334 BLAKE2B 02ad2c909797d4aaf2a23497611777a790000683866cfbd9d12c4b19cca6de902e219584c4edc85c46b4b0dc51c63e770506a077a4c1052b46f8df19a9588c15 SHA512 e72dc6ce177ad3881f5465f10cd44ca6740b7603ab4e55cfa9e6088be3c6615abeefaee4b717e76fab2850c64d66eee626115544e10709f64c4187f1987bcfe3
diff --git a/dev-ruby/ffi/ffi-1.16.1.ebuild b/dev-ruby/ffi/ffi-1.16.1.ebuild
deleted file mode 100644
index dd92a3fe02db..000000000000
--- a/dev-ruby/ffi/ffi-1.16.1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-USE_RUBY="ruby31 ruby32"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_DOCDIR="doc"
-RUBY_FAKEGEM_EXTRADOC="README.md"
-
-RUBY_FAKEGEM_GEMSPEC="ffi.gemspec"
-
-RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb)
-
-inherit ruby-fakegem toolchain-funcs
-
-DESCRIPTION="Ruby extension for programmatically loading dynamic libraries"
-HOMEPAGE="https://github.com/ffi/ffi/wiki"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-
-# Needs recent libffi for HPPA fixes (and probably Apple arm64 too)
-RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:="
-DEPEND+=" >=dev-libs/libffi-3.4.4-r1:="
-
-ruby_add_bdepend "dev-ruby/rake"
-
-all_ruby_prepare() {
- sed -i -e '/tasks/ s:^:#:' \
- -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die
-
- sed -e '/require/c\require "./lib/ffi/version"' \
- -e 's/git ls-files -z/find * -print0/' \
- -e '/^ lfs/,/^ end/ s:^:#:' \
- -i ${RUBY_FAKEGEM_GEMSPEC} || die
-
- # Fix Makefile for tests
- sed -i -e '/CCACHE :=/ s:^:#:' \
- -e 's/-O2//' \
- -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die
-
- # Remove bundled version of libffi.
- rm -rf ext/ffi_c/libffi || die
-}
-
-each_ruby_compile() {
- each_fakegem_compile
-
- ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed"
-}
-
-each_ruby_test() {
- CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die
-}
-
-all_ruby_install() {
- all_fakegem_install
-
- docinto examples
- dodoc samples/*
-}
diff --git a/dev-ruby/ffi/ffi-1.16.0.ebuild b/dev-ruby/ffi/ffi-1.16.2.ebuild
index dd92a3fe02db..dd92a3fe02db 100644
--- a/dev-ruby/ffi/ffi-1.16.0.ebuild
+++ b/dev-ruby/ffi/ffi-1.16.2.ebuild
diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest
index 812971133cef..aeaf910f0331 100644
--- a/dev-ruby/zeitwerk/Manifest
+++ b/dev-ruby/zeitwerk/Manifest
@@ -1,8 +1,10 @@
DIST zeitwerk-2.6.11.tar.gz 127029 BLAKE2B 7d810c1b6087522757e60ed0d70fe73dc8633474769992a9b9864a4437a44b482e804f8a7d10c1bc54395054539e80e98be926f31025a7abde5016df87636622 SHA512 6fb2fcf158497f7c11b8edc815a4ac4318d9794c9c76af9a6bed969cee3192f552624c9dfcde8147aafbdf6a754e6715523721d91eb219174f9b768ef4688431
+DIST zeitwerk-2.6.12.tar.gz 127162 BLAKE2B 863e9ff44c14843378e49b34c1ce7694d8d5026f823df5abf69c810f01e3affe9a96de5b615b2d04ab5d71f61e24d42df5b72ef4a415f238428efb4914ac695d SHA512 9d153ed6833a799b0cc2fcbeacab9daca4ef94c2b3871ec5a5cc79cb413f845d53901a875d7b4f2d2b13bd18e2aa9f0858642b76ef3550a1b58f90a9f5d54e9e
DIST zeitwerk-2.6.7.tar.gz 122658 BLAKE2B 7435f8fb117be8186d56262c0aa8832132105d065cfdd470ed293e9530aa282edd824593f28199b908476a47f90507158beb216b803d39fdaa956d32ffa072ea SHA512 666f527771bc10d34b05a8f27996a9a7adf89466c54fd30a174a1e2e6df2500a2a658e08505964644d25ebd11ed13bf3f741724bfc9fd2a189c3e7b3ce24ffc0
DIST zeitwerk-2.6.8.tar.gz 124209 BLAKE2B 7274b0e9cd55d48fa619d1e9da44074268186c119584fdc3ba18656db33884ec2e24a76ace863d18b0ec51601cde5a3cb9ed35889dcfd3f619960ddfcb1465c6 SHA512 b0609f7d38572d95bdf1a065a9051a7c39b15a7910e354981c991862692e2535477b4abd0a3c623a5d37e53622d95566ecf0d0243ca96fef59f0135693731a71
EBUILD zeitwerk-2.6.11-r1.ebuild 1073 BLAKE2B df1ffb29307045f4f6524fee636183d3ef7586b9d5a4896c6c3eed77691c8f3ad9dd90513a7e2594c85570dc55da563731dbc143ba2483f34f8ca572099ad4a3 SHA512 eaf239f52d97051305d43c2156ec7a2c25dda7a1767a9bdb8537189c519fe0152af9855162bec897a403272ab423609d796ec36cc3197f6f1eeb4e87da635860
EBUILD zeitwerk-2.6.11.ebuild 1081 BLAKE2B 909565ce0f3379671c75c41c10c41e2cd71f63888d883bffa68e59d52fff64cafbe322ccd6f727c6b1309d552a9cc02148c731de0883d9ac712bc29908939b72 SHA512 a07b6d393fbab88b0e6e2bdb2e16bf85db3f1873776a3377a3b48447c651a9fcf89a59e2a8ced926e0a607986378c7a9684bfc0020205bdd8a255778cc458c6c
+EBUILD zeitwerk-2.6.12.ebuild 1073 BLAKE2B df1ffb29307045f4f6524fee636183d3ef7586b9d5a4896c6c3eed77691c8f3ad9dd90513a7e2594c85570dc55da563731dbc143ba2483f34f8ca572099ad4a3 SHA512 eaf239f52d97051305d43c2156ec7a2c25dda7a1767a9bdb8537189c519fe0152af9855162bec897a403272ab423609d796ec36cc3197f6f1eeb4e87da635860
EBUILD zeitwerk-2.6.7.ebuild 1081 BLAKE2B d4168c85ed2db2e903105327568905ff3b3cae119604355b70d029844de48ca03d01b961cce4e5bfe32fc60a22113ae5da9a8f1a82e2376b4969a5802d0d0175 SHA512 459a0b81827bae44a2a02da8d68f51c9b2ccc8ed4f1ce233ac03f51305485bb33201d42f5144f643fcfba8cdea7ece5d96472f3139d1c3d1f4cf6677f40b1b0c
EBUILD zeitwerk-2.6.8.ebuild 1081 BLAKE2B 909565ce0f3379671c75c41c10c41e2cd71f63888d883bffa68e59d52fff64cafbe322ccd6f727c6b1309d552a9cc02148c731de0883d9ac712bc29908939b72 SHA512 a07b6d393fbab88b0e6e2bdb2e16bf85db3f1873776a3377a3b48447c651a9fcf89a59e2a8ced926e0a607986378c7a9684bfc0020205bdd8a255778cc458c6c
MISC metadata.xml 641 BLAKE2B 27f5d9950eee9945425ab5606b78e7c745345e49dcfc201b55bf52693b3882d44206a82af09134696e694e524202d9c43f642c0854bdcf640356db8f8c84972a SHA512 b744fa895c31a93a5566151b3b3d73308ad41a7b43638ccd9aa00c9fceda495279d32f56e9c68cf44adea06f0e6842e38324c2f20b412e46f05b78c35288869c
diff --git a/dev-ruby/zeitwerk/zeitwerk-2.6.12.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.6.12.ebuild
new file mode 100644
index 000000000000..ceb5b959ebb4
--- /dev/null
+++ b/dev-ruby/zeitwerk/zeitwerk-2.6.12.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Efficient and thread-safe code loader for Ruby"
+HOMEPAGE="https://github.com/fxn/zeitwerk"
+SRC_URI="https://github.com/fxn/zeitwerk/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~riscv ~sparc ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/warning )"
+
+all_ruby_prepare() {
+ rm -f Gemfile.lock || die
+ # Dropping proveit should be fine based on https://github.com/fxn/zeitwerk/pull/253
+ # It's more of a quality check for the tests themselves rather than a test
+ sed -i -e '/\(focus\|reporters\|Reporters\|prove_\?it\)/ s:^:#:' Gemfile test/test_helper.rb || die
+
+ sed -i -e 's:require_relative "lib:require "./lib:' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S bundle exec rake test || die
+}