diff options
Diffstat (limited to 'dev-ruby/binding_of_caller')
-rw-r--r-- | dev-ruby/binding_of_caller/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/binding_of_caller/binding_of_caller-1.0.0-r1.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/binding_of_caller/Manifest b/dev-ruby/binding_of_caller/Manifest index 6019bb47b705..ca93c3efdd8f 100644 --- a/dev-ruby/binding_of_caller/Manifest +++ b/dev-ruby/binding_of_caller/Manifest @@ -1,5 +1,6 @@ DIST binding_of_caller-0.8.0.gem 87552 BLAKE2B 9097fe2dbf1e5ea2361bee94cb83ce8152f7e1357caecf1217b1643be225e21e5aa793e7fccbef5c983d5c204b95e633ded490158dfdd1d4e99fca81c51cb910 SHA512 d6ea4e893415eaf3614b109f8f36c3fa2378da9997d013fccbd0fc1e598886d11f7843023ceed2468184d5b8df01e2329ef16c7af57bc60bbd47304a53b43974 DIST binding_of_caller-1.0.0.tar.gz 7473 BLAKE2B 2a8f3cee555e11c9eeb56935d0ee51deb037ea5fc631b4ef5eb50a831e48ba47c6a94e9104456bd8e6c4910bc76c5bc7e268db7de8c5ed283886b80c3feffd62 SHA512 89c58fec180b7bc25c5124035ed69692961148a3ddcb561643e7b8b1a78c3b103795408b52e70264db7c4b62080991219af977c5b981a135d573ecd56cebebba EBUILD binding_of_caller-0.8.0.ebuild 576 BLAKE2B e78491de6adb0de769ebce72fbabab41b4a26ba3410e26452ee177e60fcd770369c44969a6358398de130c373c90981d9c5b6400b549a9039a2594bebb523959 SHA512 4f832eb9a856fb0d6377786a6d0e2d6d16270bfdf1d9d60a40f66fcee6d1e2906fea0c8eed63c64b3dff2a29bd80ca3f65611df7b95a87abebdf5e6085bcf9e5 +EBUILD binding_of_caller-1.0.0-r1.ebuild 815 BLAKE2B eb77b9d4599af8b5d7b501b01abd0dcc987add41320532c59c09891b8f1f05ad8065f9639fe36d65b38ecf67c290c95ff9212696cd5374e9c157070316051498 SHA512 682e5774094b0d5a480ed462291aaacab43f89cd7d2f987d26d912c9c3ec2c68bd63662ea0099c06bef2b0fbb45d9d7621381f9e1a29f186455299948545ccfb EBUILD binding_of_caller-1.0.0.ebuild 808 BLAKE2B 58e4df4996d67fe3b9d850c7b9be3ba598c5baac264e9771dc51947240c37d1aa3703c1b5b2246f6c6a246fa068fd916de6deaea3cb50335c258655926ea043b SHA512 12ce0383563bdffc384a93d5d4c019e31ba4c3f75b14671f9784f14053ff9509af3492d55303ff7c858b0562cd5325a0597e20d1ce8281757028bd87bf832b40 MISC metadata.xml 352 BLAKE2B 1ff945eb6a72367cd1901603d59de20bc43ac45a07bcb525d7cb8641dc9cbab8493a19919a3600356d49082bc5563471926fe632cd0ccf5c0ba34d2445e31cdb SHA512 3774a75d46642d38c562d1a2cfe3c432cf3857801fb44b3da21ba2bbe9bd046b60d1bf4b5712efe66b9d875d407717a53f0a00a3516b631d05335f045f87fa23 diff --git a/dev-ruby/binding_of_caller/binding_of_caller-1.0.0-r1.ebuild b/dev-ruby/binding_of_caller/binding_of_caller-1.0.0-r1.ebuild new file mode 100644 index 000000000000..51161fe0e1f7 --- /dev/null +++ b/dev-ruby/binding_of_caller/binding_of_caller-1.0.0-r1.ebuild @@ -0,0 +1,30 @@ +# 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_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="binding_of_caller.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Retrieve the binding of a method's caller" +HOMEPAGE="https://github.com/banister/binding_of_caller" +SRC_URI="https://github.com/banister/binding_of_caller/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/debug_inspector-0.0.1" + +all_ruby_prepare() { + sed -i -e "s:_relative ': './:" -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die +} |