diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-10-10 07:05:30 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-10-10 07:42:32 +0200 |
commit | d944ef7dcd2517637e36621e5b44b84ef63d521c (patch) | |
tree | e891be05f6c3d6816cbf2f5feae9581925e25a1c /dev-ruby/zeitwerk | |
parent | dev-ruby/will_paginate: add 3.2.0 (diff) | |
download | gentoo-d944ef7dcd2517637e36621e5b44b84ef63d521c.tar.gz gentoo-d944ef7dcd2517637e36621e5b44b84ef63d521c.tar.bz2 gentoo-d944ef7dcd2517637e36621e5b44b84ef63d521c.zip |
dev-ruby/zeitwerk: add 2.2.0
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/zeitwerk')
-rw-r--r-- | dev-ruby/zeitwerk/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/zeitwerk/zeitwerk-2.2.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest index ac77a0899c27..caa94f2a9aeb 100644 --- a/dev-ruby/zeitwerk/Manifest +++ b/dev-ruby/zeitwerk/Manifest @@ -2,3 +2,4 @@ DIST zeitwerk-1.4.3.tar.gz 84202 BLAKE2B 8e14790f4a5b5122efacbe89a0d1ede5c993356 DIST zeitwerk-2.1.10.tar.gz 92514 BLAKE2B 509cdaeecb8d7d369282a5fc9e8632a19eb2036881290b33a36deeb1953329ce6541ead79a1cd70c7467ea4ae4a0d9197b02009265ff0932e60030a2446f04c2 SHA512 6a6997c45fe322dd4a65832af450efd7e19d942868b9c948e795b7f5614f2f95a53fc29461fa831e0e525917e34c1e7a592970e1582a921227e9977cb669b74a DIST zeitwerk-2.1.8.tar.gz 90774 BLAKE2B b42c56937b5f9709ce05125ab9358012f4132a49f23a3a56f464aed0c20ba7582e77e7d6cb65d2607d75eed089140827efcec14a2ffe8dd1adb3ead3c10fc882 SHA512 14db7e467b45536cb796f7dae4ca96e8167be023a562cc723843b1a63586ec6678ed23cb3307c3389ce5dba099c70dbdd257d23f5ce649af676aea795fa36243 DIST zeitwerk-2.1.9.tar.gz 92046 BLAKE2B e4b48c9de3ee575d6b82427211e129478c9839d5716472896f2d6056ba42b7aaf861e644f92329af5034d92092bf02789f04cf6e5d6390151601eb138d7dfa58 SHA512 15de54c5e5b4042e99109707240627aaf5b76f4bf21a1a94d1230c1973404fdeecdc5f64ab16f75158608f64865ff8cc55f4841091c76e2731cc274b0109f677 +DIST zeitwerk-2.2.0.tar.gz 94494 BLAKE2B 7000628d230c6f65ced2202a924afdbed9092e4f9520cb49f41323c36ace441e1e4e37aa914fed9ff25498f246ef09dff835540624ce4eeacfe26e6c37106d1c SHA512 cebe2f3169cd7a3a3a477f24eaa81048fd5988d7e846bf95bfe6e06da54ade0cf22808319defa1b7a9603550f2a4c075cc5284cf7b53b1899555c3cb5d756e05 diff --git a/dev-ruby/zeitwerk/zeitwerk-2.2.0.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.2.0.ebuild new file mode 100644 index 000000000000..71326b63c151 --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.2.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +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 ~arm ~arm64 ~x86" +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 +} |