From a5e02639b89dd6f1e79ef3b386b3a15a1761378b Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Thu, 16 Jul 2020 14:07:39 -0700 Subject: [PATCH] (maint) Bump webmock and vcr Webmock added support for ruby 2.3.1 but the Socket#close method was not stubbed which causes integration test errors if the connection is closed. See https://github.com/bblimke/webmock/issues/683. Bump webmock to at least 2.3.2, but less than 3, since 3 requires ruby 2.0. Also bump vcr to a compatible versions to avoid tests trying to resolve DNS for bogus hostnames. --- Gemfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index dbb90d75d8c..930a32bf7a0 100644 --- a/Gemfile +++ b/Gemfile @@ -72,8 +72,8 @@ group(:development, :test) do gem 'addressable', '< 2.5.0' # webmock requires hashdiff which requires ruby 2 as of 0.3.9 gem 'hashdiff', '0.3.8' - gem 'webmock', '~> 1.24' - gem 'vcr', '~> 2.9' + gem 'webmock', '~> 2.3' + gem 'vcr', '~> 5.0' gem "hiera-eyaml", *location_for(ENV['HIERA_EYAML_LOCATION']) gem 'memory_profiler', :platforms => [:mri_21, :mri_22, :mri_23, :mri_24, :mri_25]