Сравнение sinatra-3.0.5-r1 с sinatra-3.0.6
/usr/portage/dev-ruby/sinatra/sinatra-3.0.6.ebuild 2023-10-09 14:52:30.468368375 +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 |
RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true test:core" |
8 | 8 | |
... | ... | |
38 | 38 |
ruby_add_bdepend "doc? ( dev-ruby/yard )" |
39 | 39 | |
40 | 40 |
all_ruby_prepare() { |
41 |
# Matching dev-ruby/activesupport |
|
42 |
sed -i -e '/minitest.*~> 5.0/s:.*:&, "< 5.16":' Gemfile || die |
|
43 | ||
44 | 41 |
sed -i \ |
45 | 42 |
-e "/require 'rack'/igem 'rack', '~> 2.2', '>= 2.2.4'" \ |
46 |
-e "/require 'minitest'/igem 'minitest', '< 5.16'" \ |
|
47 | 43 |
-e '/active_support\/core_ext\/hash/igem "activesupport", "<7"' \ |
48 |
test/helper.rb || die |
|
44 |
test/test_helper.rb || die |
|
49 | 45 | |
50 | 46 |
# Avoid spec broken by newer rack versions, already removed upstream. |
51 | 47 |
sed -i -e 's/"bytes=IV-LXVI", //' test/static_test.rb || die |