Skip to content

Commit

Permalink
Adding code to set up a console for an easy way to get started with k…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Rugg committed Feb 13, 2014
1 parent dc50a77 commit e74db54
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
require "bundler/gem_tasks"

task :console do
require 'irb'
require 'irb/completion'
require 'kickscraper'

require './spec/test_constants'

Kickscraper.configure do |config|
config.email = KICKSCRAPER_TEST_API_EMAIL
config.password = KICKSCRAPER_TEST_API_PASSWORD
config.proxy = LOCAL_PROXY if defined? LOCAL_PROXY
end

ARGV.clear
IRB.start
end

0 comments on commit e74db54

Please sign in to comment.