From 7b4efa8b008d06a9effe8523109170c9336ea4fd Mon Sep 17 00:00:00 2001 From: JDutil Date: Wed, 3 Apr 2024 11:39:58 -0600 Subject: [PATCH] Update rspec versions and require activesupport for zeitwork --- Gemfile.lock | 25 ++++++++++--------- .../interactors/get_tracking.rb | 2 ++ .../transforms/tracking_item.rb | 1 + 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index a453023..bce5385 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -28,7 +28,7 @@ GEM connection_pool (2.4.1) crack (0.4.5) rexml - diff-lcs (1.5.0) + diff-lcs (1.5.1) domain_name (0.5.20190701) unf (>= 0.0.5, < 1.0.0) dotenv (2.7.6) @@ -75,19 +75,19 @@ GEM public_suffix (4.0.6) rake (12.3.3) rexml (3.2.5) - rspec (3.10.0) - rspec-core (~> 3.10.0) - rspec-expectations (~> 3.10.0) - rspec-mocks (~> 3.10.0) - rspec-core (3.10.1) - rspec-support (~> 3.10.0) - rspec-expectations (3.10.2) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-mocks (3.10.2) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-support (3.10.3) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) stub_env (1.0.4) rspec (>= 2.0, < 4.0) tzinfo (2.0.6) @@ -105,6 +105,7 @@ GEM PLATFORMS arm64-darwin-21 arm64-darwin-22 + arm64-darwin-23 x86_64-darwin-20 x86_64-darwin-21 x86_64-linux diff --git a/lib/we_ship_client/interactors/get_tracking.rb b/lib/we_ship_client/interactors/get_tracking.rb index 31ca8ec..2bba97a 100644 --- a/lib/we_ship_client/interactors/get_tracking.rb +++ b/lib/we_ship_client/interactors/get_tracking.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require 'active_support' +require 'active_support/core_ext' # required for `present?` require 'we_ship_client/client' require 'we_ship_client/exceptions' require 'we_ship_client/entities' diff --git a/lib/we_ship_client/transforms/tracking_item.rb b/lib/we_ship_client/transforms/tracking_item.rb index 2ad255b..29c05be 100644 --- a/lib/we_ship_client/transforms/tracking_item.rb +++ b/lib/we_ship_client/transforms/tracking_item.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true +require 'active_support' require 'active_support/time_with_zone' module WeShipClient