diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
| commit | f716a9fe6455d39eef01e718aae68dae61c19704 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-ruby/mocha | |
| parent | 3f9cf298e89cd5037b982abba06091224ee76daf (diff) | |
| download | baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/mocha')
| -rw-r--r-- | dev-ruby/mocha/Manifest | 7 | ||||
| -rw-r--r-- | dev-ruby/mocha/files/mocha-1.16.0-ruby32.patch | 53 | ||||
| -rw-r--r-- | dev-ruby/mocha/metadata.xml | 11 | ||||
| -rw-r--r-- | dev-ruby/mocha/mocha-0.14.0-r1.ebuild | 35 | ||||
| -rw-r--r-- | dev-ruby/mocha/mocha-2.4.5.ebuild | 35 | ||||
| -rw-r--r-- | dev-ruby/mocha/mocha-2.6.1.ebuild | 35 | ||||
| -rw-r--r-- | dev-ruby/mocha/mocha-2.7.1.ebuild | 35 | ||||
| -rw-r--r-- | dev-ruby/mocha/mocha-2.8.2.ebuild | 36 | ||||
| -rw-r--r-- | dev-ruby/mocha/mocha-3.0.0.ebuild | 36 | ||||
| -rw-r--r-- | dev-ruby/mocha/mocha-3.0.1.ebuild | 36 |
10 files changed, 0 insertions, 319 deletions
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest deleted file mode 100644 index 40a01663defa..000000000000 --- a/dev-ruby/mocha/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -DIST mocha-0.14.0.gem 82944 BLAKE2B 50a066e2f5007df08a7f76785fd4c2b12327b4969c11324a0574c707bea3219d51edb9ab40635378c16b46ad826ec7eff42434a27cd61113a6f40251fa2e6930 SHA512 918e45f2ee761c7dc399c7958e4d406f9e186c90f479fd01a421aa542944b47e9b2c5e938f4fc5292a7da345726447b2d47dc5f417e114201f8a4d9893c4d461 -DIST mocha-2.4.5.tar.gz 248872 BLAKE2B 739dfe4945d153117e5c644b6f0ed568c08e88e27807d37455a8c86d0ec3e5246203b8561097752ddf974883bb6f4b6fb959fac5ccf3f950b2387f87de117f66 SHA512 25f7873071b8ad531ffc3a8c680115810654b9478a8f7f4f999df8c38e9a60a262fcf5719ff620c649134d7df39663e00b2f5fae5635ad02b4aa6b6a92cf0869 -DIST mocha-2.6.1.tar.gz 251543 BLAKE2B db9ed8d31b72c229dd56c0417fa32312fb9142b443743be896a7f02e38b46e1f7a36a5be377122c007cc9eb0c735d019fefa1958aa46c22c5d11af61a70cfc00 SHA512 25fb178d6f63b1357017b7b007c35e0cb94fd854ceaeaf74686e5a104006aa9033fc554d69e3b59e0a03cecde8d6aa06b24ac2055e2cd4467ea340ec1710c955 -DIST mocha-2.7.1.tar.gz 253415 BLAKE2B 857c188e4eda776ab00f28b79c8adcf1a92621c37ea930623a12a34cb3ee76781eb9293c9dd1091290ae3c1457da2a26255e3f3421b3b392483e5fc945dd1ae7 SHA512 951fc766e49f6bd76846e18929d9463da7575aeb4169e623dd954760eff6f8f883d696db4379ce93215a966abfd15ed734ad812c7cdc6c461690fe948141c215 -DIST mocha-2.8.2.tar.gz 257949 BLAKE2B 9437e0232d3c5f1114ff25a68a9b26ccfb3c5a412a5540a06e7d060c30e4130a8e6a711d03889d66ec5621d2fcc72833b0566d2100fc795ada676354a7a57c1b SHA512 30a287fec8dfce07b572e98fb7304fc9824c282e7210e5e4e781b55f86af95ecae1dd9f3638eaca31545e99dcdf3cc494cbb041fd26b15e839f90dd519d70574 -DIST mocha-3.0.0.tar.gz 260597 BLAKE2B e8505b117594a72a6351ef83d6a1547f4ea9752c22581cf380ab739bff7f497d23dc45abc547f2d2a6c62c6f209b6bb5593b2ce83b2cc054c2fad65e052f1fab SHA512 bc36ec0df60dfdd6d677a6e7b5c87cf618b581219def28d8269a9edc5a97502e3bacbd02ce7551d7d9ff6b3e555417f4aeafcf6fb0934f9723290d8367dddd40 -DIST mocha-3.0.1.tar.gz 260683 BLAKE2B 5e14d14379d3e1a4981eddcc95ec7489ec9ed4e7bf48e7ff33726bfeab59f5a511430fc3f893d37aca4031ce536aa3a711e5228676b584425eb0a710c1c3b8ee SHA512 4821f39dde7e707b385b690c40e39d41ff313a4e6403a2553029f83066606c694edccb3503a2c8b5634aa2c9e2ede4e48f974c390a3b98afeaad60db25d44cd9 diff --git a/dev-ruby/mocha/files/mocha-1.16.0-ruby32.patch b/dev-ruby/mocha/files/mocha-1.16.0-ruby32.patch deleted file mode 100644 index a4f6b8c2fd7a..000000000000 --- a/dev-ruby/mocha/files/mocha-1.16.0-ruby32.patch +++ /dev/null @@ -1,53 +0,0 @@ -https://github.com/freerange/mocha/commit/ae9fed4a9f2ef6267302494ae0edf515d4a8a921 -https://github.com/freerange/mocha/commit/26b106a540ad57cd73401461451aa2711c541e9d - -From ae9fed4a9f2ef6267302494ae0edf515d4a8a921 Mon Sep 17 00:00:00 2001 -From: James Mead <james@floehopper.org> -Date: Thu, 24 Nov 2022 13:26:15 +0000 -Subject: [PATCH] DRY up regexp_matches test - ---- a/test/unit/parameter_matchers/regexp_matches_test.rb -+++ b/test/unit/parameter_matchers/regexp_matches_test.rb -@@ -32,14 +32,18 @@ def test_should_not_match_on_empty_arguments - end - - def test_should_not_raise_error_on_argument_that_does_not_respond_to_equals_tilde -- object_not_responding_to_equals_tilde = Class.new { undef =~ }.new - matcher = regexp_matches(/oo/) - assert_nothing_raised { matcher.matches?([object_not_responding_to_equals_tilde]) } - end - - def test_should_not_match_on_argument_that_does_not_respond_to_equals_tilde -- object_not_responding_to_equals_tilde = Class.new { undef =~ }.new - matcher = regexp_matches(/oo/) - assert !matcher.matches?([object_not_responding_to_equals_tilde]) - end -+ -+ private -+ -+ def object_not_responding_to_equals_tilde -+ Class.new { undef =~ }.new -+ end - end - -From 26b106a540ad57cd73401461451aa2711c541e9d Mon Sep 17 00:00:00 2001 -From: James Mead <james@floehopper.org> -Date: Fri, 25 Nov 2022 09:04:43 +0000 -Subject: [PATCH] Fix regexp_matches tests in Ruby v3.2 - -Object#~= has been removed from Ruby v3.2 [1]. - -Closes #590. - -[1]: https://bugs.ruby-lang.org/issues/15231 ---- a/test/unit/parameter_matchers/regexp_matches_test.rb -+++ b/test/unit/parameter_matchers/regexp_matches_test.rb -@@ -44,6 +44,6 @@ def test_should_not_match_on_argument_that_does_not_respond_to_equals_tilde - private - - def object_not_responding_to_equals_tilde -- Class.new { undef =~ }.new -+ Class.new { undef =~ if respond_to?(:=~) }.new - end - end - diff --git a/dev-ruby/mocha/metadata.xml b/dev-ruby/mocha/metadata.xml deleted file mode 100644 index 73af35f9de54..000000000000 --- a/dev-ruby/mocha/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>ruby@gentoo.org</email> - <name>Gentoo Ruby Project</name> - </maintainer> - <upstream> - <remote-id type="github">freerange/mocha</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-ruby/mocha/mocha-0.14.0-r1.ebuild b/dev-ruby/mocha/mocha-0.14.0-r1.ebuild deleted file mode 100644 index f775a9f63215..000000000000 --- a/dev-ruby/mocha/mocha-0.14.0-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby32 ruby33 ruby34" - -RUBY_FAKEGEM_TASK_TEST="MOCHA_NO_DOCS=true test:units" - -RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" - -RUBY_FAKEGEM_EXTRAINSTALL="init.rb" - -inherit ruby-fakegem - -DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" -HOMEPAGE="http://gofreerange.com/mocha/docs/" - -LICENSE="MIT" -SLOT="0.14" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="" - -ruby_add_bdepend " - test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" - -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.4.5.ebuild b/dev-ruby/mocha/mocha-2.4.5.ebuild deleted file mode 100644 index 1242118eebd2..000000000000 --- a/dev-ruby/mocha/mocha-2.4.5.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32 ruby33" -RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" -RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" -RUBY_FAKEGEM_GEMSPEC="mocha.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" -HOMEPAGE="https://mocha.jamesmead.org/" -SRC_URI="https://github.com/freerange/mocha/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" - -ruby_add_rdepend ">=dev-ruby/ruby2_keywords-0.0.5" - -ruby_add_bdepend " - test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" - -all_ruby_prepare() { - sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die - - sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_test() { - export MOCHA_NO_DOCS=true - each_fakegem_test -} diff --git a/dev-ruby/mocha/mocha-2.6.1.ebuild b/dev-ruby/mocha/mocha-2.6.1.ebuild deleted file mode 100644 index 785272116791..000000000000 --- a/dev-ruby/mocha/mocha-2.6.1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32 ruby33 ruby34" -RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" -RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" -RUBY_FAKEGEM_GEMSPEC="mocha.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" -HOMEPAGE="https://mocha.jamesmead.org/" -SRC_URI="https://github.com/freerange/mocha/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -ruby_add_rdepend ">=dev-ruby/ruby2_keywords-0.0.5" - -ruby_add_bdepend " - test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" - -all_ruby_prepare() { - sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die - - sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_test() { - export MOCHA_NO_DOCS=true - each_fakegem_test -} diff --git a/dev-ruby/mocha/mocha-2.7.1.ebuild b/dev-ruby/mocha/mocha-2.7.1.ebuild deleted file mode 100644 index 912e005e3e57..000000000000 --- a/dev-ruby/mocha/mocha-2.7.1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32 ruby33 ruby34" -RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" -RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" -RUBY_FAKEGEM_GEMSPEC="mocha.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" -HOMEPAGE="https://mocha.jamesmead.org/" -SRC_URI="https://github.com/freerange/mocha/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" - -ruby_add_rdepend ">=dev-ruby/ruby2_keywords-0.0.5" - -ruby_add_bdepend " - test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" - -all_ruby_prepare() { - sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die - - sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_test() { - export MOCHA_NO_DOCS=true - each_fakegem_test -} diff --git a/dev-ruby/mocha/mocha-2.8.2.ebuild b/dev-ruby/mocha/mocha-2.8.2.ebuild deleted file mode 100644 index 15f63fe73734..000000000000 --- a/dev-ruby/mocha/mocha-2.8.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby32 ruby33 ruby34" - -RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" -RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" -RUBY_FAKEGEM_GEMSPEC="mocha.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" -HOMEPAGE="https://mocha.jamesmead.org/" -SRC_URI="https://github.com/freerange/mocha/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -ruby_add_rdepend ">=dev-ruby/ruby2_keywords-0.0.5" - -ruby_add_bdepend " - test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" - -all_ruby_prepare() { - sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die - - sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_test() { - export MOCHA_NO_DOCS=true - each_fakegem_test -} diff --git a/dev-ruby/mocha/mocha-3.0.0.ebuild b/dev-ruby/mocha/mocha-3.0.0.ebuild deleted file mode 100644 index 15f63fe73734..000000000000 --- a/dev-ruby/mocha/mocha-3.0.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby32 ruby33 ruby34" - -RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" -RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" -RUBY_FAKEGEM_GEMSPEC="mocha.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" -HOMEPAGE="https://mocha.jamesmead.org/" -SRC_URI="https://github.com/freerange/mocha/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -ruby_add_rdepend ">=dev-ruby/ruby2_keywords-0.0.5" - -ruby_add_bdepend " - test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" - -all_ruby_prepare() { - sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die - - sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_test() { - export MOCHA_NO_DOCS=true - each_fakegem_test -} diff --git a/dev-ruby/mocha/mocha-3.0.1.ebuild b/dev-ruby/mocha/mocha-3.0.1.ebuild deleted file mode 100644 index 8def8e3d36d2..000000000000 --- a/dev-ruby/mocha/mocha-3.0.1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby32 ruby33 ruby34 ruby40" - -RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" -RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" -RUBY_FAKEGEM_GEMSPEC="mocha.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" -HOMEPAGE="https://mocha.jamesmead.org/" -SRC_URI="https://github.com/freerange/mocha/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -ruby_add_rdepend ">=dev-ruby/ruby2_keywords-0.0.5" - -ruby_add_bdepend " - test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" - -all_ruby_prepare() { - sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die - - sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_test() { - export MOCHA_NO_DOCS=true - each_fakegem_test -} |
