Skip to content

Commit

Permalink
Use debug gem instead of pry
Browse files Browse the repository at this point in the history
  • Loading branch information
printercu committed May 12, 2024
1 parent b05f17b commit bca3362
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 23 deletions.
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ gemspec
group :development do
gem 'appraisal', '~> 2.2'

gem 'pry', '~> 0.14.1'
gem 'pry-byebug', '~> 3.10.1'
gem 'debug', '~> 1.9.2'
gem 'sdoc', '~> 2.0.3'

gem 'telegram-bot-types', '~> 0.6.3'
Expand Down
7 changes: 5 additions & 2 deletions bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
require 'bundler/setup'
require 'telegram/bot'

require 'pry'
Pry.start
require "irb"
require "irb/completion"

IRB.setup(nil)
IRB::Irb.new.run(IRB.conf)
6 changes: 3 additions & 3 deletions gemfiles/rails_51.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ gem "railties", "~> 5.1.0"

group :development do
gem "appraisal", "~> 2.2"
gem "pry", "~> 0.14.1"
gem "pry-byebug", "~> 3.10.1"
gem "debug", "~> 1.9.2"
gem "sdoc", "~> 2.0.3"
gem "telegram-bot-types", "~> 0.6.3"
gem "rspec", "~> 3.12.0"
gem "rspec-its", "~> 1.3.0"
gem "rspec-rails", "~> 4.0.2"
gem "rubocop", "~> 0.52.1"
gem "rubocop", "~> 1.59.0"
gem "rubocop-rails", "~> 2.23.1"
gem "coveralls", "~> 0.8.23", require: false
end

Expand Down
6 changes: 3 additions & 3 deletions gemfiles/rails_52.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ gem "railties", "~> 5.2.0"

group :development do
gem "appraisal", "~> 2.2"
gem "pry", "~> 0.14.1"
gem "pry-byebug", "~> 3.10.1"
gem "debug", "~> 1.9.2"
gem "sdoc", "~> 2.0.3"
gem "telegram-bot-types", "~> 0.6.3"
gem "rspec", "~> 3.12.0"
gem "rspec-its", "~> 1.3.0"
gem "rspec-rails", "~> 4.0.2"
gem "rubocop", "~> 0.52.1"
gem "rubocop", "~> 1.59.0"
gem "rubocop-rails", "~> 2.23.1"
gem "coveralls", "~> 0.8.23", require: false
end

Expand Down
6 changes: 3 additions & 3 deletions gemfiles/rails_60.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ gem "railties", "~> 6.0.0"

group :development do
gem "appraisal", "~> 2.2"
gem "pry", "~> 0.14.1"
gem "pry-byebug", "~> 3.10.1"
gem "debug", "~> 1.9.2"
gem "sdoc", "~> 2.0.3"
gem "telegram-bot-types", "~> 0.6.3"
gem "rspec", "~> 3.12.0"
gem "rspec-its", "~> 1.3.0"
gem "rspec-rails", "~> 4.0.2"
gem "rubocop", "~> 0.52.1"
gem "rubocop", "~> 1.59.0"
gem "rubocop-rails", "~> 2.23.1"
gem "coveralls", "~> 0.8.23", require: false
end

Expand Down
6 changes: 3 additions & 3 deletions gemfiles/rails_61.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ gem "railties", "~> 6.1.0"

group :development do
gem "appraisal", "~> 2.2"
gem "pry", "~> 0.14.1"
gem "pry-byebug", "~> 3.10.1"
gem "debug", "~> 1.9.2"
gem "sdoc", "~> 2.0.3"
gem "telegram-bot-types", "~> 0.6.3"
gem "rspec", "~> 3.12.0"
gem "rspec-its", "~> 1.3.0"
gem "rspec-rails", "~> 4.0.2"
gem "rubocop", "~> 0.52.1"
gem "rubocop", "~> 1.59.0"
gem "rubocop-rails", "~> 2.23.1"
gem "coveralls", "~> 0.8.23", require: false
end

Expand Down
6 changes: 3 additions & 3 deletions gemfiles/rails_70.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ gem "railties", "~> 7.0.0"

group :development do
gem "appraisal", "~> 2.2"
gem "pry", "~> 0.14.1"
gem "pry-byebug", "~> 3.10.1"
gem "debug", "~> 1.9.2"
gem "sdoc", "~> 2.0.3"
gem "telegram-bot-types", "~> 0.6.3"
gem "rspec", "~> 3.12.0"
gem "rspec-its", "~> 1.3.0"
gem "rspec-rails", "~> 4.0.2"
gem "rubocop", "~> 0.52.1"
gem "rubocop", "~> 1.59.0"
gem "rubocop-rails", "~> 2.23.1"
gem "coveralls", "~> 0.8.23", require: false
end

Expand Down
6 changes: 3 additions & 3 deletions gemfiles/rails_71.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ gem "railties", "~> 7.1.0"

group :development do
gem "appraisal", "~> 2.2"
gem "pry", "~> 0.14.1"
gem "pry-byebug", "~> 3.10.1"
gem "debug", "~> 1.9.2"
gem "sdoc", "~> 2.0.3"
gem "telegram-bot-types", "~> 0.6.3"
gem "rspec", "~> 3.12.0"
gem "rspec-its", "~> 1.3.0"
gem "rspec-rails", "~> 4.0.2"
gem "rubocop", "~> 0.52.1"
gem "rubocop", "~> 1.59.0"
gem "rubocop-rails", "~> 2.23.1"
gem "coveralls", "~> 0.8.23", require: false
end

Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

require 'pathname'
require 'pry'
require 'debug'
require 'rspec/its'

if ENV['CI']
Expand Down

0 comments on commit bca3362

Please sign in to comment.