Rakefile in symmetric-encryption-0.9.1 vs Rakefile in symmetric-encryption-1.0.0
- old
+ new
@@ -1,9 +1,10 @@
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'rubygems'
+require 'rubygems/package'
require 'rake/clean'
require 'rake/testtask'
require 'date'
require 'symmetric_encryption/version'
@@ -18,12 +19,13 @@
s.homepage = 'https://github.com/ClarityServices/symmetric-encryption'
s.date = Date.today.to_s
s.summary = "Symmetric Encryption for Ruby, and Ruby on Rails"
s.description = "SymmetricEncryption supports encrypting ActiveRecord data, Mongoid data, passwords in configuration files, encrypting and decrypting of large files through streaming"
s.files = FileList["./**/*"].exclude(/.gem$/, /.log$/,/^nbproject/).map{|f| f.sub(/^\.\//, '')}
+ s.license = "Apache License V2.0"
s.has_rdoc = true
end
- Gem::Builder.new(gemspec).build
+ Gem::Package.build gemspec
end
desc "Run Test Suite"
task :test do
Rake::TestTask.new(:functional) do |t|