From 320262260fd13f0656d9ae6c885168e7b0dc4327 Mon Sep 17 00:00:00 2001 From: 3v0k4 Date: Thu, 9 May 2024 12:58:42 +0200 Subject: [PATCH] deps: knapsack_pro 7.2.0 --- Gemfile.lock | 2 +- spec/support/vcr.rb | 23 +++-------------------- 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 7334b952..2f6e6537 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: ../knapsack_pro-ruby specs: - knapsack_pro (7.1.0) + knapsack_pro (7.2.0) rake GEM diff --git a/spec/support/vcr.rb b/spec/support/vcr.rb index 72e2dbd4..89dce79d 100644 --- a/spec/support/vcr.rb +++ b/spec/support/vcr.rb @@ -2,26 +2,9 @@ VCR.configure do |config| config.cassette_library_dir = "spec/fixtures/vcr_cassettes" - config.hook_into :webmock # or :fakeweb - - config.ignore_hosts( - 'localhost', - '127.0.0.1', - '0.0.0.0', - 'api.knapsackpro.com', - 'api-fake.knapsackpro.com', - 'api-staging.knapsackpro.com', - 'api.knapsackpro.test', - 'api-disabled-for-fork.knapsackpro.com', - ) + config.hook_into :webmock + config.ignore_localhost = true end require 'webmock/rspec' - -WebMock.disable_net_connect!(allow: [ - 'api.knapsackpro.com', - 'api-fake.knapsackpro.com', - 'api-staging.knapsackpro.com', - 'api.knapsackpro.test', - 'api-disabled-for-fork.knapsackpro.com', -]) if defined?(WebMock) +WebMock.disable_net_connect!