summaryrefslogtreecommitdiff
path: root/dev-ruby/rspec-mocks
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-05 04:27:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-05 04:27:10 +0100
commitf3f72d0d5f1ae9ee74acaa63ccb7a247468e73bf (patch)
treee67f56736e141f27487331c26096c4c0a51979a8 /dev-ruby/rspec-mocks
parentfa275aeb316ed5e68498ca0057b27a1e9c887e26 (diff)
gentoo auto-resync : 05:10:2024 - 04:27:09
Diffstat (limited to 'dev-ruby/rspec-mocks')
-rw-r--r--dev-ruby/rspec-mocks/Manifest2
-rw-r--r--dev-ruby/rspec-mocks/rspec-mocks-3.13.2.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-ruby/rspec-mocks/Manifest b/dev-ruby/rspec-mocks/Manifest
index 70ec36df5d26..86d1e47e42cb 100644
--- a/dev-ruby/rspec-mocks/Manifest
+++ b/dev-ruby/rspec-mocks/Manifest
@@ -2,8 +2,10 @@ DIST rspec-mocks-3.12.6-git.tgz 207213 BLAKE2B 0b8bded9c6a04bb79910784e67f97028b
DIST rspec-mocks-3.12.7-git.tgz 208127 BLAKE2B 86ef82c47ae7ef4992c6394718ee29f91fde70967b7f8ba3101c6f0233ab32be22c9e0e69e9041e94b4e5a587e3e936f89a14dbf464c2bdd8f6ce7d827cc5448 SHA512 c168eb653b585a37052870521e88be0723eba1b2f7f373a04557813e75a62c67448577809fbe1c0d04b21311b29c9874ed7509800bc7c05cb618f208066c8eac
DIST rspec-mocks-3.13.0-git.tgz 208594 BLAKE2B c84b606094f8aba49cb32c07caedccaf4592110b3dbade60990c5bc7e6927576b57acd071ae43171328cb47ab9591aacef341389f3dcd6aa671f69511a5ce54a SHA512 5d7f52ac3594b37a87d377fcd2300fa1811490fff392ed0bbb4a6de471ae5cc627a7f9e7e7c351031558b87f78e3fcc2fff77ba2fffbb838972a9eb28b6c53da
DIST rspec-mocks-3.13.1-git.tgz 208640 BLAKE2B 5f8fa06c3058b5b2cc405b7c309377697cb274587258958312eb7d534deaf3cf3f84b938bc88806d58cb9b8b992116ffbbd87f9c9d45225960e8428895525dbd SHA512 f55083102dfac62a74fe1b11103ac41151b82461c3006cc59db038c9aeaa27bf97e6ae4e5cf97c374d0bbbd1ce300089d0c8d821fac9cf6cf9fe582e84642b7b
+DIST rspec-mocks-3.13.2-git.tgz 209159 BLAKE2B de4c16b11e1ae970ae39d5797ded171b72b95b5c2258b284283e499391332c4afe688aa52703a87daa38f31c3da266e676041a0d50e417b379f9e94a66d530dc SHA512 cb9b72cf1c85adddec59a19a683beb582f527ca3ca766f73f086c30e485e9267d8574344286f858d4c519df66cfcf225aa2f6f194c046781b8dec80aa240697f
EBUILD rspec-mocks-3.12.6.ebuild 1588 BLAKE2B 6eaa22c0ba401e9bc9121561d1a10f7468473c4d46760a0f0ad577e10072f392264362e8b578fce9b872d31941b58f372f10dd3b195d19179993b674bb485dc0 SHA512 cc7df0564e7cc1612ffc23fd0936a180466da4564baa3633fe270e2f7b29e815250de2bdf329689ff604b86ab832f1dc637e165df17a4ae3d70a47dfa672d050
EBUILD rspec-mocks-3.12.7.ebuild 1603 BLAKE2B d5797c54ff68f0da2a531b42331110c6e4ddc08272ad747d41032f95f4a59f0ec6fe386aa012a4a00c8e387415a6ca9227fbcf3c8b1bd36270a84ece47e1726b SHA512 a7b37bf38da3ba8226f11b5514cdb0e2742771811716cdd0b3482d0b834ff26fca4def10e19bce5e2994cccbdaa0b7921bec87f298ca256f2c1ba18fb8c1fafb
EBUILD rspec-mocks-3.13.0.ebuild 1603 BLAKE2B d5797c54ff68f0da2a531b42331110c6e4ddc08272ad747d41032f95f4a59f0ec6fe386aa012a4a00c8e387415a6ca9227fbcf3c8b1bd36270a84ece47e1726b SHA512 a7b37bf38da3ba8226f11b5514cdb0e2742771811716cdd0b3482d0b834ff26fca4def10e19bce5e2994cccbdaa0b7921bec87f298ca256f2c1ba18fb8c1fafb
EBUILD rspec-mocks-3.13.1.ebuild 1596 BLAKE2B ded5ec2574cd55fde436baecd4be218bd18d6d588b7474e625d14f317221a8277139488379e2f86b44638a1c1b8d4a84f4919aec94089126da3eec48ce3a20c3 SHA512 7979b32c72e6caa2594835274237a09c0e844d60b37ae05559308717a3bedb351712a9e1c9e3c0e250007348b251c4a24ef8bd2526c09a95d8997ea129a8a060
+EBUILD rspec-mocks-3.13.2.ebuild 1603 BLAKE2B d5797c54ff68f0da2a531b42331110c6e4ddc08272ad747d41032f95f4a59f0ec6fe386aa012a4a00c8e387415a6ca9227fbcf3c8b1bd36270a84ece47e1726b SHA512 a7b37bf38da3ba8226f11b5514cdb0e2742771811716cdd0b3482d0b834ff26fca4def10e19bce5e2994cccbdaa0b7921bec87f298ca256f2c1ba18fb8c1fafb
MISC metadata.xml 344 BLAKE2B 5b939c668a8c75c33348bff9e8a0fa6042702fb59cdfdc2c8b45db1d9d191950a63d6f9b1329e6a2717a097d7b001afecb9ebbd0fa08badaf95664d37b06eb17 SHA512 026e9a293c2f99d86a11f37267fddcf54dbdc33aec00f470a988d477d6e3198ccc478c03cca059be0a4e324b9f256719c99c7c81af97c75fd7cebab433d4b1a1
diff --git a/dev-ruby/rspec-mocks/rspec-mocks-3.13.2.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-3.13.2.ebuild
new file mode 100644
index 000000000000..113c3889a987
--- /dev/null
+++ b/dev-ruby/rspec-mocks/rspec-mocks-3.13.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+#RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="rspec-mocks.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
+HOMEPAGE="https://github.com/rspec/rspec-mocks"
+SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+SUBVERSION="$(ver_cut 1-2)"
+
+ruby_add_rdepend "=dev-ruby/rspec-support-${SUBVERSION}*
+ >=dev-ruby/diff-lcs-1.2.0 =dev-ruby/diff-lcs-1*"
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/rspec-core-3.12.0:3
+ >=dev-ruby/rspec-expectations-2.99.0:3
+ )"
+
+all_ruby_prepare() {
+ # Don't set up bundler: it doesn't understand our setup.
+ sed -i -e '/[Bb]undler/d' Rakefile || die
+
+ # Remove the Gemfile to avoid running through 'bundle exec'
+ rm Gemfile || die
+
+ # And consequently avoid specs using bundler. This also avoids a
+ # circular dependency on aruba.
+ rm -f spec/integration/rails_support_spec.rb spec/support/aruba.rb || die
+
+ # Remove .rspec options to avoid dependency on newer rspec when
+ # bootstrapping.
+ rm .rspec || die
+
+ sed -i -e '1irequire "spec_helper"' spec/rspec/mocks/any_instance_spec.rb || die
+
+ sed -i -e 's/git ls-files --/find */' ${RUBY_FAKEGEM_GEMSPEC} || die
+}