!3 Update to 3.18.1

From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-11-15 02:17:38 +00:00 committed by Gitee
commit 3d7617dc27
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
%bcond_with bootstrap
%global gem_name webmock
Name: rubygem-%{gem_name}
Version: 3.5.1
Release: 2
Version: 3.18.1
Release: 1
Summary: Library for stubbing HTTP requests in Ruby
License: MIT
URL: http://github.com/bblimke/webmock
@ -27,8 +27,6 @@ Documentation for %{name}.
%prep
%setup -q -n %{gem_name}-%{version}
sed -i '/^#!\/usr\/bin\/env\ rake/ d' Rakefile
chmod -x Rakefile
%build
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 "./test/**/test_*.rb", &method(:require)'
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/{patron,http_rb,em_http_request}/*}'
rspec spec --exclude-pattern 'spec/{quality_spec.rb,acceptance/{async_http_client,patron,http_rb}/*}'
popd
%endif
@ -70,6 +67,9 @@ popd
%{gem_instdir}/webmock.gemspec
%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
- fix build fail

BIN
webmock-3.18.1.gem Normal file

Binary file not shown.

Binary file not shown.