Skip to content

Commit

Permalink
Merge pull request #4 from classicalliu/replace-console-to-pry
Browse files Browse the repository at this point in the history
chore: replace console to pry
  • Loading branch information
ashchan authored Mar 21, 2019
2 parents c2a13f7 + 3403aaa commit 5b141a8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 6 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@ GEM
remote: https://rubygems.org/
specs:
ast (2.4.0)
coderay (1.1.2)
diff-lcs (1.3)
jaro_winkler (1.5.2)
method_source (0.9.2)
parallel (1.14.0)
parser (2.6.2.0)
ast (~> 2.4.0)
pry (0.12.2)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
psych (3.1.0)
rainbow (3.0.0)
rake (10.5.0)
Expand Down Expand Up @@ -45,6 +50,7 @@ PLATFORMS
DEPENDENCIES
bundler (~> 2.0)
ckb-sdk-ruby!
pry (~> 0.12.2)
rake (~> 10.0)
rspec (~> 3.0)
rubocop (~> 0.66.0)
Expand Down
7 changes: 2 additions & 5 deletions bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@ require "ckb"
# with your gem easier. You can also use a different console, if you like.

# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start

require "irb"
IRB.start(__FILE__)
require "pry"
Pry.start
1 change: 1 addition & 0 deletions ckb-sdk-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "rubocop", "~> 0.66.0"
spec.add_development_dependency "pry", "~> 0.12.2"
end

0 comments on commit 5b141a8

Please sign in to comment.