diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-05-11 07:29:52 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-05-11 07:29:52 +0200 |
commit | 0e7c0971bc35508c190b02222302cea2859a898e (patch) | |
tree | 45d692fb72d23dd56b1b018025fe8425641f8ecb /dev-ruby/zeitwerk | |
parent | dev-ruby/test-unit: add 3.3.3 (diff) | |
download | gentoo-0e7c0971bc35508c190b02222302cea2859a898e.tar.gz gentoo-0e7c0971bc35508c190b02222302cea2859a898e.tar.bz2 gentoo-0e7c0971bc35508c190b02222302cea2859a898e.zip |
dev-ruby/zeitwerk: add 2.1.6
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/zeitwerk')
-rw-r--r-- | dev-ruby/zeitwerk/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/zeitwerk/zeitwerk-2.1.6.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest index 647bc1ba7a2e..f83230aaaa19 100644 --- a/dev-ruby/zeitwerk/Manifest +++ b/dev-ruby/zeitwerk/Manifest @@ -1,3 +1,4 @@ DIST zeitwerk-1.4.3.tar.gz 84202 BLAKE2B 8e14790f4a5b5122efacbe89a0d1ede5c9933564db40f3b498423b73852e91990e09321b3d2854ada8c57aa914bb596d1381ea697e751bc22d7b9ecf4e5653b8 SHA512 e3ba6dcaf5b85c117278e65f15559e7750062ba204b3cdeba4248eb4f153ad4aa09164db61671f6ea00846a9d89ec218b66338dbcbd2c376f4e7b28364533f55 DIST zeitwerk-2.1.0.tar.gz 86684 BLAKE2B 88227fc490a5837131472746b998885e6a3ee0d2b0fdd928bbf16f03ec2dc2f17bd5721d828a33050fa8bc9f280af26fa3abb423e818519779126179e27343ed SHA512 78ca4621f1a9a632e529ecf329ed70a177e87440f285d93191cbc58a152ea0b23a74362981e61f8ebe58f76e26161f5923ca304c80aa4ab1ac72495667b85bcc DIST zeitwerk-2.1.5.tar.gz 89234 BLAKE2B 2da03d3e92ebc8e5ffe2a3ce742790b205c3f20002b06eb77224d80311cde7634941bfce3fe358925deca9e1fd8b4d61abf7629f1056bb5533efe378c6004281 SHA512 fa724e2893b830e28e3d74bb6df5f45ac45c233ff4c36908b7743ed9ae925e715c0b1b4912ba2a9ef433415d228a721b8c30316e6a1abe36315674bf9484bf6c +DIST zeitwerk-2.1.6.tar.gz 89939 BLAKE2B f6385800904ff2f5eb74712324997ba73718d88600aafc083c9820441056dbcea1e042a764587aa26b3a115cd8b531b72b65933b2dcc272a25d85e3f9e7b50f9 SHA512 7e38c98c1dd34c5f87ba77bc1e984933f3bd7da44edf5e822ecd3aadf2d87f352bce1f59aec62f7f605f1e334ac5ed3f596b1c5795596f8b7d7431b9e2c0f71e diff --git a/dev-ruby/zeitwerk/zeitwerk-2.1.6.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.1.6.ebuild new file mode 100644 index 000000000000..e3f56d54a1b1 --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.1.6.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Efficient and thread-safe code loader for Ruby" +HOMEPAGE="https://github.com/fxn/zeitwerk" +SRC_URI="https://github.com/fxn/zeitwerk/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + rm -f Gemfile.lock || die + sed -i -e '/\(focus\|reporters\|Reporters\)/ s:^:#:' Gemfile test/test_helper.rb || die + + sed -i -e 's:require_relative "lib:require "./lib:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} |