Rakefile in comicvine-0.1.1 vs Rakefile in comicvine-0.1.2

- old
+ new

@@ -5,10 +5,11 @@ # 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 @@ -19,9 +20,9 @@ task :default => :test task :gen_checksum do require 'digest/sha2' built_gem_path = 'pkg/comicvine-'+ComicVine::VERSION+'.gem' - checksum = Digest::SHA512.new.hexdigest(File.read(built_gem_path)) - checksum_path = 'checksum/comicvine-'+ComicVine::VERSION+'.gem.sha512' + 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 \ No newline at end of file