Diff rack-cache-1.13.0-r1 with a rack-cache-1.14.0

/usr/portage/dev-ruby/rack-cache/rack-cache-1.14.0.ebuild 2023-10-09 14:52:30.452368374 +0300
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5
USE_RUBY="ruby27 ruby30 ruby31 ruby32"
5
USE_RUBY="ruby30 ruby31 ruby32"
6 6

  
7 7
# no documentation is generable, it needs hanna, which is broken
8 8
RUBY_FAKEGEM_RECIPE_DOC="none"
......
16 16
inherit ruby-fakegem
17 17

  
18 18
DESCRIPTION="Enable HTTP caching for Rack-based applications that produce freshness info"
19
HOMEPAGE="https://github.com/rtomayko/rack-cache"
20
SRC_URI="https://github.com/rtomayko/rack-cache/archive/v${PV}.tar.gz -> ${P}.tar.gz"
19
HOMEPAGE="https://github.com/rack/rack-cache"
20
SRC_URI="https://github.com/rack/rack-cache/archive/v${PV}.tar.gz -> ${P}.tar.gz"
21 21

  
22 22
LICENSE="MIT"
23 23
SLOT="1.2"
......
31 31
	>=dev-ruby/minitest-5.7.0:5
32 32
	>=dev-ruby/mocha-2 )"
33 33

  
34
PATCHES=(
35
	"${FILESDIR}"/${PN}-1.13.0-test-require.patch
36
	"${FILESDIR}"/${PN}-1.13.0-mocha2.patch
37
)
38

  
39 34
all_ruby_prepare() {
40 35
	sed -i -e '/bundler/ s:^:#:' \
41 36
		test/test_helper.rb || die
42 37
}
43 38

  
44 39
all_ruby_prepare() {
45
	sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die
40
	sed -i -e 's/git ls-files/find */' -e "s:_relative ': './:" ${RUBY_FAKEGEM_GEMSPEC} || die
46 41
	sed -i -e '/bundler/ s:^:#:' test/test_helper.rb || die
47 42
}
48 43

  
49 44
each_ruby_test() {
50
	${RUBY} -I.:lib:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
45
	MT_NO_PLUGINS=true ${RUBY} -I.:lib:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
51 46
}
Thank you!