Skip to content

Commit

Permalink
Use debugger instead of byebug
Browse files Browse the repository at this point in the history
  • Loading branch information
inukshuk committed Jan 8, 2024
1 parent 763ad14 commit a6fde66
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 20 deletions.
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ gem 'rdf-vocab', '~>3.0'
gem 'rexml', '~>3.2'

group :debug do
gem 'byebug', require: false, platforms: :mri
gem 'ruby-debug', require: false, platforms: :jruby
gem 'debug', '>= 1.0', require: false, platforms: :mri
end

group :test do
Expand Down
30 changes: 19 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ GEM
specs:
bcp47_spec (0.2.1)
builder (3.2.4)
byebug (11.1.3)
columnize (0.9.0)
cucumber (9.1.1)
builder (~> 3.2, >= 3.2.4)
cucumber-ci-environment (~> 9.2, >= 9.2.0)
Expand All @@ -36,21 +34,32 @@ GEM
cucumber-messages (> 19, < 25)
cucumber-messages (22.0.0)
cucumber-tag-expressions (5.0.6)
debug (1.9.1)
irb (~> 1.10)
reline (>= 0.3.8)
diff-lcs (1.5.0)
docile (1.4.0)
ffi (1.16.3)
ffi (1.16.3-java)
gnuplot (2.6.2)
iconv (1.0.8)
io-console (0.7.1)
io-console (0.7.1-java)
irb (1.11.0)
rdoc
reline (>= 0.3.8)
jar-dependencies (0.4.1)
json (2.7.1)
json (2.7.1-java)
latex-decode (0.4.0)
linecache (1.3.1)
linecache (1.3.1-java)
link_header (0.0.8)
mini_mime (1.1.5)
minitest (5.20.0)
multi_test (1.1.0)
psych (5.1.2)
stringio
psych (5.1.2-java)
jar-dependencies (>= 0.1.7)
racc (1.7.3)
racc (1.7.3-java)
rake (13.1.0)
Expand All @@ -59,20 +68,20 @@ GEM
link_header (~> 0.0, >= 0.0.8)
rdf-vocab (3.3.0)
rdf (~> 3.3)
rdoc (6.6.2)
psych (>= 4.0.0)
redcarpet (3.6.0)
reline (0.4.2)
io-console (~> 0.5)
rexml (3.2.6)
ruby-debug (0.11.0)
columnize (>= 0.1)
linecache (~> 1.3.1)
ruby-debug-base (~> 0.11.0.0)
ruby-debug-base (0.11.0-java)
ruby-prof (1.7.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
stringio (3.1.0)
sys-uname (1.2.3)
ffi (~> 1.1)
unicode (0.4.4.4)
Expand All @@ -85,8 +94,8 @@ PLATFORMS

DEPENDENCIES
bibtex-ruby!
byebug
cucumber
debug (>= 1.0)
gnuplot
iconv
json (~> 2.0)
Expand All @@ -96,7 +105,6 @@ DEPENDENCIES
rdf-vocab (~> 3.0)
redcarpet
rexml (~> 3.2)
ruby-debug
ruby-prof
simplecov
unicode (~> 0.4)
Expand Down
2 changes: 1 addition & 1 deletion features/support/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
end

begin
require 'debugger'
require 'debug'
rescue LoadError
# ignore
end
Expand Down
7 changes: 1 addition & 6 deletions test/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
end

begin
if RUBY_PLATFORM < 'java'
require 'debug'
Debugger.start
else
require 'byebug'
end
require 'debug'
rescue LoadError
# ignore
end
Expand Down

0 comments on commit a6fde66

Please sign in to comment.