Diff rack-2.2.7-r1 with a rack-2.2.8
/usr/portage/dev-ruby/rack/rack-2.2.8.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="ruby30 ruby31 ruby32" |
|
5 |
USE_RUBY="ruby31 ruby32" |
|
6 | 6 | |
7 | 7 |
RUBY_FAKEGEM_DOCDIR="doc" |
8 | 8 |
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc SPEC.rdoc" |
... | ... | |
41 | 41 |
# Avoid development dependency |
42 | 42 |
sed -i -e '/minitest-sprint/ s:^:#:' -e "s:require_relative ':require './:" rack.gemspec || die |
43 | 43 | |
44 |
# Avoid test failing due to security version number usage |
|
45 |
sed -i -e '/support -v option to get version/askip "broken with security version number"' test/spec_server.rb || die |
|
46 | ||
47 | 44 |
# Rename rackup command and force gem version to allow rack 2.x applications to work |
48 | 45 |
mv bin/rackup bin/rackup-2 || die |
49 | 46 |
sed -i -e '4igem "rack", "~> 2.2.0"' bin/rackup-2 |