Sha256: 6e70a056dd4b81a523e869b73fbb48c64721e93aa32c3da55bf4287c1828304f
Contents?: true
Size: 1 KB
Versions: 4
Compression:
Stored size: 1 KB
Contents
require 'bundler/gem_tasks' require 'rake/testtask' require 'yard' # 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| begin #require 'yard-mongoid' rescue LoadError => e puts 'Could not require yard-mongoid' end t.files = ['lib/**/*.rb'] # optional t.options = %w{--private} # optional t.stats_options = ['--list-undoc'] # optional end # Default task task :default => :test task :console do require 'irb' require 'irb/completion' require 'comicvine/mongo' # You know what to do. ARGV.clear IRB.start end Rake::Task['build'].enhance do require 'digest/sha2' built_gem_path = 'pkg/comicvine-mongo-'+ComicVine::Mongo::VERSION+'.gem' checksum = Digest::SHA256.new.hexdigest(File.read(built_gem_path)) checksum_path = 'checksum/comicvine-mongo-'+ComicVine::Mongo::VERSION+'.gem.sha256' File.open(checksum_path, 'w' ) {|f| f.write(checksum) } end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
comicvine-mongo-0.1.4 | Rakefile |
comicvine-mongo-0.1.3 | Rakefile |
comicvine-mongo-0.1.2 | Rakefile |
comicvine-mongo-0.1.1 | Rakefile |