Sha256: 567ca1eedb4020a7e683e5bf11ed1399c60a4bc0b038b2abbabc12195059a572
Contents?: true
Size: 884 Bytes
Versions: 1
Compression:
Stored size: 884 Bytes
Contents
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' t.test_files = FileList['test/**/*_test.rb'] t.warning = false end YARD::Rake::YardocTask.new do |t| t.files = ['lib/**/*.rb'] # optional t.options = %w{--private} # optional t.stats_options = ['--list-undoc'] # optional end # Default task task :default => :test Rake::Task['build'].enhance do 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
comicvine-0.1.4 | Rakefile |