Skip to content

Commit

Permalink
use pry
Browse files Browse the repository at this point in the history
  • Loading branch information
udzura committed Jan 31, 2012
1 parent fc35134 commit 5ce5ddc
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
15 changes: 14 additions & 1 deletion Gemfile.lock
Expand Up @@ -7,13 +7,21 @@ PATH
GEM
remote: http://rubygems.org/
specs:
coderay (0.9.8)
diff-lcs (1.1.3)
ffi (1.0.11)
guard (0.9.3)
guard (0.9.4)
ffi (>= 0.5.0)
thor (~> 0.14.6)
guard-rspec (0.5.10)
guard (>= 0.8.4)
method_source (0.6.7)
ruby_parser (>= 2.3.1)
pry (0.9.7.4)
coderay (~> 0.9.8)
method_source (~> 0.6.7)
ruby_parser (>= 2.3.1)
slop (~> 2.1.0)
rack (1.3.5)
rack-protection (1.1.4)
rack
Expand All @@ -28,10 +36,14 @@ GEM
rspec-expectations (2.7.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.7.0)
ruby_parser (2.3.1)
sexp_processor (~> 3.0)
sexp_processor (3.0.9)
sinatra (1.3.1)
rack (~> 1.3, >= 1.3.4)
rack-protection (~> 1.1, >= 1.1.2)
tilt (~> 1.3, >= 1.3.3)
slop (2.1.0)
thor (0.14.6)
tilt (1.3.3)

Expand All @@ -41,6 +53,7 @@ PLATFORMS
DEPENDENCIES
bundler (~> 1.1.rc)
guard-rspec
pry
rack-block!
rack-test (> 0)
rake (> 0)
Expand Down
8 changes: 7 additions & 1 deletion Rakefile
Expand Up @@ -16,4 +16,10 @@ begin
rescue LoadError
end


desc "running pry console with rack-block gem and console helpers loaded"
task :pry do
$LOAD_PATH.unshift('./lib')
require 'pry'
require 'rack-block'
Pry.start
end
1 change: 1 addition & 0 deletions rack-block.gemspec
Expand Up @@ -21,6 +21,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency "rack", '>= 1.3'

s.add_development_dependency "bundler", '~> 1.1.rc'
s.add_development_dependency "pry"
s.add_development_dependency "rake", '> 0'
s.add_development_dependency "rspec", '>= 2'
s.add_development_dependency "rack-test", '> 0'
Expand Down

0 comments on commit 5ce5ddc

Please sign in to comment.