Rakefile in patentscope-0.0.1 vs Rakefile in patentscope-0.0.2

- old
+ new

@@ -1,7 +1,8 @@ require 'bundler/gem_tasks' require 'rspec/core/rake_task' +require 'dotenv/tasks' desc 'Run RSpec examples (all)' RSpec::Core::RakeTask.new(:spec) @@ -18,10 +19,18 @@ RSpec::Core::RakeTask.new(:more) do |task| task.pattern = "./spec/**/*_spec.rb" task.rspec_opts = '--tag more' end +end +task console: :dotenv do + require 'irb' + require 'irb/completion' + require 'patentscope' + Patentscope.configure_from_env + ARGV.clear + IRB.start end task default: :spec task test: :spec