From 33fbebf874036e87802bf08c82d7c829c3b4938d Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 8 Nov 2021 06:43:25 +0100 Subject: [PATCH] dev-ruby/hashr: add ruby30 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff --- dev-ruby/hashr/hashr-2.0.1-r1.ebuild | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dev-ruby/hashr/hashr-2.0.1-r1.ebuild diff --git a/dev-ruby/hashr/hashr-2.0.1-r1.ebuild b/dev-ruby/hashr/hashr-2.0.1-r1.ebuild new file mode 100644 index 0000000000000..1439b1e1660f3 --- /dev/null +++ b/dev-ruby/hashr/hashr-2.0.1-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Simple Hash extension to make working with nested hashes easier" +HOMEPAGE="https://github.com/svenfuchs/hashr" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '1i require "spec_helper"' spec/hashr/delegate/conditional_spec.rb || die +}