Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
inherit ruby-fakegem
DESCRIPTION="Tools to access Forge API information on Modules, Users, and Releases"
all_ruby_prepare() {
# Avoid integration and user specs since they all require network access
rm -rf spec/integration spec/unit/forge/v3/user_spec.rb || die
+
+ # Fix overly restrictive dependencies
+ sed -i \
+ -e '/faraday/ s/0.14.0/0.99.0/' \
+ -e '/faraday_middleware/ s/0.13.0/0.99.0/' \
+ ${RUBY_FAKEGEM_GEMSPEC} || die
}