dev-ruby/shoulda-matchers: add 6.5.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2025-04-28 06:27:04 +02:00
parent 6f6dcc3480
commit 8326c229b2
2 changed files with 49 additions and 0 deletions

View File

@@ -2,3 +2,4 @@ DIST shoulda-matchers-4.5.1.tar.gz 243634 BLAKE2B 32d846d0dc3c8725a9bd0d60e858eb
DIST shoulda-matchers-5.3.0.tar.gz 244767 BLAKE2B 4a1a006702bb352acb338c71e0c3152bfce288c51d676c194ce3135d41057d119c02053c26e5e9079dee49514f3396f6f0155fd310063713a975d747221d8e34 SHA512 5794f1eafdb852732e35433b7ba06975a65ec25363b8c7dedf154644fbf65ecb8b929da538f1a49ad4e767b286f7e8910cd06fa6f41f5ccc6f0e8a62f498c56e
DIST shoulda-matchers-6.2.0.tar.gz 264725 BLAKE2B 9b739fbcf93f5e254a1f7ba62bcc11ad5e06110d4aa25e88823c2d65c0fe59af28dcffcb9e576b65d93738250fcd1851341d3e64145f1720a5dfe398befa4a63 SHA512 a0fdfde18a0c5ab2b8f7276ddc714646aff3c0ee69a8b1ff33a6a1d64af2c21c51e40b9a11c77bd1b4f9fca66f3a818aac3c036795da0f271eaea14c26fd3331
DIST shoulda-matchers-6.4.0.tar.gz 269160 BLAKE2B 122163fcf58ada0c95343537c44fc2652c554b6c036377f57fb8a44117ac27cf53e8df9530c3609259bd80b667a64e07d36da2d83377699436e355ed061d003f SHA512 ab8a5052a1e5e340a86670a3d54e9f154d6743e11dc452b15d7fae43ddfdee834f6986edcf6367e8e42db289dfed741ba679073dc7ea4aef694eee9c59f6dce7
DIST shoulda-matchers-6.5.0.tar.gz 271211 BLAKE2B 859c6c603fcef06c53f63fbb3c7349b891e9d16928ca4442af02b669f958888527f05c90f4fec00e770b2cb2cf533a829d900fc92915f7802da739530d5ba7f4 SHA512 039160a369f5773ac741408c2a099a3c0e256ce81c53f9b9a9794c53e5e4d1803f87e5fa1aa10de27e27c130366866d9b2359710c1e6bf44a5a44f401044dbb7

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_EXTRAINSTALL="CHANGELOG.md README.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
RUBY_FAKEGEM_BINWRAP=""
inherit ruby-fakegem
DESCRIPTION="Making tests easy on the fingers and eyes"
HOMEPAGE="https://github.com/thoughtbot/shoulda-matchers"
SRC_URI="https://github.com/thoughtbot/shoulda-matchers/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
# Fedora manage to run the tests, but it's still pretty tricky.
# https://src.fedoraproject.org/rpms/rubygem-shoulda-matchers/blob/rawhide/f/rubygem-shoulda-matchers.spec
RESTRICT="test"
ruby_add_rdepend ">=dev-ruby/activesupport-5.2.0:*"
all_ruby_prepare() {
sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die
#rm Gemfile.lock || die
# Avoid Appraisal and Bundler.
#sed -i "/current_bundle/ s/^/#/" \
# spec/acceptance_spec_helper.rb \
# spec/support/unit/load_environment.rb || die
#sed -i "/CurrentBundle/ s/^/#/" \
# spec/acceptance_spec_helper.rb \
# spec/support/unit/load_environment.rb || die
# Avoid git and sprockets dependencies.
#sed -i '/def rails_new_command/,/^ end$/ {
# /rails new/ s/"$/ --skip-git --skip-asset-pipeline&/
#}' spec/support/unit/rails_application.rb || die
#sed -i '/def rails_new_command/,/^ end$/ {
# /rails new/ s/"$/ --skip-git --skip-asset-pipeline&/
#}' spec/support/acceptance/helpers/step_helpers.rb || die
}