Diff shoulda-matchers-4.5.1-r1 with a shoulda-matchers-5.3.0

/usr/portage/dev-ruby/shoulda-matchers/shoulda-matchers-5.3.0.ebuild 2023-10-09 14:52:30.464368375 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
USE_RUBY="ruby30 ruby31 ruby32"
7

  
8
RUBY_FAKEGEM_RECIPE_TEST="none"
9

  
6
USE_RUBY="ruby27 ruby30 ruby31 ruby32"
7
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
10 8
RUBY_FAKEGEM_EXTRAINSTALL="CHANGELOG.md README.md"
11

  
12 9
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
13

  
14 10
RUBY_FAKEGEM_BINWRAP=""
15 11

  
16 12
inherit ruby-fakegem
......
21 17

  
22 18
LICENSE="MIT"
23 19
SLOT="$(ver_cut 1)"
24
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
25
IUSE=""
20
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86"
26 21

  
27
ruby_add_rdepend ">=dev-ruby/activesupport-4.2.0:*"
22
# Fedora manage to run the tests, but it's still pretty tricky.
23
# https://src.fedoraproject.org/rpms/rubygem-shoulda-matchers/blob/rawhide/f/rubygem-shoulda-matchers.spec
24
RESTRICT="test"
25

  
26
ruby_add_rdepend ">=dev-ruby/activesupport-5.2.0:*"
28 27

  
29 28
all_ruby_prepare() {
30 29
	sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die
31
	#sed -i -e '/s.files/,/^  end/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
30

  
31
	#rm Gemfile.lock || die
32

  
33
	# Avoid Appraisal and Bundler.
34
	#sed -i "/current_bundle/ s/^/#/" \
35
	#	spec/acceptance_spec_helper.rb \
36
	#	spec/support/unit/load_environment.rb || die
37
	#sed -i "/CurrentBundle/ s/^/#/" \
38
	#	spec/acceptance_spec_helper.rb \
39
	#	spec/support/unit/load_environment.rb || die
40

  
41
	# Avoid git and sprockets dependencies.
42
	#sed -i '/def rails_new_command/,/^    end$/ {
43
	#	/rails new/ s/"$/ --skip-git --skip-asset-pipeline&/
44
	#}' spec/support/unit/rails_application.rb || die
45
	#sed -i '/def rails_new_command/,/^    end$/ {
46
	#	/rails new/ s/"$/ --skip-git --skip-asset-pipeline&/
47
	#}' spec/support/acceptance/helpers/step_helpers.rb || die
32 48
}
Thank you!