!10 [sync] PR-9: fix mocha/minitest dependency issue due to rubygem-mocha upgrade
From: @openeuler-sync-bot Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
fe7da81a8e
@ -1,7 +1,7 @@
|
|||||||
%global gem_name bootsnap
|
%global gem_name bootsnap
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 1.3.2
|
Version: 1.3.2
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Boot large ruby/rails apps faster
|
Summary: Boot large ruby/rails apps faster
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/Shopify/bootsnap
|
URL: https://github.com/Shopify/bootsnap
|
||||||
@ -48,7 +48,6 @@ ln -s %{gem_name}-%{version}/test test
|
|||||||
sed -i 'N;38a\ if RUBY_REVISION.is_a?(String)\n exp = [Help.fnv1a_64(RUBY_REVISION) >> 32].pack("L")\n else\n exp = [RUBY_REVISION].pack("L")\n end' bootsnap-1.3.2/test/compile_cache_key_format_test.rb
|
sed -i 'N;38a\ if RUBY_REVISION.is_a?(String)\n exp = [Help.fnv1a_64(RUBY_REVISION) >> 32].pack("L")\n else\n exp = [RUBY_REVISION].pack("L")\n end' bootsnap-1.3.2/test/compile_cache_key_format_test.rb
|
||||||
sed -i '38 d' bootsnap-1.3.2/test/compile_cache_key_format_test.rb
|
sed -i '38 d' bootsnap-1.3.2/test/compile_cache_key_format_test.rb
|
||||||
sed -i -e "/require 'bundler/ s/^/#/g" \
|
sed -i -e "/require 'bundler/ s/^/#/g" \
|
||||||
-e "/require 'mocha\/minitest/ s/minitest/mini_test/g" \
|
|
||||||
test/test_helper.rb
|
test/test_helper.rb
|
||||||
sed -i -e "/^\s*assert stable.stable?,/ s/^/#/g" \
|
sed -i -e "/^\s*assert stable.stable?,/ s/^/#/g" \
|
||||||
-e "/^\s*refute stable.volatile?,/ s/^/#/g" \
|
-e "/^\s*refute stable.volatile?,/ s/^/#/g" \
|
||||||
@ -82,6 +81,9 @@ popd
|
|||||||
%doc %{gem_instdir}/CODE_OF_CONDUCT.md
|
%doc %{gem_instdir}/CODE_OF_CONDUCT.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 05 2022 xu_ping <xuping33@h-partners.com> - 1.3.2-4
|
||||||
|
- fixed mocha/minitest dependency issue due to rubygem-mocha upgrade
|
||||||
|
|
||||||
* Thu Jan 27 2022 wulei <wulei@huawei.com> - 1.3.2-3
|
* Thu Jan 27 2022 wulei <wulei@huawei.com> - 1.3.2-3
|
||||||
- fix no implicit conversion of String into Integer
|
- fix no implicit conversion of String into Integer
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user