Browse Source

Use pry as the console REPL

tags/v0.4.5
Adrian Short 5 years ago
parent
commit
31b89efd5f
2 changed files with 3 additions and 6 deletions
  1. +2
    -6
      bin/console
  2. +1
    -0
      uk_planning_scraper.gemspec

+ 2
- 6
bin/console View File

@@ -2,13 +2,9 @@

require "bundler/setup"
require "uk_planning_scraper"
require "pry"

# You can add fixtures and/or initialization code here to make experimenting
# 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__)
Pry.start

+ 1
- 0
uk_planning_scraper.gemspec View File

@@ -34,6 +34,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "simplecov", "~> 0.16.1"
spec.add_development_dependency "vcr"
spec.add_development_dependency "webmock"
spec.add_development_dependency "pry"

spec.add_runtime_dependency "mechanize", "~> 2.7"
spec.add_runtime_dependency "http"


Loading…
Cancel
Save