Skip to content

Commit 6ca6e17

Browse files
authored
Merge pull request #468 from platanus/dev-debugging-improvements
Dev debugging improvements
2 parents f629a91 + 9e9c501 commit 6ca6e17

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

.pryrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
if defined?(PryByebug)
2+
Pry.commands.alias_command 'c', 'continue'
3+
Pry.commands.alias_command 's', 'step'
4+
Pry.commands.alias_command 'n', 'next'
5+
Pry.commands.alias_command 'f', 'finish'
6+
end

.rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,3 +584,5 @@ RSpec/FilePath:
584584
Enabled: false
585585
RSpec/InstanceVariable:
586586
Enabled: false
587+
RSpec/Focus:
588+
AutoCorrect: false

Gemfile.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ GEM
9494
ruby2_keywords (>= 0.0.2, < 1.0)
9595
ast (2.4.2)
9696
builder (3.2.4)
97+
byebug (11.1.3)
9798
capybara (3.39.0)
9899
addressable
99100
matrix
@@ -202,6 +203,9 @@ GEM
202203
pry (0.12.2)
203204
coderay (~> 1.1.0)
204205
method_source (~> 0.9.0)
206+
pry-byebug (3.8.0)
207+
byebug (~> 11.0)
208+
pry (~> 0.10)
205209
pry-rails (0.3.9)
206210
pry (>= 0.10.4)
207211
public_suffix (5.0.1)
@@ -365,6 +369,7 @@ DEPENDENCIES
365369
image_processing
366370
matrix
367371
mimemagic!
372+
pry-byebug
368373
pry-rails
369374
puma
370375
rails (~> 6.1, >= 6.1.4.4)

activeadmin_addons.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Gem::Specification.new do |s|
3131
s.add_development_dependency "guard-rspec"
3232
s.add_development_dependency "image_processing"
3333
s.add_development_dependency "matrix"
34+
s.add_development_dependency "pry-byebug"
3435
s.add_development_dependency "pry-rails"
3536
s.add_development_dependency "puma"
3637
s.add_development_dependency "rails", "~> 6.1", ">= 6.1.4.4"

0 commit comments

Comments
 (0)