diff options
Diffstat (limited to 'dev-ruby')
64 files changed, 399 insertions, 831 deletions
diff --git a/dev-ruby/ascii85/ascii85-1.1.0.ebuild b/dev-ruby/ascii85/ascii85-1.1.0-r1.ebuild index c28d7b412d5a..6e96f6db44d0 100644 --- a/dev-ruby/ascii85/ascii85-1.1.0.ebuild +++ b/dev-ruby/ascii85/ascii85-1.1.0-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=7 +EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="README.md History.txt" @@ -18,7 +18,6 @@ HOMEPAGE="https://github.com/datawraith/ascii85gem" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="test" ruby_add_bdepend "test? ( dev-ruby/minitest )" diff --git a/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.18.ebuild b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.18.ebuild index c7938cd7693d..58da5a7621b9 100644 --- a/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.18.ebuild +++ b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.18.ebuild @@ -3,7 +3,7 @@ EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="rspec3" @@ -18,11 +18,10 @@ inherit ruby-fakegem DESCRIPTION="An easy way to keep your users' passwords secure" HOMEPAGE="https://github.com/codahale/bcrypt-ruby" -LICENSE="MIT" -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" +LICENSE="MIT" SLOT="0" -IUSE="" +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" all_ruby_prepare() { rm Gemfile || die @@ -30,23 +29,22 @@ all_ruby_prepare() { } each_ruby_install() { - each_fakegem_install + each_fakegem_install + + # bcrypt was called bcrypt-ruby before, so add a spec file that + # simply loads bcrypt to make sure that old projects load correctly + # we don't even need to create a file to load this: the `require + # bcrypt` was already part of bcrypt-ruby requirements. + cat <<-EOF > "${T}/bcrypt-ruby.gemspec" || die + Gem::Specification.new do |s| + s.name = "bcrypt-ruby" + s.version = "${RUBY_FAKEGEM_VERSION}" + s.summary = "Fake gem to load bcrypt" + s.homepage = "${HOMEPAGE}" + s.specification_version = 3 + s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"]) + end + EOF - # bcrypt was called bcrypt-ruby before, so add a spec file that - # simply loads bcrypt to make sure that old projects load correctly - # we don't even need to create a file to load this: the `require - # bcrypt` was already part of bcrypt-ruby requirements. - cat - <<EOF > "${T}/bcrypt-ruby.gemspec" -Gem::Specification.new do |s| - s.name = "bcrypt-ruby" - s.version = "${RUBY_FAKEGEM_VERSION}" - s.summary = "Fake gem to load bcrypt" - s.homepage = "${HOMEPAGE}" - s.specification_version = 3 - s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"]) -end -EOF - RUBY_FAKEGEM_NAME=bcrypt-ruby \ - RUBY_FAKEGEM_GEMSPEC="${T}/bcrypt-ruby.gemspec" \ - ruby_fakegem_install_gemspec + RUBY_FAKEGEM_NAME=bcrypt-ruby RUBY_FAKEGEM_GEMSPEC="${T}/bcrypt-ruby.gemspec" ruby_fakegem_install_gemspec } diff --git a/dev-ruby/benchmark-ips/Manifest b/dev-ruby/benchmark-ips/Manifest index 857c150d8d53..177adb11af9a 100644 --- a/dev-ruby/benchmark-ips/Manifest +++ b/dev-ruby/benchmark-ips/Manifest @@ -1,3 +1,2 @@ DIST benchmark-ips-2.10.0.tar.gz 19840 BLAKE2B 53c219921144632dc91971fa3558bcaf106887d7deafbd7145c1ad12d09d37ecbe17dd07a3da7f8a2c5bedea4a228d76d72bd8e54b14c94c4b21f2e9823cb8f6 SHA512 aeb86bfd80c6ac6a16df8dced2681e81bcb6a0a31848524956b348cd699addebdda4b1a32c6eab85884b89bfb9c26e01f40af7da5a58e187af3a737ad582b8dc DIST benchmark-ips-2.12.0.tar.gz 20676 BLAKE2B 1473fb8cc42d62cf6b7206d91c9d959707109e3ade9d712d82ab5ccfdcc48bb4874bae4c37370561aa60fe8c99078564a22a5a216daa6b870015329db1094af1 SHA512 ad4a7133b73d3ead583513704cbf00ef858b7fc5477686d3841614f05a83f3b4551b1fcab78e9a8affe7c8487112d9fde5012bf8a8e13621d289d792ff27c061 -DIST benchmark-ips-2.9.2.gem 21504 BLAKE2B e1ff44841c42a2ac919bc33be517aab8c09ede32fcf2d72d143a21bbaf8c67a99ea8abcfc10a473afc456be735836fa44135ff3c295380bf21d09cc43337977e SHA512 b20d80e42a6175a2c2b75be7a1d423b0ecd1aa201be9cb443f838bcdbfba08d54cdd5e43a203834d451b9ce37219b6e1c8227a5196ee84a132c7ed9fd9431270 diff --git a/dev-ruby/benchmark-ips/benchmark-ips-2.9.2.ebuild b/dev-ruby/benchmark-ips/benchmark-ips-2.9.2.ebuild deleted file mode 100644 index 9ded688c8038..000000000000 --- a/dev-ruby/benchmark-ips/benchmark-ips-2.9.2.ebuild +++ /dev/null @@ -1,27 +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_EXTRADOC="History.txt README.md" - -inherit ruby-fakegem - -DESCRIPTION="A iterations per second enhancement to Benchmark" -HOMEPAGE="https://github.com/evanphx/benchmark-ips" -LICENSE="MIT" - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~sparc ~x86" -SLOT="0" -IUSE="" - -ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.6:5 )" - -all_ruby_prepare() { - sed -i -e '1i require "tempfile"' test/test_benchmark_ips.rb || die -} - -each_ruby_test() { - ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die -} diff --git a/dev-ruby/bson/Manifest b/dev-ruby/bson/Manifest index 5bb4e02b81b4..671a76e802c0 100644 --- a/dev-ruby/bson/Manifest +++ b/dev-ruby/bson/Manifest @@ -1,2 +1 @@ -DIST bson-4.12.0.tar.gz 161250 BLAKE2B 060c33e4192ca433287a007351e13a3de187782675d56b0b90d5dfbf4546821f483348caaab1afa0cb715b20be53028a486f9b18ee8405afc4eeebcfc91c2b53 SHA512 b91619473ba8d4f10fa2a104e26f70d49991e164dd3dc72335bf53f39be6c30dff853cae0185285bc41985ec05717a074992e40ae9b6520d09c0aeb9e0b6992d DIST bson-4.15.0.gem 163328 BLAKE2B 21c28ee610a2e067c528e163ac4caec0e76d0ec1a73c8c89a2c455887da54aa0dfaa7ed840736013d87766c5cd4f23dc82b4c6474b0463a32b30575b28c5b898 SHA512 954dd419ab94dfde87d8902745885184505d74333fc71608f64544ca52f728782ea6fc3233718749c110c31ee14802ff240caa8ac4c170369d4adcf45557e79d diff --git a/dev-ruby/bson/bson-4.12.0.ebuild b/dev-ruby/bson/bson-4.12.0.ebuild deleted file mode 100644 index 1d9b185eacd3..000000000000 --- a/dev-ruby/bson/bson-4.12.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby25 ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -RUBY_FAKEGEM_EXTENSIONS=(ext/bson/extconf.rb) - -GITHUB_USER="mongodb" -GITHUB_PROJECT="bson-ruby" - -inherit multilib ruby-fakegem - -DESCRIPTION="A Ruby BSON implementation for MongoDB. (Includes binary C-based extension.)" -HOMEPAGE="https://www.mongodb.org/" -SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -RUBY_S="bson-ruby-${PV}" - -LICENSE="APSL-2" -SLOT="4" -KEYWORDS="~amd64" -IUSE="test doc" - -all_ruby_prepare() { - # Remove bundler support - sed -i -e '/bundler/I s:^:#:' Rakefile || die - - # Remove project-specific rspec options - rm .rspec || die -} diff --git a/dev-ruby/crass/crass-1.0.6-r1.ebuild b/dev-ruby/crass/crass-1.0.6-r1.ebuild index ac742e79e1d4..7b6516494061 100644 --- a/dev-ruby/crass/crass-1.0.6-r1.ebuild +++ b/dev-ruby/crass/crass-1.0.6-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md" diff --git a/dev-ruby/deckar01-task_list/deckar01-task_list-2.3.2.ebuild b/dev-ruby/deckar01-task_list/deckar01-task_list-2.3.2.ebuild index d40ae3d6e391..e0fbe9fa950a 100644 --- a/dev-ruby/deckar01-task_list/deckar01-task_list-2.3.2.ebuild +++ b/dev-ruby/deckar01-task_list/deckar01-task_list-2.3.2.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" +USE_RUBY="ruby27 ruby30 ruby31" RUBY_FAKEGEM_EXTRADOC="README.md" diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest index dca6f8029bc5..f97c658673e4 100644 --- a/dev-ruby/excon/Manifest +++ b/dev-ruby/excon/Manifest @@ -1,3 +1,2 @@ -DIST excon-0.92.4.tar.gz 219663 BLAKE2B f07bae2e9522860abbcdd1e987b808f935119fa8c6feee2868988eea14d017f656f4e17d54b637923706c9f462cd282d69e71fb9bdb71352c5a93f8f693c7a6d SHA512 dbcad9566f658dd2f49bb2fcd4cdc3a664c8d1dbc8fdfed7decf223c0f9510e3d53a3228a782a4f98f75a43be036433e1bb8d1443a2c0db18c675e28d813075a DIST excon-0.93.1.tar.gz 222206 BLAKE2B d32302aa69a54ffb332cbcf2fed8cda2e7e01461deb1f7477554c1fab1bd56b865b15aa6a44002772486c0c3a88729f2414a9cd6be057f07a6bd38e2fe7965d9 SHA512 bf7eb0532b44722c84f08c994a9cd9f473a3df23dcd9df87ecf34dc5ea10329391658fcb772103dde61e1f46ad33cfe98c773a5d2ee767c21f6bc11bc0d4bc46 DIST excon-0.95.0.tar.gz 223110 BLAKE2B 1d0706cf999ba6affb7aa9e7ed7160c90667d1bc27d121e4b40818288c445e893e9b438322a99174f2e86d6059b3e9b6bb7e8eec6c3c0ad211aea9862f297a0e SHA512 e1a269c8969f553b63a57642128b36ed82f9326de33b5f386f4ed0da60c1c28fe01b762e8607e6904fcc5445d9ec8d2bdc9985c58f8d07076693384fa435ad31 diff --git a/dev-ruby/excon/excon-0.92.4.ebuild b/dev-ruby/excon/excon-0.92.4.ebuild deleted file mode 100644 index 7af5cc98b124..000000000000 --- a/dev-ruby/excon/excon-0.92.4.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby27 ruby30" - -RUBY_FAKEGEM_EXTRADOC="changelog.txt README.md" -RUBY_FAKEGEM_GEMSPEC="excon.gemspec" -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -inherit ruby-fakegem - -DESCRIPTION="EXtended http(s) CONnections" -HOMEPAGE="https://github.com/excon/excon" -SRC_URI="https://github.com/excon/excon/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64" -IUSE="test" -RESTRICT="!test? ( test )" - -ruby_add_bdepend " - dev-ruby/rake - test? ( - dev-ruby/activesupport - >=dev-ruby/json-1.8.5 - dev-ruby/open4 - dev-ruby/rdoc - dev-ruby/sinatra - ) -" -all_ruby_prepare() { - sed -i -e 's/git ls-files --/find */' ${RUBY_FAKEGEM_GEMSPEC} || die - - # test that need network - rm -f spec/excon/test/server_spec.rb || die - - # tests that depend on eventmachine which is broken and no longer maintained - rm -f tests/{bad,error,pipeline,response,request}_tests.rb \ - tests/{batch-requests,complete_responses}.rb \ - tests/middlewares/{decompress,mock}_tests.rb || die - rm -f spec/requests/eof_requests_spec.rb spec/excon/error_spec.rb || die -} 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 bc9a52da4668..d31cc922c48e 100644 --- a/dev-ruby/fast_gettext/fast_gettext-2.2.0.ebuild +++ b/dev-ruby/fast_gettext/fast_gettext-2.2.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="CHANGELOG Readme.md" diff --git a/dev-ruby/fast_gettext/fast_gettext-2.3.0.ebuild b/dev-ruby/fast_gettext/fast_gettext-2.3.0.ebuild index 2af9f7ddd77c..96bec5716e37 100644 --- a/dev-ruby/fast_gettext/fast_gettext-2.3.0.ebuild +++ b/dev-ruby/fast_gettext/fast_gettext-2.3.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="CHANGELOG Readme.md" diff --git a/dev-ruby/ffaker/Manifest b/dev-ruby/ffaker/Manifest index 30cdf206178e..01193920a4ab 100644 --- a/dev-ruby/ffaker/Manifest +++ b/dev-ruby/ffaker/Manifest @@ -1,2 +1 @@ -DIST ffaker-2.20.0.gem 461312 BLAKE2B 1e0f38b83c957407e44a25e955ffa58b848a5a88e7200087e874d8998bbe65f49be28eb428fd28796c9f1f0663da97f0970763e767e38aed9f541edd62440b63 SHA512 aa908505c771636b307f1309511f9eb489dc14b07022960ae58f25321ebae46dc6e0406ea91863acd82b02402d5ee70aa71d77fd4aa753918c6d79c690764eb8 DIST ffaker-2.21.0.gem 463360 BLAKE2B 90742c81b719ef6930269d2b6927add981f7d001a1465b5835894acf4e627e3870123d3e0c5c9449468c2f34c1b783e625daf668d900d6956487f6036ea8da8a SHA512 bff7f36ab6c90ac66781ddf034a628323a673a13325b93f3b12b0298d4934df3d7752e512daf7c1a893378c8d66b2d3facd2d407bfabd1dd02b64944acf73a08 diff --git a/dev-ruby/ffaker/ffaker-2.20.0.ebuild b/dev-ruby/ffaker/ffaker-2.20.0.ebuild deleted file mode 100644 index d2dfeeaaf3a1..000000000000 --- a/dev-ruby/ffaker/ffaker-2.20.0.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md REFERENCE.md" - -inherit ruby-fakegem - -DESCRIPTION="Faster Faker, generates dummy data" -HOMEPAGE="https://github.com/emmanueloga/ffaker" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" - -ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" - -all_ruby_prepare() { - sed -i -e '/test_image_file/aomit "network"' test/test_image.rb || die -} diff --git a/dev-ruby/ffaker/ffaker-2.21.0.ebuild b/dev-ruby/ffaker/ffaker-2.21.0.ebuild index 51cd401fe487..2d982ab3784d 100644 --- a/dev-ruby/ffaker/ffaker-2.21.0.ebuild +++ b/dev-ruby/ffaker/ffaker-2.21.0.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="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md REFERENCE.md" diff --git a/dev-ruby/filesize/filesize-0.2.0-r1.ebuild b/dev-ruby/filesize/filesize-0.2.0-r1.ebuild index f6d3f6f01e45..027b56859127 100644 --- a/dev-ruby/filesize/filesize-0.2.0-r1.ebuild +++ b/dev-ruby/filesize/filesize-0.2.0-r1.ebuild @@ -1,8 +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 ruby31" + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="rspec3" @@ -10,10 +11,9 @@ RUBY_FAKEGEM_EXTRADOC="README.md" inherit ruby-fakegem -DESCRIPTION="small ruby class for handling filesizes with both the SI and binary prefixes" +DESCRIPTION="Small class for handling filesizes with both the SI and binary prefixes" HOMEPAGE="https://github.com/dominikh/filesize" LICENSE="MIT" SLOT="${PV}" KEYWORDS="~amd64 ~arm ~x86" -IUSE="" diff --git a/dev-ruby/globalid/Manifest b/dev-ruby/globalid/Manifest index f6af603a08d8..9a658939a4f7 100644 --- a/dev-ruby/globalid/Manifest +++ b/dev-ruby/globalid/Manifest @@ -1,3 +1 @@ -DIST globalid-1.0.0.tar.gz 20916 BLAKE2B 4e932269cce13d319bb44ee8da878fd94d95a82badf67a8f3aa7f5c2064a401e9aaa743cbd763305de65dea242c4e8316c742a8c24e3f1a06b30a799578372f1 SHA512 228c672aa2934a726677e11a90124767f302910791153b68024aa8b44921f2ed1444903ac592c46240f19c9dae25c170405ac2a21fc269c573b066d4cd34b04d -DIST globalid-1.0.1.tar.gz 20869 BLAKE2B 70613be353b9014c94cc6b4bd9cb83208b2aadc2dd363286121b2ee7454c8e1dd3ceeb2aca403e22e5f9cafcf28057adcaed79274ec85197db6ddd8a14e3632f SHA512 b72800f8b11689b016be82bdf842e1c3c1690ea73a862110061c0f6f7b89a9dad1ac23fa521143202760764284941eb63c1857a3307775d1e9cb18a2d47a46fb DIST globalid-1.1.0.tar.gz 21131 BLAKE2B 74f49046e84421df1ae4640cf1ecc23d6c09d4a7176583a4662fa89b031ec9c142c09d13b90dfd40cb23417aec3285a93366f975600b2b52b11a62f62878b313 SHA512 42d6fbdaa4de42da6677d620420c96989ed358197b36f4f0e4b4304a4c8a0f2df7d91c0de84381fb0fec87c213d3ba00335e95d92ae2bce59fe7ac7863219c1d diff --git a/dev-ruby/globalid/globalid-1.0.0-r1.ebuild b/dev-ruby/globalid/globalid-1.0.0-r1.ebuild deleted file mode 100644 index df3b884797a3..000000000000 --- a/dev-ruby/globalid/globalid-1.0.0-r1.ebuild +++ /dev/null @@ -1,29 +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_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 ~hppa ~ppc ~ppc64 ~riscv ~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/globalid/globalid-1.0.0-r2.ebuild b/dev-ruby/globalid/globalid-1.0.0-r2.ebuild deleted file mode 100644 index e27c4deae508..000000000000 --- a/dev-ruby/globalid/globalid-1.0.0-r2.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" - -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 ~hppa ~ppc ~ppc64 ~riscv ~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/globalid/globalid-1.0.1.ebuild b/dev-ruby/globalid/globalid-1.0.1.ebuild deleted file mode 100644 index 0f034d10f931..000000000000 --- a/dev-ruby/globalid/globalid-1.0.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# 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="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 ~hppa ~ppc ~ppc64 ~riscv ~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/html2haml/Manifest b/dev-ruby/html2haml/Manifest index ecc5f1af276d..7cd8e53b9e2b 100644 --- a/dev-ruby/html2haml/Manifest +++ b/dev-ruby/html2haml/Manifest @@ -1,2 +1 @@ -DIST html2haml-2.2.0.gem 21504 BLAKE2B ead2c636baacb8dbba7bd650356da5e2ebfa8ab565edb38ab03df287d8d0709b9271ef3f46fae0f2d2b86d37dbf6a0212fbf6803aaf7757a9f2653b773e46482 SHA512 b6988182073f35d4d9b9f07f2cc2ba01c66679fa646fd2d1e3c8cf0643c88b04a2b1a36d584bdcca897f804e32486a618abc8fbd8db023ff9c22ee66d93ed9f0 DIST html2haml-2.3.0.gem 21504 BLAKE2B 52bfdab16a78c44f7f3f5e4be6015f236fe53b15c9fe6e595223e76fdef544f06cb4abc8b3a2c3fd904c20a404e5bb10c44546494a93ff10690bd5a023afe555 SHA512 75b3453fe919c8914d53cb5492df2377756d89fa795d5ea29a64559e7f3e4ee91e61db706e7860e214a7e6d5160e0f209c65d68d8d3ac28ec5b51fefba6a9a94 diff --git a/dev-ruby/html2haml/html2haml-2.2.0-r1.ebuild b/dev-ruby/html2haml/html2haml-2.2.0-r1.ebuild deleted file mode 100644 index 99cad3b03a7b..000000000000 --- a/dev-ruby/html2haml/html2haml-2.2.0-r1.ebuild +++ /dev/null @@ -1,35 +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_EXTRADOC="README.md Changelog.markdown" -RUBY_FAKEGEM_RECIPE_DOC="yard" - -inherit ruby-fakegem - -DESCRIPTION="Convert HTML and HTML+Erb to Haml" -HOMEPAGE="https://github.com/haml/html2haml" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -ruby_add_rdepend ">=dev-ruby/nokogiri-1.6.0 - >=dev-ruby/erubis-2.7.0 - >=dev-ruby/ruby_parser-3.5 - dev-ruby/haml:5" - -ruby_add_bdepend "test? ( dev-ruby/minitest )" - -all_ruby_prepare() { - sed -i -e "/bundler/d" test/test_helper.rb || die -} - -each_ruby_test() { - ${RUBY} -Ilib:test test/html2haml_test.rb || die - ${RUBY} -Ilib:test test/erb_test.rb || die -} diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest index 4aeff839fe5f..45caf959d6e6 100644 --- a/dev-ruby/jwt/Manifest +++ b/dev-ruby/jwt/Manifest @@ -1,4 +1,2 @@ DIST jwt-2.2.3.tar.gz 50675 BLAKE2B 904a2b9be80ece10cc046d35df784ecc4991c3b09a79c2e2e461003596e9212409ed5840282ce632d3ff499754c505cd899ca95945f562883869ff3c50c4399a SHA512 ebefbf8f825afc1a78329088012118ed681a61bdf9e1c6a3fa125d46105092f1f26a4bc88791788c0290009dbc0427128d655a301c034ac07caf14216744962c -DIST jwt-2.5.0.tar.gz 65165 BLAKE2B 3011bca18101cd6ec4ce066ce541e31d135ca57ecb3c105915e55d1637e4465e5ae87655c4a7dbb91ff8ca299b6b1c77f9c9263b944cb6b90a1679c25a593cc7 SHA512 fab73ee33769db297b8c8c7381070c8fcd1dd8e43aff2d241ee82f0327867eff3c1067536a90928ad65a2870dc2638515617f5d5cc92023ab1dfe3b6696f10d8 -DIST jwt-2.6.0.tar.gz 72387 BLAKE2B b20d902625815763b203ee201482792e4db5976a5b7cff24a6c08d391f254d62a80b7d5aa5a6833a50eb3252dd1359c28707da8e6f8d0b43308b8aef6b108687 SHA512 62d62728f97d5ac779919365b144cc5ddb9d2a74b16e1692a6bb37e0a64a89b3990429244694eb1a5e36793c64a179cf2f38738600b721f8d419d6ea13e96caa DIST jwt-2.7.0.tar.gz 75020 BLAKE2B 2bfa009912f4037dc13672ef6d43557e70bc9a06d399d949a6c5ddee641dc550a218242482ec0a66eb470ab117d1e192dd1ca6fdb5a03926d85f4902d72500e7 SHA512 8e0bb9909d123b7b73fe01fafc4088e45140e417b1bff84b240a317f3dca8085b2b987bd1e93cb1506efc66a1f7371168f8202a590308ee0e4c52820983a9789 diff --git a/dev-ruby/jwt/jwt-2.5.0.ebuild b/dev-ruby/jwt/jwt-2.5.0.ebuild deleted file mode 100644 index 54badce1eee7..000000000000 --- a/dev-ruby/jwt/jwt-2.5.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_BINWRAP="" -RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="A Ruby implementation of JSON Web Token draft 06" -HOMEPAGE="https://github.com/jwt/ruby-jwt" -SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="2" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" -IUSE="" - -RUBY_S="ruby-jwt-${PV}" - -ruby_add_bdepend "test? ( dev-ruby/rbnacl )" - -all_ruby_prepare() { - sed -i -e "/simplecov/ s:^:#:" \ - -e '/^SimpleCov.start/,/^end/ s:^:#:' \ - spec/spec_helper.rb || die - - sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die -} diff --git a/dev-ruby/jwt/jwt-2.6.0.ebuild b/dev-ruby/jwt/jwt-2.6.0.ebuild deleted file mode 100644 index 54badce1eee7..000000000000 --- a/dev-ruby/jwt/jwt-2.6.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_BINWRAP="" -RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="A Ruby implementation of JSON Web Token draft 06" -HOMEPAGE="https://github.com/jwt/ruby-jwt" -SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="2" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" -IUSE="" - -RUBY_S="ruby-jwt-${PV}" - -ruby_add_bdepend "test? ( dev-ruby/rbnacl )" - -all_ruby_prepare() { - sed -i -e "/simplecov/ s:^:#:" \ - -e '/^SimpleCov.start/,/^end/ s:^:#:' \ - spec/spec_helper.rb || die - - sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die -} diff --git a/dev-ruby/mime-types/mime-types-3.4.1.ebuild b/dev-ruby/mime-types/mime-types-3.4.1.ebuild index 86c93699fe9a..12c4a6d4803a 100644 --- a/dev-ruby/mime-types/mime-types-3.4.1.ebuild +++ b/dev-ruby/mime-types/mime-types-3.4.1.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 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc" diff --git a/dev-ruby/minitest-around/minitest-around-0.5.0-r1.ebuild b/dev-ruby/minitest-around/minitest-around-0.5.0-r1.ebuild index d36f36233be0..e938dc872325 100644 --- a/dev-ruby/minitest-around/minitest-around-0.5.0-r1.ebuild +++ b/dev-ruby/minitest-around/minitest-around-0.5.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_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="README.md" diff --git a/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r1.ebuild b/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r2.ebuild index f8e01189b764..70fe2dbeda3c 100644 --- a/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r1.ebuild +++ b/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r2.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=7 +EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" diff --git a/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1-r1.ebuild b/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1-r2.ebuild index 1d0b0d9b2e44..0a9b933c0c5b 100644 --- a/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1-r1.ebuild +++ b/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1-r2.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=7 +EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" inherit ruby-fakegem 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 505e8a147ada..5478e4d51abd 100644 --- a/dev-ruby/multi_test/multi_test-1.1.0.ebuild +++ b/dev-ruby/multi_test/multi_test-1.1.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="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest index 1e79a8d823cf..f1cf1dc7f55c 100644 --- a/dev-ruby/octokit/Manifest +++ b/dev-ruby/octokit/Manifest @@ -1,4 +1,3 @@ -DIST octokit-4.24.0.tar.gz 3151075 BLAKE2B df9a20854358722bb92e894413b4b8d50e911aba23d610da4d00e6ff8e03df2c442a83a781c836f5f780a2079992a28c77ae59ae89d49386a009af8f29d8a9d5 SHA512 e2cabc820732b6d9e71b37807007e17fba23199faa127c3480c37b5c8fca1a0ddcaffe5815ffe7a9efe3ef3b617b9099dca8b01e58b4210cbf68566897a93ce7 DIST octokit-4.25.1.tar.gz 3154185 BLAKE2B b1698de8694cd2e147542eb6e7e9784428daa035a6e123c05c135558a669c0d222ef4629cc89de815a51b7b3660a8dd2cb80e8d11b90ac43f661e3e2e078b0c0 SHA512 780393e6765e82f0fbfada3b8800ccb981df4383ebfda0b218c24bac224b39f836c3d9cb94cf2564676000862dec7ab94cd2dbdaff51c37142d1f45140121bf1 DIST octokit-5.6.1.tar.gz 3171006 BLAKE2B 33fd132f81c7b1e1b3c1a4264b7bc6a7e7dbc2f9ccd4f1d2d734ae10914c5544eb90c629200e6d81b9a33fccc23791147af6660840248235ebe6b946f2ebba13 SHA512 3ed2e3eb61190da521f9246ac0fdb530e15c45cb41e5849f04ba1a92f0da8060a82eb2d90dfcb407436efba5f7f0ea98c69a342c67aa26b62eeab74a1f906c4e DIST octokit-6.1.0.tar.gz 3187811 BLAKE2B 70a849fe855ddf46aeaf6d512d675119188bb39e6a439c311531f20f9c52ce8da829e0e1242b29e821d5d6468b360e69b71ec645fdf7b1b217e4607032aa0d0c SHA512 7f362f7c4e021ae38083bfd498d98ddda7c2a36c439c8a924cb0390ede42911e8f0477481f1bde6b208009e27d42501d143d0549eb9731d8fb529c977a91da9d diff --git a/dev-ruby/octokit/octokit-4.24.0.ebuild b/dev-ruby/octokit/octokit-4.24.0.ebuild deleted file mode 100644 index fa8956903092..000000000000 --- a/dev-ruby/octokit/octokit-4.24.0.ebuild +++ /dev/null @@ -1,42 +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_RECIPE_DOC="yard" -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_EXTRADOC="README.md CONTRIBUTING.md" -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Ruby toolkit for the Github API" -HOMEPAGE="https://github.com/octokit/octokit.rb" -SRC_URI="https://github.com/octokit/octokit.rb/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -RUBY_S=octokit.rb-${PV} - -ruby_add_rdepend " - dev-ruby/faraday:1 - >=dev-ruby/sawyer-0.9:0 -" - -ruby_add_bdepend "test? ( - dev-ruby/jwt - dev-ruby/mime-types - >=dev-ruby/netrc-0.7.7 - >=dev-ruby/rbnacl-7.1.1:6 - dev-ruby/vcr[json] - dev-ruby/webmock:3 )" - -all_ruby_prepare() { - sed -e '/if RUBY_ENGINE/,/^end/ s:^:#: ; 1igem "webmock", "~>3.0"' \ - -e '/pry/ s:^:#:' \ - -i spec/helper.rb || die -} diff --git a/dev-ruby/power_assert/Manifest b/dev-ruby/power_assert/Manifest index 6027d93319e3..5050b2571347 100644 --- a/dev-ruby/power_assert/Manifest +++ b/dev-ruby/power_assert/Manifest @@ -1,5 +1,2 @@ DIST power_assert-1.2.0.tar.gz 17358 BLAKE2B 8b75b34f5d80f8f52370816b916e3bc3a60493b8f52a910346c51c70770e0645566b8b7c3dd551d8bb1f1cbdac5dfcebe043457bd025d819e3782e75e41e0f16 SHA512 2f001f6223fc3fb586c7b0457f775379040e11eb83b5bdda51c02b2b24e531aecd6e12e6ec80bf9407a768ab1a10b0a6b4c8f1a92ca69ea702faf56202bb635c -DIST power_assert-2.0.0.tar.gz 16994 BLAKE2B 5106e77566100274000c55af1bd2ff9aaf00185ed1821ac966587461919210d7460e30aefdb5a880e7ef59e4f536121371d0862df2af91cb274ed79ded8c9771 SHA512 e6faf3cf50d2c70ae421bae20b885ac858fe11b10b1a8562d9ca88afbd397fa4812631f2aa02638c273eed518091dfaa020b6c002c0559383ddca625404bcc1c -DIST power_assert-2.0.1.tar.gz 17062 BLAKE2B 9c592c12e0722a3376fede86b1a609c4c5feec49dacdb74f5af96d7ee3024112525bdd57fd5d1763b3a599386ce6548d694f5a4b1207c356701c79046166ee42 SHA512 717d163050e45d889bbf50ee5caf4d91b143a0df45d8ed1be9588595fd485f05662d59ae6166d44b5cf987d6b2a1e77f40441f2aefd1051ff9cf679d3bcdddc6 -DIST power_assert-2.0.2.tar.gz 17141 BLAKE2B 67cc35b505d2a34435727361d9ec6678cbb10705d33ede64a24bd2b775e29febee8353b79c92851d72d90e01d22ed848641ee31814c53b35f68d15bcf7d788e8 SHA512 8c1e40cdd1dc8a00bddf699af3a55c08e5f2f5ba4c0ff5d1fffe64300385b1558f4e4653ca7b5a755c2ffc058bea005322708b43117911e4bfe84783eee5f537 DIST power_assert-2.0.3.tar.gz 17228 BLAKE2B 6a7927102deaf6daf0e4f17e7183ec4a862a57607b965c0051b1ecd22a4bf555c6f6195911405d2839a725f38e1e1b49ef6ca3a4209452ca149996071d28e47b SHA512 f5658d18b3b78e7757ddfc1ccdabc011076c009a7343eaad2748ca7aeb4d112bf19c70621cb938e7dcf1582c8bb7c5512017885ea51503b3ed274980b7d7c0b1 diff --git a/dev-ruby/power_assert/power_assert-1.2.0.ebuild b/dev-ruby/power_assert/power_assert-1.2.0-r1.ebuild index 2cb2e6a62419..2839fe92a17a 100644 --- a/dev-ruby/power_assert/power_assert-1.2.0.ebuild +++ b/dev-ruby/power_assert/power_assert-1.2.0-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -USE_RUBY="ruby25 ruby26 ruby27 ruby30" +USE_RUBY="ruby27 ruby30 ruby31" RUBY_FAKEGEM_EXTRADOC="README.rdoc" diff --git a/dev-ruby/power_assert/power_assert-2.0.0.ebuild b/dev-ruby/power_assert/power_assert-2.0.0.ebuild deleted file mode 100644 index cdd3a84795ff..000000000000 --- a/dev-ruby/power_assert/power_assert-2.0.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby25 ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_BINWRAP="" - -RUBY_FAKEGEM_GEMSPEC="power_assert.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Shows each value of variables and method calls in the expression" -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 ~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="" - -ruby_add_bdepend "test? ( dev-ruby/test-unit )" - -all_ruby_prepare() { - sed -i -e '/bundler/I s:^:#:' Rakefile test/test_helper.rb || die - sed -i -e '1igem "test-unit"' \ - -e '/byebug/ s:^:#:' test/test_helper.rb || die - - # Avoid git dependency - sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die - - # Avoid circular dependency on byebug when bootstrapping ruby - sed -i -e '/byebug/ s:^:#:' -e '/test_core_ext_helper/ s:^:#:' test/test_helper.rb || die - rm test/test_core_ext_helper.rb test/trace_test.rb || die - - # Avoid circular dependency on pry when bootstrapping ruby - sed -i -e '/pry/ s:^:#:' -e '/test_colorized_pp/,/^ end/ s:^:#:' test/block_test.rb || die -} diff --git a/dev-ruby/power_assert/power_assert-2.0.1.ebuild b/dev-ruby/power_assert/power_assert-2.0.1.ebuild deleted file mode 100644 index 12835b10bbca..000000000000 --- a/dev-ruby/power_assert/power_assert-2.0.1.ebuild +++ /dev/null @@ -1,41 +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 ruby31" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_BINWRAP="" - -RUBY_FAKEGEM_GEMSPEC="power_assert.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Shows each value of variables and method calls in the expression" -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" - -SLOT="0" -IUSE="" - -ruby_add_bdepend "test? ( dev-ruby/test-unit )" - -all_ruby_prepare() { - sed -i -e '/bundler/I s:^:#:' Rakefile test/test_helper.rb || die - sed -i -e '1igem "test-unit"' \ - -e '/byebug/ s:^:#:' test/test_helper.rb || die - - # Avoid git dependency - sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die - - # Avoid circular dependency on byebug when bootstrapping ruby - sed -i -e '/byebug/ s:^:#:' -e '/test_core_ext_helper/ s:^:#:' test/test_helper.rb || die - rm test/test_core_ext_helper.rb test/trace_test.rb || die - - # Avoid circular dependency on pry when bootstrapping ruby - sed -i -e '/pry/ s:^:#:' -e '/test_colorized_pp/,/^ end/ s:^:#:' test/block_test.rb || die -} diff --git a/dev-ruby/power_assert/power_assert-2.0.2.ebuild b/dev-ruby/power_assert/power_assert-2.0.2.ebuild deleted file mode 100644 index cd8b052576ad..000000000000 --- a/dev-ruby/power_assert/power_assert-2.0.2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_BINWRAP="" - -RUBY_FAKEGEM_GEMSPEC="power_assert.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Shows each value of variables and method calls in the expression" -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" - -SLOT="0" -IUSE="" - -ruby_add_bdepend "test? ( dev-ruby/test-unit )" - -all_ruby_prepare() { - sed -i -e '/bundler/I s:^:#:' Rakefile test/test_helper.rb || die - sed -i -e '1igem "test-unit"' \ - -e '/byebug/ s:^:#:' test/test_helper.rb || die - - # Avoid git dependency - sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die - - # Avoid circular dependency on byebug when bootstrapping ruby - sed -i -e '/byebug/ s:^:#:' -e '/test_core_ext_helper/ s:^:#:' test/test_helper.rb || die - rm test/test_core_ext_helper.rb test/trace_test.rb || die - - # Avoid circular dependency on pry when bootstrapping ruby - sed -i -e '/pry/ s:^:#:' -e '/test_colorized_pp/,/^ end/ s:^:#:' test/block_test.rb || die -} diff --git a/dev-ruby/rmagick/files/rmagick-4.2.5-empty-rpath.patch b/dev-ruby/rmagick/files/rmagick-4.2.5-empty-rpath.patch deleted file mode 100644 index 13defdd24099..000000000000 --- a/dev-ruby/rmagick/files/rmagick-4.2.5-empty-rpath.patch +++ /dev/null @@ -1,30 +0,0 @@ -commit fef59858eaba843b876c5b5f253f623ddb4d0f1c -Author: Hans de Graaff <hans@degraaff.org> -Date: Sat Apr 23 08:54:42 2022 +0200 - - Guard against an empty rpath - - Some ImageMagick installations (e.g. on Gentoo Linux when installed - with the package manager) don't return any -L options in pkg-config. - Including an empty rpath is a security risk and should be avoided. - - Fixes #1332 - -diff --git a/ext/RMagick/extconf.rb b/ext/RMagick/extconf.rb -index 7b4ce1ad..3eef6cbd 100644 ---- a/ext/RMagick/extconf.rb -+++ b/ext/RMagick/extconf.rb -@@ -69,11 +69,12 @@ module RMagick - - libdir = `pkg-config --libs-only-L #{$magick_package}`.chomp.sub('-L', '') - ldflags = "#{ENV['LDFLAGS']} " + `pkg-config --libs #{$magick_package}`.chomp -+ rpath = libdir.empty? ? '' : "-Wl,-rpath,#{libdir}" - - # Save flags - $CPPFLAGS = "#{ENV['CPPFLAGS']} " + `pkg-config --cflags #{$magick_package}`.chomp - $LOCAL_LIBS = "#{ENV['LIBS']} " + `pkg-config --libs #{$magick_package}`.chomp -- $LDFLAGS = "#{ldflags} -Wl,-rpath,#{libdir}" -+ $LDFLAGS = "#{ldflags} #{rpath}" - - unless try_link("int main() { }") - # if linker does not recognizes '-Wl,-rpath,somewhere' option, it revert to original option diff --git a/dev-ruby/rqrcode/Manifest b/dev-ruby/rqrcode/Manifest index 0b19f9a8ceac..148dd3e5aa08 100644 --- a/dev-ruby/rqrcode/Manifest +++ b/dev-ruby/rqrcode/Manifest @@ -1,3 +1 @@ -DIST rqrcode-2.1.0.tar.gz 108317 BLAKE2B 4105929b5f63461ff7043b8a8ec0635f2c11b301f32de0fc25f1800449b105be707b82c4d5b21d5fb6a1b51bc015958ea9060af93a23adf3913994159d4ac918 SHA512 682999cab8a5eaa006992ea6b46d1fb52d5647c5c9faf8c9df9eb21d0985c8cb3f23c2692505293cdaacb63ce2bd042eeead7d779c598f708d10614934310da8 -DIST rqrcode-2.1.1.tar.gz 108586 BLAKE2B 69321f43473a831b97bcb54f4fe34318a42105fd78e34e8e8e9b3902d17480a493cbe98a9fc7a352eed5dd360fb83a916f5633c03d0e7e228542f0216266cd26 SHA512 8abc1c71c2c4f48f0c133bd7634b5a2220edfbe9eeb1cf4eb155dd3cf3450ecd57db30e23327cd279b927f5f836543364167b7d1ceb76148bea5db6dbffc4a68 DIST rqrcode-2.1.2.tar.gz 108650 BLAKE2B 61fdb8d2c5dde83062b53551932d74db40d6fec4245afeafd9f656a1dffeee7842fb27f750d115843642fa68305cc6af08a48764a59d8912ec759a11a3858d2f SHA512 b037416073c06a13fa1aebed63a9f07e9302ace7bb3a53015a296c1317cc284d680e6e8f93ae295ddf19cc90a74857467389d15cae1606207f039dde301e59da diff --git a/dev-ruby/rqrcode/rqrcode-2.1.0.ebuild b/dev-ruby/rqrcode/rqrcode-2.1.0.ebuild deleted file mode 100644 index e21c22e869e8..000000000000 --- a/dev-ruby/rqrcode/rqrcode-2.1.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_BINWRAP="" - -RUBY_FAKEGEM_GEMSPEC="rqrcode.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Library for encoding QR Codes" -HOMEPAGE="https://whomwah.github.io/rqrcode/" -SRC_URI="https://github.com/whomwah/rqrcode/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -ruby_add_rdepend " - dev-ruby/chunky_png:0 - dev-ruby/rqrcode_core:1 -" - -all_ruby_prepare() { - sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die - sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die -} diff --git a/dev-ruby/rqrcode/rqrcode-2.1.1.ebuild b/dev-ruby/rqrcode/rqrcode-2.1.1.ebuild deleted file mode 100644 index 1697439bcf43..000000000000 --- a/dev-ruby/rqrcode/rqrcode-2.1.1.ebuild +++ /dev/null @@ -1,35 +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 ruby31" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_BINWRAP="" - -RUBY_FAKEGEM_GEMSPEC="rqrcode.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Library for encoding QR Codes" -HOMEPAGE="https://whomwah.github.io/rqrcode/" -SRC_URI="https://github.com/whomwah/rqrcode/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -ruby_add_rdepend " - dev-ruby/chunky_png:0 - dev-ruby/rqrcode_core:1 -" - -all_ruby_prepare() { - sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die - sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die -} diff --git a/dev-ruby/rubyzip/rubyzip-1.3.0.ebuild b/dev-ruby/rubyzip/rubyzip-1.3.0-r1.ebuild index 6b26c9dd8e19..0fd12b7aca0e 100644 --- a/dev-ruby/rubyzip/rubyzip-1.3.0.ebuild +++ b/dev-ruby/rubyzip/rubyzip-1.3.0-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -USE_RUBY="ruby25 ruby26 ruby27 ruby30" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_DOC="none" RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO" diff --git a/dev-ruby/sassc/sassc-2.4.0-r1.ebuild b/dev-ruby/sassc/sassc-2.4.0-r1.ebuild index 34ea24d19176..74a1bfcb5c0a 100644 --- a/dev-ruby/sassc/sassc-2.4.0-r1.ebuild +++ b/dev-ruby/sassc/sassc-2.4.0-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_RECIPE_DOC="none" RUBY_FAKEGEM_DOCDIR="doc" diff --git a/dev-ruby/semantic_puppet/semantic_puppet-1.0.4.ebuild b/dev-ruby/semantic_puppet/semantic_puppet-1.0.4.ebuild index 73a782a31a52..1105f75b40e3 100644 --- a/dev-ruby/semantic_puppet/semantic_puppet-1.0.4.ebuild +++ b/dev-ruby/semantic_puppet/semantic_puppet-1.0.4.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="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="rspec3" diff --git a/dev-ruby/sourcemap/sourcemap-0.1.1-r1.ebuild b/dev-ruby/sourcemap/sourcemap-0.1.1-r1.ebuild index 6dea70550676..f74ff27129de 100644 --- a/dev-ruby/sourcemap/sourcemap-0.1.1-r1.ebuild +++ b/dev-ruby/sourcemap/sourcemap-0.1.1-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="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_EXTRADOC="README.md" diff --git a/dev-ruby/stomp/files/stomp-1.4.10-rspec-3.12.patch b/dev-ruby/stomp/files/stomp-1.4.10-rspec-3.12.patch new file mode 100644 index 000000000000..f7f1ca39016b --- /dev/null +++ b/dev-ruby/stomp/files/stomp-1.4.10-rspec-3.12.patch @@ -0,0 +1,149 @@ +https://github.com/stompgem/stomp/pull/175 + +From 299923281d02e544ca386a9883e87c395135d3af Mon Sep 17 00:00:00 2001 +From: Steve Traylen <steve.traylen@cern.ch> +Date: Thu, 30 Mar 2023 13:36:52 +0200 +Subject: [PATCH] Fix tests failing with rspec 3.12 + +Patch from + +* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027092 +* https://salsa.debian.org/ruby-team/ruby-stomp/-/commit/5be6383a7a34a1d1891708d6aa8688cb4a6f89a5 + +resolves rspec failure: + +``` +$ rspec --fail-fast spec/client_spec.rb +RSpec version: 3.8.0 +Traceback (most recent call last): + 9: from /home/straylen/pkgs/rubygem-stomp/stomp-1.4.9/lib/client/utils.rb:194:in `block in start_listeners' + 8: from /home/straylen/pkgs/rubygem-stomp/stomp-1.4.9/lib/client/utils.rb:194:in `loop' + 7: from /home/straylen/pkgs/rubygem-stomp/stomp-1.4.9/lib/client/utils.rb:195:in `block (2 levels) in start_listeners' + 6: from /usr/share/gems/gems/rspec-mocks-3.8.1/lib/rspec/mocks/test_double.rb:102:in `method_missing' + 5: from /usr/share/gems/gems/rspec-mocks-3.8.1/lib/rspec/mocks/proxy.rb:202:in `raise_unexpected_message_error' + 4: from /usr/share/gems/gems/rspec-mocks-3.8.1/lib/rspec/mocks/error_generator.rb:50:in `raise_unexpected_message_error' + 3: from /usr/share/gems/gems/rspec-mocks-3.8.1/lib/rspec/mocks/error_generator.rb:311:in `__raise' + 2: from /usr/share/gems/gems/rspec-mocks-3.8.1/lib/rspec/mocks/error_generator.rb:327:in `notify' + 1: from /usr/share/gems/gems/rspec-support-3.8.2/lib/rspec/support.rb:106:in `notify_failure' +/usr/share/gems/gems/rspec-support-3.8.2/lib/rspec/support.rb:97:in `block in <module:Support>': #<Double "connection"> received unexpected message :receive with (no args) (RSpec::Mocks::MockExpectationError) +.#<Thread:0x000055a54150bd60@/home/straylen/pkgs/rubygem-stomp/stomp-1.4.9/lib/client/utils.rb:193 run> terminated with exception (report_on_exception is true): +Traceback (most recent call last): + 6: from /home/straylen/pkgs/rubygem-stomp/stomp-1.4.9/lib/client/utils.rb:194:in `block in start_listeners' + 5: from /home/straylen/pkgs/rubygem-stomp/stomp-1.4.9/lib/client/utils.rb:194:in `loop' +``` + +Fixes: #164 +--- a/spec/client_spec.rb ++++ b/spec/client_spec.rb +@@ -136,13 +136,13 @@ + end + + it "should properly parse the URL provided" do +- expect(Stomp::Connection).to receive(:new).with(:hosts => [{:login => 'testlogin', ++ expect(Stomp::Connection).to receive(:new).with({:hosts => [{:login => 'testlogin', + :passcode => 'testpassword', + :host => 'localhost', + :port => 12345}], + :logger => null_logger, + :reliable => false, +- :client_main => @cli_thread) ++ :client_main => @cli_thread}) + Stomp::Client.new('testlogin', 'testpassword', 'localhost', '12345', false) + end + +@@ -157,13 +157,13 @@ + end + + it "should properly parse the URL provided" do +- expect(Stomp::Connection).to receive(:new).with(:hosts => [{:login => '', ++ expect(Stomp::Connection).to receive(:new).with({:hosts => [{:login => '', + :passcode => '', + :host => 'foobar', + :port => 12345}], + :logger => null_logger, + :reliable => false, +- :client_main => @cli_thread) ++ :client_main => @cli_thread}) + Stomp::Client.new('stomp://foobar:12345') + end + +@@ -179,13 +179,13 @@ + end + + it "should properly parse the URL provided" do +- expect(Stomp::Connection).to receive(:new).with(:hosts => [{:login => '', ++ expect(Stomp::Connection).to receive(:new).with({:hosts => [{:login => '', + :passcode => '', + :host => 'foo-bar', + :port => 12345}], + :logger => null_logger, + :reliable => false, +- :client_main => @cli_thread) ++ :client_main => @cli_thread}) + Stomp::Client.new('stomp://foo-bar:12345') + end + +@@ -201,13 +201,13 @@ + end + + it "should properly parse the URL provided" do +- expect(Stomp::Connection).to receive(:new).with(:hosts => [{:login => 'test-login', ++ expect(Stomp::Connection).to receive(:new).with({:hosts => [{:login => 'test-login', + :passcode => 'testpasscode', + :host => 'foobar', + :port => 12345}], + :logger => null_logger, + :reliable => false, +- :client_main => @cli_thread) ++ :client_main => @cli_thread}) + Stomp::Client.new('stomp://test-login:testpasscode@foobar:12345') + end + +@@ -223,13 +223,13 @@ + end + + it "should properly parse the URL provided" do +- expect(Stomp::Connection).to receive(:new).with(:hosts => [{:login => 'test-login', ++ expect(Stomp::Connection).to receive(:new).with({:hosts => [{:login => 'test-login', + :passcode => 'testpasscode', + :host => 'foo-bar', + :port => 12345}], + :logger => null_logger, + :reliable => false, +- :client_main => @cli_thread) ++ :client_main => @cli_thread}) + Stomp::Client.new('stomp://test-login:testpasscode@foo-bar:12345') + end + +@@ -248,13 +248,13 @@ + end + + it "should properly parse the URL provided" do +- expect(Stomp::Connection).to receive(:new).with(:hosts => [{:login => '', ++ expect(Stomp::Connection).to receive(:new).with({:hosts => [{:login => '', + :passcode => '', + :host => 'host.foobar.com', + :port => 12345}], + :logger => null_logger, + :reliable => false, +- :client_main => @cli_thread) ++ :client_main => @cli_thread}) + Stomp::Client.new('stomp://host.foobar.com:12345') + end + +@@ -270,13 +270,13 @@ + end + + it "should properly parse the URL provided" do +- expect(Stomp::Connection).to receive(:new).with(:hosts => [{:login => 'testlogin', ++ expect(Stomp::Connection).to receive(:new).with({:hosts => [{:login => 'testlogin', + :passcode => 'testpasscode', + :host => 'host.foobar.com', + :port => 12345}], + :logger => null_logger, + :reliable => false, +- :client_main => @cli_thread) ++ :client_main => @cli_thread}) + Stomp::Client.new('stomp://testlogin:testpasscode@host.foobar.com:12345') + end + diff --git a/dev-ruby/stomp/stomp-1.4.10.ebuild b/dev-ruby/stomp/stomp-1.4.10-r1.ebuild index e57bb3a1bdeb..2344aac53557 100644 --- a/dev-ruby/stomp/stomp-1.4.10.ebuild +++ b/dev-ruby/stomp/stomp-1.4.10-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=7 +EAPI=8 -USE_RUBY="ruby25 ruby26 ruby27 ruby30" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_DOCDIR="doc" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" @@ -18,7 +18,10 @@ HOMEPAGE="https://github.com/stompgem/stomp" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" + +PATCHES=( + "${FILESDIR}"/${PN}-1.4.10-rspec-3.12.patch +) all_ruby_prepare() { # Skip specs that hang the test run indefinitely, most likely diff --git a/dev-ruby/term-ansicolor/term-ansicolor-1.7.1-r1.ebuild b/dev-ruby/term-ansicolor/term-ansicolor-1.7.1-r1.ebuild index 128bff96a352..07a050f6d287 100644 --- a/dev-ruby/term-ansicolor/term-ansicolor-1.7.1-r1.ebuild +++ b/dev-ruby/term-ansicolor/term-ansicolor-1.7.1-r1.ebuild @@ -1,8 +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 ruby31" + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="none" RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" @@ -13,11 +14,10 @@ inherit ruby-fakegem DESCRIPTION="Small Ruby library that colors strings using ANSI escape sequences" HOMEPAGE="https://flori.github.io/term-ansicolor/" -LICENSE="GPL-2" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +LICENSE="GPL-2" SLOT="0" -IUSE="" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" ruby_add_rdepend ">=dev-ruby/tins-1.0" diff --git a/dev-ruby/terminal-table/terminal-table-1.8.0-r2.ebuild b/dev-ruby/terminal-table/terminal-table-1.8.0-r4.ebuild index a359b8268e93..516de897522a 100644 --- a/dev-ruby/terminal-table/terminal-table-1.8.0-r2.ebuild +++ b/dev-ruby/terminal-table/terminal-table-1.8.0-r4.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" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="rspec3" diff --git a/dev-ruby/terminal-table/terminal-table-2.0.0.ebuild b/dev-ruby/terminal-table/terminal-table-2.0.0-r1.ebuild index 17ed5ebe4a0e..6ff3e27fedc3 100644 --- a/dev-ruby/terminal-table/terminal-table-2.0.0.ebuild +++ b/dev-ruby/terminal-table/terminal-table-2.0.0-r1.ebuild @@ -1,8 +1,9 @@ -# 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="ruby27 ruby30" +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="rspec3" diff --git a/dev-ruby/terminal-table/terminal-table-3.0.2.ebuild b/dev-ruby/terminal-table/terminal-table-3.0.2.ebuild index 2c26dc043438..401d5bdb2050 100644 --- a/dev-ruby/terminal-table/terminal-table-3.0.2.ebuild +++ b/dev-ruby/terminal-table/terminal-table-3.0.2.ebuild @@ -1,8 +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 ruby31" + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="rspec3" @@ -17,11 +18,10 @@ inherit ruby-fakegem DESCRIPTION="Simple, feature rich ascii table generation library" HOMEPAGE="https://github.com/tj/terminal-table" SRC_URI="https://github.com/tj/terminal-table/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" -KEYWORDS="~amd64 ~arm64" +LICENSE="MIT" SLOT="$(ver_cut 1)" -IUSE="test" +KEYWORDS="~amd64 ~arm64" ruby_add_rdepend "|| ( dev-ruby/unicode-display_width:2 >=dev-ruby/unicode-display_width-1.1.1:1 )" diff --git a/dev-ruby/twitter/twitter-7.0.0-r3.ebuild b/dev-ruby/twitter/twitter-7.0.0-r3.ebuild index a85f120ce7d6..8ba69d61035d 100644 --- a/dev-ruby/twitter/twitter-7.0.0-r3.ebuild +++ b/dev-ruby/twitter/twitter-7.0.0-r3.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" +USE_RUBY="ruby27 ruby30 ruby31" RUBY_FAKEGEM_RECIPE_DOC="yard" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" diff --git a/dev-ruby/typeprof/Manifest b/dev-ruby/typeprof/Manifest index b123fead44c2..368d91ad63a2 100644 --- a/dev-ruby/typeprof/Manifest +++ b/dev-ruby/typeprof/Manifest @@ -1,3 +1,2 @@ -DIST typeprof-0.15.2.tar.gz 501984 BLAKE2B 4139de379539dce54c350fb1da09d87ca7251274738b81b9c098f27539f8cc20757aaf053efd4c089b88a7c08050a8e612ea6c1b71ad1a007c4c634ecd6e7564 SHA512 c94b74f0a0f8f87477f80615677a5c6479d3e326564f2d67c17e4e7f7e71ef5817fe6163d14fdd45fc9bb3de2420f8b09f68f0d031962fb5bafc478679cee331 DIST typeprof-0.21.3.tar.gz 1073355 BLAKE2B e8fa905b69f30b8f9884bae6b9600f802d0f0055f61f4a619768bf37547049fba97b8670cad9cdaeec9aa44519ae28bb13b8b0f533ff4d89e892e1726b56f7ff SHA512 ac9f0be4025181b994568e946591ddca4d0e4bb1949ba84d1920d765ba4549212e3fc4c10904ed691ecdbb153cd1b494f51065fcfddc4cb3c72ff5b393aa7c62 DIST typeprof-0.21.7.tar.gz 1036834 BLAKE2B c0a8a1ed3a0592f72489eb342cbaf132e647d11ef5f3eef003b4208e512f581aacd586cac137c9b405d59f71e1b9e2cbc9903a9c1b4791db0ad0a64485247eea SHA512 0dd149da7873ec4422a03fa31a828a8efafa5faff0c23dffde74650b71e14d472f1bb0c36d28a48e0538a761538504937ad4e0f8a711a9f5c2b52ac4128a8f37 diff --git a/dev-ruby/typeprof/typeprof-0.15.2.ebuild b/dev-ruby/typeprof/typeprof-0.15.2.ebuild deleted file mode 100644 index 7cea03dfe647..000000000000 --- a/dev-ruby/typeprof/typeprof-0.15.2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_BINDIR="exe" - -RUBY_FAKEGEM_GEMSPEC="typeprof.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Performs a type analysis of non-annotated Ruby code" -HOMEPAGE="https://github.com/ruby/typeprof" -SRC_URI="https://github.com/ruby/typeprof/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -KEYWORDS="~alpha amd64 arm arm64 hppa ~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" - -ruby_add_rdepend ">=dev-ruby/rbs-1.3.1" - -all_ruby_prepare() { - # Avoid tests that download live code using git - rm -r test/typeprof/{goodcheck,diff-lcs}_test.rb || die - - sed -i -e "s:_relative ': './:" -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die -} diff --git a/dev-ruby/uglifier/uglifier-4.2.0-r1.ebuild b/dev-ruby/uglifier/uglifier-4.2.0-r1.ebuild index 63f46cb9ffcb..81cdce0fd6e0 100644 --- a/dev-ruby/uglifier/uglifier-4.2.0-r1.ebuild +++ b/dev-ruby/uglifier/uglifier-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="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="rspec3" diff --git a/dev-ruby/unicode-display_width/Manifest b/dev-ruby/unicode-display_width/Manifest index 017755ac5e27..d2d2dec55073 100644 --- a/dev-ruby/unicode-display_width/Manifest +++ b/dev-ruby/unicode-display_width/Manifest @@ -1,5 +1,2 @@ DIST unicode-display_width-1.7.0.tar.gz 10822 BLAKE2B c3db387b9d61ba4ea9d5559824b22e40f173f9e9bcf7fdad3dba1edc36b39ae90276818bd54e74a6731bd2cb8c48b28e440d07f7e3cedbd8dc13441f79a2b56c SHA512 2b6d2b0118f4a2ad69e98fe2fac611ca94adc0dc59ad076083d0243c630a81a01d650965149a25feaf8986c262a5d55294e064361420e2140b53c5ced5fb1c77 -DIST unicode-display_width-2.1.0.tar.gz 11981 BLAKE2B b8e70183b1df9f17bd719e1193c3c2ade5d9186772e4246b618d882eda997a0c22ee0179778f7b8580e32ec89461453144d57d198075f0d400ea52f3679ff7dc SHA512 f8fb1375ba0e88a41633d4aca4628198c5ee55f318a7f0055c9178b39f55818ec892f6e455021cf5050dbd1d748a102b319b1d8b9921ed1ba54a1d106d7911aa -DIST unicode-display_width-2.2.0.tar.gz 12077 BLAKE2B f7b26d41e3b70122ddccbfdd44d83550bdab7b59b6801881814f33e50544d9d68ad59f34b58d9e961aaf9e2c709dfc83da8040cb03667e1293958cb23cf987c2 SHA512 85b7b9ed1e82b7865f32ad61208013cf89bcc5df05ac59ca2315545b759ee8da968409cbe89e7e7f30b03e209e811584ece2e99d33ae35413f9b6c318fff7064 -DIST unicode-display_width-2.3.0.tar.gz 12130 BLAKE2B 8a29aa0227e9bc63a8484d9a4f836dd4fccd3515206627e31f820cdef49167c406c67a3c9bae9c75b5e1c25675e1da02015f7eedc09ff413ffcd3e96704ae664 SHA512 82f52512f8338e310e501fd1892cbaf9c8e5b49a8bd191e9fafde72ca1ab5503ddfa81c3633b4ef6bc9e57d805f2792ddb5c6c63948022097feeb9bd7030beec DIST unicode-display_width-2.4.2.tar.gz 13096 BLAKE2B 89f7f8ded131a6c049242ede8822475c2629e2377a6b06ca59b1264c1c18981039c95c0aea8a24c00488b8f5c48aed3cc1b5672785eb36bbcf3cee1af8c2cc53 SHA512 c0815c19821855fed2d3205a6cae2059e0338fb27148f55281c910b54d5b0be2d34ba4bf990ba1c328c454f7ec8dbc0c69427550f2d62d1ac4ce5174b53b8ff3 diff --git a/dev-ruby/unicode-display_width/unicode-display_width-1.7.0.ebuild b/dev-ruby/unicode-display_width/unicode-display_width-1.7.0-r1.ebuild index 77afd3b83be7..355b9b1c4284 100644 --- a/dev-ruby/unicode-display_width/unicode-display_width-1.7.0.ebuild +++ b/dev-ruby/unicode-display_width/unicode-display_width-1.7.0-r1.ebuild @@ -1,8 +1,9 @@ -# 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" +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="rspec3" diff --git a/dev-ruby/unicode-display_width/unicode-display_width-2.1.0.ebuild b/dev-ruby/unicode-display_width/unicode-display_width-2.1.0.ebuild deleted file mode 100644 index 408071222f82..000000000000 --- a/dev-ruby/unicode-display_width/unicode-display_width-2.1.0.ebuild +++ /dev/null @@ -1,29 +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 ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRAINSTALL="data" - -RUBY_FAKEGEM_GEMSPEC="unicode-display_width.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Adds String#display_width to get the display size using EastAsianWidth.txt" -HOMEPAGE="https://github.com/janlelis/unicode-display_width" -SRC_URI="https://github.com/janlelis/unicode-display_width/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" - -KEYWORDS="~amd64 ~arm64" -SLOT="$(ver_cut 1)" -IUSE="" - -all_ruby_prepare() { - # Avoid experimental emoji support for now - sed -e '/\[emoji\]/,/^ end/ s:^:#:' \ - -e '/Config object based API/,/^end/ s:^:#:' \ - -i spec/display_width_spec.rb || die -} diff --git a/dev-ruby/unicode-display_width/unicode-display_width-2.2.0.ebuild b/dev-ruby/unicode-display_width/unicode-display_width-2.2.0.ebuild deleted file mode 100644 index 408071222f82..000000000000 --- a/dev-ruby/unicode-display_width/unicode-display_width-2.2.0.ebuild +++ /dev/null @@ -1,29 +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 ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRAINSTALL="data" - -RUBY_FAKEGEM_GEMSPEC="unicode-display_width.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Adds String#display_width to get the display size using EastAsianWidth.txt" -HOMEPAGE="https://github.com/janlelis/unicode-display_width" -SRC_URI="https://github.com/janlelis/unicode-display_width/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" - -KEYWORDS="~amd64 ~arm64" -SLOT="$(ver_cut 1)" -IUSE="" - -all_ruby_prepare() { - # Avoid experimental emoji support for now - sed -e '/\[emoji\]/,/^ end/ s:^:#:' \ - -e '/Config object based API/,/^end/ s:^:#:' \ - -i spec/display_width_spec.rb || die -} diff --git a/dev-ruby/unicode-display_width/unicode-display_width-2.3.0.ebuild b/dev-ruby/unicode-display_width/unicode-display_width-2.3.0.ebuild deleted file mode 100644 index bc8e4231b735..000000000000 --- a/dev-ruby/unicode-display_width/unicode-display_width-2.3.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRAINSTALL="data" - -RUBY_FAKEGEM_GEMSPEC="unicode-display_width.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Adds String#display_width to get the display size using EastAsianWidth.txt" -HOMEPAGE="https://github.com/janlelis/unicode-display_width" -SRC_URI="https://github.com/janlelis/unicode-display_width/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" - -KEYWORDS="~amd64 ~arm64" -SLOT="$(ver_cut 1)" -IUSE="" - -all_ruby_prepare() { - # Avoid experimental emoji support for now - sed -e '/\[emoji\]/,/^ end/ s:^:#:' \ - -e '/Config object based API/,/^end/ s:^:#:' \ - -i spec/display_width_spec.rb || die -} diff --git a/dev-ruby/webrick/webrick-1.7.0-r1.ebuild b/dev-ruby/webrick/webrick-1.7.0-r1.ebuild index 5a8e1b8cf170..8fbb8e2a0d9c 100644 --- a/dev-ruby/webrick/webrick-1.7.0-r1.ebuild +++ b/dev-ruby/webrick/webrick-1.7.0-r1.ebuild @@ -15,7 +15,7 @@ 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 ~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" diff --git a/dev-ruby/webrick/webrick-1.7.0.ebuild b/dev-ruby/webrick/webrick-1.7.0.ebuild deleted file mode 100644 index 848e0ec7904b..000000000000 --- a/dev-ruby/webrick/webrick-1.7.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby25 ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_BINWRAP="" -RUBY_FAKEGEM_EXTRADOC="README.md" -RUBY_FAKEGEM_GEMSPEC="webrick.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="An HTTP server toolkit" -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 ~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 -} diff --git a/dev-ruby/websocket/files/websocket-1.2.9-default-port.patch b/dev-ruby/websocket/files/websocket-1.2.9-default-port.patch new file mode 100644 index 000000000000..5830036da62e --- /dev/null +++ b/dev-ruby/websocket/files/websocket-1.2.9-default-port.patch @@ -0,0 +1,134 @@ +https://github.com/imanel/websocket-ruby/commit/736a7515aff808a5c268b87066e928b59aed769e + +From 736a7515aff808a5c268b87066e928b59aed769e Mon Sep 17 00:00:00 2001 +From: Bernard Potocki <bernard.potocki@imanel.org> +Date: Thu, 17 Feb 2022 20:02:21 +0100 +Subject: [PATCH] Ensure correct port is always specified (#48) + +--- a/lib/websocket/handshake/base.rb ++++ b/lib/websocket/handshake/base.rb +@@ -7,7 +7,7 @@ class Base + include ExceptionHandler + include NiceInspect + +- attr_reader :host, :port, :path, :query, ++ attr_reader :host, :path, :query, + :state, :version, :secure, + :headers, :protocols + +@@ -66,6 +66,20 @@ def leftovers + (@leftovers.to_s.split("\n", reserved_leftover_lines + 1)[reserved_leftover_lines] || '').strip + end + ++ # Return default port for protocol (80 for ws, 443 for wss) ++ def default_port ++ secure ? 443 : 80 ++ end ++ ++ # Check if provided port is a default one ++ def default_port? ++ port == default_port ++ end ++ ++ def port ++ @port || default_port ++ end ++ + # URI of request. + # @return [String] Full URI with protocol + # @example +@@ -73,7 +87,7 @@ def leftovers + def uri + uri = String.new(secure ? 'wss://' : 'ws://') + uri << host +- uri << ":#{port}" if port ++ uri << ":#{port}" unless default_port? + uri << path + uri << "?#{query}" if query + uri +--- a/lib/websocket/handshake/client.rb ++++ b/lib/websocket/handshake/client.rb +@@ -61,7 +61,7 @@ def initialize(args = {}) + uri = URI.parse(@url || @uri) + @secure ||= (uri.scheme == 'wss') + @host ||= uri.host +- @port ||= uri.port ++ @port ||= uri.port || default_port + @path ||= uri.path + @query ||= uri.query + end +--- a/lib/websocket/handshake/handler/client04.rb ++++ b/lib/websocket/handshake/handler/client04.rb +@@ -21,7 +21,7 @@ def handshake_keys + %w[Connection Upgrade] + ] + host = @handshake.host +- host += ":#{@handshake.port}" if @handshake.port ++ host += ":#{@handshake.port}" unless @handshake.default_port? + keys << ['Host', host] + keys += super + keys << ['Sec-WebSocket-Origin', @handshake.origin] if @handshake.origin +--- a/lib/websocket/handshake/handler/client75.rb ++++ b/lib/websocket/handshake/handler/client75.rb +@@ -18,7 +18,7 @@ def handshake_keys + %w[Connection Upgrade] + ] + host = @handshake.host +- host += ":#{@handshake.port}" if @handshake.port ++ host += ":#{@handshake.port}" unless @handshake.default_port? + keys << ['Host', host] + keys << ['Origin', @handshake.origin] if @handshake.origin + keys << ['WebSocket-Protocol', @handshake.protocols.first] if @handshake.protocols.any? +--- a/lib/websocket/handshake/server.rb ++++ b/lib/websocket/handshake/server.rb +@@ -129,13 +129,13 @@ def should_respond? + # Host of server according to client header + # @return [String] host + def host +- @headers['host'].to_s.split(':')[0].to_s ++ @host || @headers['host'].to_s.split(':')[0].to_s + end + + # Port of server according to client header +- # @return [String] port ++ # @return [Integer] port + def port +- @headers['host'].to_s.split(':')[1] ++ (@port || @headers['host'].to_s.split(':')[1] || default_port).to_i + end + + private +--- a/spec/support/all_client_drafts.rb ++++ b/spec/support/all_client_drafts.rb +@@ -38,6 +38,10 @@ def validate_request + expect(handshake.query).to eql('aaa=bbb') + end + ++ it 'returns default port' do ++ expect(handshake.port).to be(80) ++ end ++ + it 'returns valid port' do + @request_params = { port: 123 } + expect(handshake.port).to be(123) +--- a/spec/support/all_server_drafts.rb ++++ b/spec/support/all_server_drafts.rb +@@ -47,11 +47,17 @@ def validate_request + expect(handshake.query).to eql('aaa=bbb') + end + ++ it 'returns default port' do ++ handshake << client_request ++ ++ expect(handshake.port).to be(80) ++ end ++ + it 'returns valid port' do + @request_params = { port: 123 } + handshake << client_request + +- expect(handshake.port).to eql('123') ++ expect(handshake.port).to be(123) + end + + it 'returns valid response' do diff --git a/dev-ruby/websocket/websocket-1.2.9-r2.ebuild b/dev-ruby/websocket/websocket-1.2.9-r2.ebuild new file mode 100644 index 000000000000..9c9d3b6ac7bf --- /dev/null +++ b/dev-ruby/websocket/websocket-1.2.9-r2.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_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Universal Ruby library to handle WebSocket protocol" +HOMEPAGE="https://github.com/imanel/websocket-ruby" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( + dev-ruby/rspec-its + dev-ruby/webrick + ) +" + +PATCHES=( + "${FILESDIR}"/${P}-default-port.patch +) |
