Diff stringex-2.8.5-r3 with a stringex-2.8.6

/usr/portage/dev-ruby/stringex/stringex-2.8.6.ebuild 2023-10-09 14:52:30.468368375 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
USE_RUBY="ruby27 ruby30 ruby31 ruby32"
6
USE_RUBY="ruby30 ruby31 ruby32"
7 7
RUBY_FAKEGEM_EXTRAINSTALL="locales"
8 8
inherit ruby-fakegem
9 9

  
10 10
DESCRIPTION="Extensions for Ruby's String class"
11 11
HOMEPAGE="https://github.com/rsl/stringex"
12
LICENSE="MIT"
13 12

  
13
LICENSE="MIT"
14 14
SLOT="0"
15 15
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos"
16 16
IUSE="test"
17 17

  
18 18
ruby_add_bdepend "
19 19
	test? (
20
		dev-ruby/i18n:1
21
		dev-ruby/redcloth
22
		dev-ruby/test-unit:2
23
		)"
24

  
25
all_ruby_prepare() {
26
	# Let tests work with newer rails versions
27
	sed -i -e 's/update_attributes/update/' test/unit/acts_as_url/adapter/* || die
28
}
20
		>=dev-ruby/i18n-0.7.0:1
21
		>=dev-ruby/redcloth-4.2.9
22
		>=dev-ruby/test-unit-3.0.9:2
23
	)
24
"
29 25

  
30 26
each_ruby_prepare() {
31 27
	if has_version "dev-ruby/activerecord[ruby_targets_${_ruby_implementation},sqlite]" ; then
32 28
		einfo "Testing activerecord integration"
33 29
	else
34 30
		rm -f test/unit/acts_as_url_integration_test.rb || die
31
		# These tests fails when the acts_as_url code is not loaded
32
		# through the above integration test.
33
		rm -f test/unit/unicode_point_suite/basic_{greek,latin}_test.rb || die
35 34
	fi
36 35
}
Thank you!