Rakefile in comicvine-0.1.3 vs Rakefile in comicvine-0.1.4
- old
+ new
@@ -1,8 +1,9 @@
require 'bundler/gem_tasks'
require 'rake/testtask'
require 'yard'
+require 'dotenv/load'
# Test tasks
Rake::TestTask.new(:test) do |t|
t.libs << 'test'
t.libs << 'lib'
@@ -23,6 +24,15 @@
require 'digest/sha2'
built_gem_path = 'pkg/comicvine-'+ComicVine::VERSION+'.gem'
checksum = Digest::SHA256.new.hexdigest(File.read(built_gem_path))
checksum_path = 'checksum/comicvine-'+ComicVine::VERSION+'.gem.sha256'
File.open(checksum_path, 'w' ) {|f| f.write(checksum) }
+end
+
+task :console do
+ require 'irb'
+ require 'irb/completion'
+ require 'comicvine'
+
+ ARGV.clear
+ IRB.start
end
\ No newline at end of file