diff --git a/rubygem-webmock.spec b/rubygem-webmock.spec index dce41ae..73f2749 100644 --- a/rubygem-webmock.spec +++ b/rubygem-webmock.spec @@ -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 - 3.18.1-1 +- Update to 3.18.1 + * Sat Sep 5 2020 liyanan - 3.5.1-2 - fix build fail diff --git a/webmock-3.18.1.gem b/webmock-3.18.1.gem new file mode 100644 index 0000000..7901ae6 Binary files /dev/null and b/webmock-3.18.1.gem differ diff --git a/webmock-3.5.1.gem b/webmock-3.5.1.gem deleted file mode 100644 index 0778464..0000000 Binary files a/webmock-3.5.1.gem and /dev/null differ