From fd5431f4dc2f59d7f77168bc2d437bb4f564b5bf Mon Sep 17 00:00:00 2001 From: Manabu Niseki Date: Sat, 17 Aug 2024 08:45:14 +0900 Subject: [PATCH] chore: update test-prof, etc. (#1110) --- mihari.gemspec | 4 ++-- spec/spec_helper.rb | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mihari.gemspec b/mihari.gemspec index 9932a8cb..eb5b4f90 100644 --- a/mihari.gemspec +++ b/mihari.gemspec @@ -61,7 +61,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency "simplecov-lcov", "~> 0.8" spec.add_development_dependency "simplecov", "~> 0.22" spec.add_development_dependency "standard", "~> 1.39.2" - spec.add_development_dependency "test-prof", "~> 1.3.3" + spec.add_development_dependency "test-prof", "~> 1.4.0" spec.add_development_dependency "timecop", "~> 0.9.10" spec.add_development_dependency "vcr", "~> 6.2" spec.add_development_dependency "webmock", "~> 3.23.1" @@ -95,7 +95,7 @@ Gem::Specification.new do |spec| spec.add_dependency "launchy", "3.0.1" spec.add_dependency "memo_wise", "1.9.0" spec.add_dependency "normalize_country", "0.3.2" - spec.add_dependency "parallel", "1.26.1" + spec.add_dependency "parallel", "1.26.2" spec.add_dependency "plissken", "3.0.0" spec.add_dependency "public_suffix", "6.0.1" spec.add_dependency "puma", "6.4.2" diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index ebc4aa4f..b789bb1b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -93,7 +93,10 @@ def authorization_field(username, password) end end -require "test_prof/recipes/rspec/let_it_be" +# NOTE: since test-prof v1.4.0, it needs to be required with the connection +Mihari::Database.with_db_connection do + require "test_prof/recipes/rspec/let_it_be" +end # reload dummy/sanitized config values Mihari.config.reload