From f403300edbcf30db9391312037e71ae1d7021ca9 Mon Sep 17 00:00:00 2001 From: Alex Dunae Date: Mon, 11 Mar 2024 10:59:13 -0700 Subject: [PATCH] Switch from byebug to debug.rb To get jruby compatibility --- spec/spec_helper.rb | 3 +-- validates_email_format_of.gemspec | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 8b96462..ea5b44c 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,7 +1,6 @@ require "active_model" require "active_support" -require "pry" -require "byebug" +require "debug" RSpec::Matchers.define :have_errors_on_email do match do |user| diff --git a/validates_email_format_of.gemspec b/validates_email_format_of.gemspec index 6cf5094..033ae91 100644 --- a/validates_email_format_of.gemspec +++ b/validates_email_format_of.gemspec @@ -25,5 +25,5 @@ Gem::Specification.new do |s| s.add_development_dependency "rspec" s.add_development_dependency "standard" s.add_development_dependency "appraisal" - s.add_development_dependency "pry-byebug" + s.add_development_dependency "byebug", ">= 1.0.0" end