From b201e1d7c36c9efdb62a540a103a9e8d8bde2137 Mon Sep 17 00:00:00 2001 From: Ian Rees Date: Tue, 22 Sep 2015 16:50:49 -0700 Subject: [PATCH] Add pry dependency and rake console task --- Gemfile | 1 + Gemfile.lock | 8 ++++++++ Rakefile | 7 +++++++ 3 files changed, 16 insertions(+) diff --git a/Gemfile b/Gemfile index edd6cf2..318e9cc 100644 --- a/Gemfile +++ b/Gemfile @@ -7,3 +7,4 @@ gem 'simplecov', :require => false gem 'rubyzip', '~> 1.1' gem 'vcr' gem 'fakeweb' +gem 'pry' diff --git a/Gemfile.lock b/Gemfile.lock index 636ef0d..af8721a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,9 +1,15 @@ GEM remote: https://rubygems.org/ specs: + coderay (1.1.0) diff-lcs (1.1.3) fakeweb (1.3.0) + method_source (0.8.2) multi_json (1.0.4) + pry (0.10.1) + coderay (~> 1.1.0) + method_source (~> 0.8.1) + slop (~> 3.4) rake (0.9.2.2) rspec (2.8.0) rspec-core (~> 2.8.0) @@ -18,6 +24,7 @@ GEM multi_json (~> 1.0) simplecov-html (~> 0.5.3) simplecov-html (0.5.3) + slop (3.6.0) vcr (1.11.3) PLATFORMS @@ -26,6 +33,7 @@ PLATFORMS DEPENDENCIES fakeweb multi_json (= 1.0.4) + pry rake rspec rubyzip (~> 1.1) diff --git a/Rakefile b/Rakefile index aaa32fa..0b0dd73 100755 --- a/Rakefile +++ b/Rakefile @@ -5,4 +5,11 @@ RSpec::Core::RakeTask.new do |t| t.pattern = './spec/**/*_spec.rb' end +task :console do + require 'pry' + require 'gtfs' + ARGV.clear + Pry.start +end + task :default => [:spec]