summaryrefslogtreecommitdiff
path: root/dev-ruby/rspec-mocks
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-29 10:01:01 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-29 10:01:01 +0100
commit8ba401288d74259a5fd8e9de5241dd57a0a73b1f (patch)
treee49dac129b06e1a0a410f4c1b91581ea02d582ff /dev-ruby/rspec-mocks
parent746652e918ce7328c0cc5ffef8a79146b91ba21b (diff)
gentoo auto-resync : 29:10:2022 - 10:01:00
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.12.0.ebuild50
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/rspec-mocks/Manifest b/dev-ruby/rspec-mocks/Manifest
index 5c79509e35e6..8e7fb5b8edf9 100644
--- a/dev-ruby/rspec-mocks/Manifest
+++ b/dev-ruby/rspec-mocks/Manifest
@@ -4,10 +4,12 @@ DIST rspec-mocks-3.10.3-git.tgz 196996 BLAKE2B 22759a11cefbaccfef52b2a1a37131d3d
DIST rspec-mocks-3.11.0-git.tgz 198287 BLAKE2B 74b4abec79dc601fe734e0f657b239c2435b679d5624fad1fa9318eb4822be6d3899778af656913d3a89fd51a8334019aae51e45f10ab01b57655299187fb088 SHA512 7edf3a948a56b4f2c17f34ec2a00bf7289310f40a1561fd12dacdc27f0769dfb1f42632dd07c82831e27d21208499a2feac22ce92fdf6e450acbce38543a3b71
DIST rspec-mocks-3.11.1-git.tgz 198650 BLAKE2B bdf06f0614bb7b6c4eb6a0ff0af84d4f6ce8f456aad7c1b4324544d9750ee2e8c8a156d2181915f49afb62ba2be946c349cbd7ecc29caecb1c688ba6e47dc241 SHA512 c0095c615ba9e64f4dc9f2d5cb2a495f4e0b094b25eaf49c0d6a78bd4ab201f534a061243fbe63e86b64548c6c942d405dc36627057742135ce3e22e7561b4e9
DIST rspec-mocks-3.11.2-git.tgz 202347 BLAKE2B 7db89badf2cd3a9bdb590260dfced05cc72ccb7b2a8f600969f17c2df0523ee602f728aef257e88876f5c3b283645cf7f3243bd6de67c5bd26d3d74d0349593a SHA512 a1053cb9604b01de99f79b18fea2c4b3818d950e83da642a8b3aa9dbdb397429f51d95efa84a603770d4db94a25758c1cef15ce1ba77a4c952e9ef5f43a21e4d
+DIST rspec-mocks-3.12.0-git.tgz 202794 BLAKE2B 053c4b1504a369376cfef8411fd97304e56cd83be1b89296e4bf5b260af8ef89f8aff85a095bac5b8244b38020725ddd087d93774b49b422d37344b142a4badc SHA512 f292d4ab82e7da2badff596fba91a26499821565b13b4004571efdcd8b559cc4996c3d6e092c429b8ee2962d0898c79b54eec7fd6c7835d414e1ff0258bdd3f8
EBUILD rspec-mocks-2.99.2-r1.ebuild 1623 BLAKE2B fd1169cf4a9bdab0faac65b0cd738c31dfaeb59c5925eabd2999cf0a0c7cbf60033c9109414dd6504ff6e29c85bfe6a6fc41001ced2e5cd4eccfcedca86943a5 SHA512 5c4e6639691f811cb0b3658c1d6d0ebfc546ed486868e37dfa808c8a86041d1b0fd66f877505cc8ccee7129d9c0e586f63671391caec55f0b148e51ac4f7d5fd
EBUILD rspec-mocks-3.10.2.ebuild 1442 BLAKE2B fec61c4afdf328f06e2c2a9d7e0f3644836376b9925dbf27a55e959956f9c049343a56e95e3272cf9d062d86d2914998309d6cd51a6f6db1b86352d90cd5adc8 SHA512 11f1f35d5b2d59292a42ad277b3676c5c34bfaa72e22bf5705150eeff1d94fc3688e5f9daaf2b11e327767d481102f1a1890329562c0a6e78bbae0146e9ed3e7
EBUILD rspec-mocks-3.10.3.ebuild 1442 BLAKE2B c980f6995e1c6e16b8c7ad463dc2a29ac19a2d9a0deae49a625d430f332ef3b1a49bf09cec4b46d80bb0a2f01abdfce478858f96731e5e771cc7430a025b83ea SHA512 a34266c160e0953251bac75dcf8ff18b19d2c42a49ab8844dea7033b22120563b29efe870755b1c2e8e4f099018c45011f77e2626775c8a1b1ee60d8351f1081
EBUILD rspec-mocks-3.11.0.ebuild 1451 BLAKE2B 568141913af25f622e510c7287bc1ba6c16f4b119c231d6b3988abb9485ce0cf52f058219314effa3540f7cb78c212d0a87c5a8cdbc9157503cd91ab34788263 SHA512 fbc0a4d2a0d8d125506f32408b99c882ecc1849733a1c957af16b36e4e0c5bd5c0735bdf8e27bc04d6aa6f952eff70cc2767f7bea4d1ceaf2c1b15b53518c904
EBUILD rspec-mocks-3.11.1.ebuild 1458 BLAKE2B 56d68d0f345b15d6ae06307d4d0261d259324ebbb79969afcd9e62975c3870bee3dc3d002a2917eb83ee7fc919bd413a406f9d17640da699cf8449f5794a8860 SHA512 dbe45a2f9757daf37f4953538be42840b16e4cea3403b4dde79541a560a5144e31dd0c6c60669a33b723a077a9c4fd5251cc148a9d5190c950fa1479f2a1d315
EBUILD rspec-mocks-3.11.2.ebuild 1451 BLAKE2B 1ad96337e55ec4f4f256c7ba81d625c0d27f11a3d602661ee9ca811e3809e00429a2ae9fb8aaefb0dbd9ab844acab23c6dd6a9c4df0829090ee82949858b2ad1 SHA512 5f51ab0781e583b17ad0975d9f2c10637a9c30067fed93a0a02d62634338b7c25ffdc5d2bd592a9e18d1ef050f797429ed9d959b236573348c33cab751a08f91
+EBUILD rspec-mocks-3.12.0.ebuild 1452 BLAKE2B 33b7391074e25374e5485f960dcd08f8c9a329f4ddcc97f2ac7fc3632b754d3014c3cc6a89dc59459d9957cd74338b3eb6e4d8619b85c618a533e4d6d18962e0 SHA512 81097c356cb4c879c4ddf52f4f32de61ac2f5fbe489449536abf9334bf97aa89e46d388b627c3a6fb46b2c194e61d8e0b0a36cc43468bd5174b521aba9658879
MISC metadata.xml 344 BLAKE2B 5b939c668a8c75c33348bff9e8a0fa6042702fb59cdfdc2c8b45db1d9d191950a63d6f9b1329e6a2717a097d7b001afecb9ebbd0fa08badaf95664d37b06eb17 SHA512 026e9a293c2f99d86a11f37267fddcf54dbdc33aec00f470a988d477d6e3198ccc478c03cca059be0a4e324b9f256719c99c7c81af97c75fd7cebab433d4b1a1
diff --git a/dev-ruby/rspec-mocks/rspec-mocks-3.12.0.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-3.12.0.ebuild
new file mode 100644
index 000000000000..1c4d8324b4db
--- /dev/null
+++ b/dev-ruby/rspec-mocks/rspec-mocks-3.12.0.ebuild
@@ -0,0 +1,50 @@
+# 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_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="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+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
+
+ # 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
+}