Sha256: 8c9f213b93c98c255138341a821bcc1fcf9c023c763a6acfe74aa931024b9286

Contents?: true

Size: 1.1 KB

Versions: 7

Compression:

Stored size: 1.1 KB

Contents

lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)

require 'rake/clean'
require 'rake/testtask'
require 'date'
require 'symmetric/version'

desc "Build gem"
task :gem  do |t|
  gemspec = Gem::Specification.new do |s|
    s.name        = 'symmetric-encryption'
    s.version     = Symmetric::VERSION
    s.platform    = Gem::Platform::RUBY
    s.authors     = ['Reid Morrison']
    s.email       = ['reidmo@gmail.com']
    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 = "Symmetric Encryption is a library to seamlessly enable symmetric encryption in a project, written in Ruby."
    s.files       = FileList["./**/*"].exclude('*.gem', 'nbproject').map{|f| f.sub(/^\.\//, '')}
    s.has_rdoc    = true
  end
  Gem::Builder.new(gemspec).build
end

desc "Run Test Suite"
task :test do
  Rake::TestTask.new(:functional) do |t|
    t.test_files = FileList['test/*_test.rb']
    t.verbose    = true
  end

  Rake::Task['functional'].invoke
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
symmetric-encryption-0.4.0 Rakefile
symmetric-encryption-0.3.1 Rakefile
symmetric-encryption-0.3.0 Rakefile
symmetric-encryption-0.2.0 Rakefile
symmetric-encryption-0.1.2 Rakefile
symmetric-encryption-0.1.1 Rakefile
symmetric-encryption-0.1.0 Rakefile