From 4fdc8d2ebfb529271e157793d2f4c8854585b735 Mon Sep 17 00:00:00 2001 From: Emily Samp Date: Wed, 10 Apr 2024 16:43:10 -0500 Subject: [PATCH] Remove byebug and use debug gem instead --- Gemfile | 2 +- Gemfile.lock | 17 +++++++++++++++-- spec/spec_helper.rb | 2 +- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 5def9362..9c40a209 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,7 @@ source "https://rubygems.org" # Specify your gem's dependencies in rubocop-sorbet.gemspec gemspec -gem "byebug" +gem "debug" gem "rake", ">= 12.3.3" gem "rspec", "~> 3.13" gem "rubocop-shopify", require: false diff --git a/Gemfile.lock b/Gemfile.lock index 7133b3c1..b2793219 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,18 +8,30 @@ GEM remote: https://rubygems.org/ specs: ast (2.4.2) - byebug (11.1.3) + debug (1.9.2) + irb (~> 1.10) + reline (>= 0.3.8) diff-lcs (1.5.1) + io-console (0.7.2) + irb (1.12.0) + rdoc + reline (>= 0.4.2) json (2.7.1) language_server-protocol (3.17.0.3) parallel (1.24.0) parser (3.3.0.5) ast (~> 2.4.1) racc + psych (5.1.2) + stringio racc (1.7.3) rainbow (3.1.1) rake (13.2.1) + rdoc (6.6.3.1) + psych (>= 4.0.0) regexp_parser (2.9.0) + reline (0.5.1) + io-console (~> 0.5) rexml (3.2.6) rspec (3.13.0) rspec-core (~> 3.13.0) @@ -50,6 +62,7 @@ GEM rubocop-shopify (2.14.0) rubocop (~> 1.51) ruby-progressbar (1.13.0) + stringio (3.1.0) unicode-display_width (2.5.0) yard (0.9.36) @@ -57,7 +70,7 @@ PLATFORMS ruby DEPENDENCIES - byebug + debug rake (>= 12.3.3) rspec (~> 3.13) rubocop-shopify diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index d4b937c9..2a32d3e0 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -2,7 +2,7 @@ require "rubocop-sorbet" require "rubocop/rspec/support" -require "byebug" +require "debug/prelude" RSpec.configure do |config| config.include(RuboCop::RSpec::ExpectOffense)