From 66620bd0e3afd6182120b6c0fc41a58929ab5af5 Mon Sep 17 00:00:00 2001 From: Fiona Sanggang <2127023+fsanggang@users.noreply.github.com> Date: Tue, 26 Mar 2024 15:03:40 +1300 Subject: [PATCH] Replace use of `pry` with `debug` `pry` and `pry-byebug` no longer supported since Ruby 3.2: https://github.com/deivid-rodriguez/pry-byebug/issues/423 https://app.asana.com/0/1205428368058391/1206747143994466/f --- flappi.gemspec | 2 +- test/test_helper.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flappi.gemspec b/flappi.gemspec index f28d32a..3277206 100644 --- a/flappi.gemspec +++ b/flappi.gemspec @@ -14,9 +14,9 @@ Gem::Specification.new do |s| s.add_runtime_dependency 'activesupport', '>4.2.7' s.add_runtime_dependency 'recursive-open-struct' + s.add_development_dependency 'debug' s.add_development_dependency 'maxitest', '~> 4' s.add_development_dependency 'mocha' - s.add_development_dependency 'pry-byebug' s.add_development_dependency 'rake', '>= 12.3' s.add_development_dependency 'rubocop', '1.59.0' s.add_development_dependency 'rubocop-minitest', '0.10.1' diff --git a/test/test_helper.rb b/test/test_helper.rb index 675ea38..780be30 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -7,10 +7,10 @@ SimpleCov.start end +require 'debug' require 'maxitest/autorun' require 'shoulda-context' require 'mocha/minitest' -require 'pry' require 'flappi' # Requiring custom test helpers