update to 3.18.1
This commit is contained in:
parent
80f8ec36d3
commit
69c81fd0c3
@ -1,8 +1,8 @@
|
|||||||
%bcond_with bootstrap
|
%bcond_with bootstrap
|
||||||
%global gem_name webmock
|
%global gem_name webmock
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 3.5.1
|
Version: 3.18.1
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Library for stubbing HTTP requests in Ruby
|
Summary: Library for stubbing HTTP requests in Ruby
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://github.com/bblimke/webmock
|
URL: http://github.com/bblimke/webmock
|
||||||
@ -27,8 +27,6 @@ Documentation for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{gem_name}-%{version}
|
%setup -q -n %{gem_name}-%{version}
|
||||||
sed -i '/^#!\/usr\/bin\/env\ rake/ d' Rakefile
|
|
||||||
chmod -x Rakefile
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
gem build ../%{gem_name}-%{version}.gemspec
|
gem build ../%{gem_name}-%{version}.gemspec
|
||||||
@ -45,8 +43,7 @@ pushd .%{gem_instdir}
|
|||||||
ruby -e 'Dir.glob "./minitest/**/*.rb", &method(:require)'
|
ruby -e 'Dir.glob "./minitest/**/*.rb", &method(:require)'
|
||||||
ruby -e 'Dir.glob "./test/**/test_*.rb", &method(:require)'
|
ruby -e 'Dir.glob "./test/**/test_*.rb", &method(:require)'
|
||||||
sed -i '/patron/ s/^/#/' spec/spec_helper.rb
|
sed -i '/patron/ s/^/#/' spec/spec_helper.rb
|
||||||
sed -i '/em-http/ s/^/#/' spec/spec_helper.rb
|
rspec spec --exclude-pattern 'spec/{quality_spec.rb,acceptance/{async_http_client,patron,http_rb}/*}'
|
||||||
rspec spec --exclude-pattern 'spec/{quality_spec.rb,acceptance/{patron,http_rb,em_http_request}/*}'
|
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -70,6 +67,9 @@ popd
|
|||||||
%{gem_instdir}/webmock.gemspec
|
%{gem_instdir}/webmock.gemspec
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 14 2023 liyanan <liyanan61@h-partners.com> - 3.18.1-1
|
||||||
|
- Update to 3.18.1
|
||||||
|
|
||||||
* Sat Sep 5 2020 liyanan <liyanan32@huawei.com> - 3.5.1-2
|
* Sat Sep 5 2020 liyanan <liyanan32@huawei.com> - 3.5.1-2
|
||||||
- fix build fail
|
- fix build fail
|
||||||
|
|
||||||
|
|||||||
BIN
webmock-3.18.1.gem
Normal file
BIN
webmock-3.18.1.gem
Normal file
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user