diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-04-27 12:30:10 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-04-27 13:25:45 +0200 |
commit | 88d9fda5a596095ff899a5410bdbae2275534067 (patch) | |
tree | 945ba3aacfc8acf2f10ff3b61d5ab27caf70cb8c /dev-ruby/middleware | |
parent | dev-ruby/deep_merge: enable ruby32 (diff) | |
download | gentoo-88d9fda5a596095ff899a5410bdbae2275534067.tar.gz gentoo-88d9fda5a596095ff899a5410bdbae2275534067.tar.bz2 gentoo-88d9fda5a596095ff899a5410bdbae2275534067.zip |
dev-ruby/middleware: update EAPI 7 -> 8, add ruby32
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/middleware')
-rw-r--r-- | dev-ruby/middleware/middleware-0.1.0-r1.ebuild | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-ruby/middleware/middleware-0.1.0-r1.ebuild b/dev-ruby/middleware/middleware-0.1.0-r1.ebuild new file mode 100644 index 000000000000..ea626f675492 --- /dev/null +++ b/dev-ruby/middleware/middleware-0.1.0-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md user_guide.md" + +inherit ruby-fakegem + +DESCRIPTION="Generalized implementation of the middleware abstraction for Ruby" +HOMEPAGE="https://github.com/mitchellh/middleware" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +SLOT="0" +IUSE="" + +all_ruby_prepare() { + # Avoid test failing with rspec 2.14+ + sed -i -e '/should raise an error if an invalid middleware is given/,/^ end/ s:^:#:' spec/middleware/runner_spec.rb +} |