Diff rspec-rails-5.1.2 with a rspec-rails-6.0.3

/usr/portage/dev-ruby/rspec-rails/rspec-rails-6.0.3.ebuild 2023-10-09 14:52:30.460368375 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
USE_RUBY="ruby27 ruby30 ruby31"
6
USE_RUBY="ruby30 ruby31 ruby32"
7 7

  
8 8
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
9 9

  
......
24 24
IUSE=""
25 25

  
26 26
ruby_add_rdepend "
27
	|| ( dev-ruby/activerecord:6.1[sqlite] )
28
	|| ( dev-ruby/activesupport:6.1 )
29
	|| ( dev-ruby/actionpack:6.1 )
30
	|| ( dev-ruby/railties:6.1 )
31
	>=dev-ruby/rspec-3.10:3"
27
	|| ( dev-ruby/activesupport:7.0 dev-ruby/activesupport:6.1 )
28
	|| ( dev-ruby/actionpack:7.0 dev-ruby/actionpack:6.1 )
29
	|| ( dev-ruby/railties:7.0 dev-ruby/railties:6.1 )
30
	>=dev-ruby/rspec-3.12:3"
32 31

  
33 32
# Depend on the package being already installed for tests, because
34 33
# requiring ammeter will load it, and we need a consistent set of rspec
35 34
# and rspec-rails for that to work.
36 35
ruby_add_bdepend "test? (
36
	|| ( dev-ruby/activerecord:7.0[sqlite] dev-ruby/activerecord:6.1[sqlite] )
37 37
	>=dev-ruby/capybara-2.2.0
38 38
	>=dev-ruby/ammeter-1.1.5
39 39
	~dev-ruby/rspec-rails-${PV}
40
	dev-ruby/rails:6.1
41 40
)"
42 41

  
43 42
all_ruby_prepare() {
......
52 51
	rm -fr spec/generators/rspec || die
53 52

  
54 53
	# Test with a compatible rails version
55
	sed -i -e '1igem "rails", "<7.0"' spec/spec_helper.rb || die
54
	#sed -i -e '1igem "rails", "<7.0"' spec/spec_helper.rb || die
56 55

  
57 56
	# Fix gemspec.
58 57
	sed -e 's/git ls-files --/find */' \
Thank you!