Diff fast_gettext-2.2.0 with a fast_gettext-2.3.0
/usr/portage/dev-ruby/fast_gettext/fast_gettext-2.3.0.ebuild 2023-10-09 14:52:30.432368374 +0300 | ||
---|---|---|
28 | 28 |
all_ruby_prepare() { |
29 | 29 |
rm Gemfile.lock || die |
30 | 30 | |
31 |
# Remove jeweler and bump from Gemfile since they are not needed for tests. |
|
32 |
sed -i -e '/jeweler/d' -e '/bump/d' -e '/appraisal/d' Gemfile || die |
|
33 | 31 |
sed -i -e '/single/I s:^:#:' spec/spec_helper.rb || die |
34 | 32 |
sed -i -e '/SingleCov/ s:^:#:' spec/{*,*/*}/*spec.rb || die |
35 | 33 | |
... | ... | |
46 | 44 |
rm -f spec/fast_gettext/translation_repository/db_spec.rb || die |
47 | 45 |
rm -f spec/fast_gettext/storage_spec.rb || die |
48 | 46 |
sed -i -e '/with i18n loaded/,/^ end/ s:^:#:' spec/fast_gettext/vendor/string_spec.rb || die |
49 | ||
50 |
# Don't run a test that requires safe mode which we can't provide |
|
51 |
# due to insecure directory settings for the portage dir. This spec |
|
52 |
# also calls out to ruby which won't work with different ruby |
|
53 |
# implementations. |
|
54 |
sed -i -e '/can work in SAFE mode/,/^ end/ s:^:#:' spec/fast_gettext/translation_repository/mo_spec.rb || die |
|
55 | 47 |
} |
56 | 48 | |
57 | 49 |
each_ruby_prepare() { |