Sha256: 7cb66318f177d1ca0897d8b586bbf7c6d1206d64292fad8a65ec8d603f7ba3ef

Contents?: true

Size: 1.2 KB

Versions: 4

Compression:

Stored size: 1.2 KB

Contents

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 'data_cleansing/version'

desc "Build gem"
task :gem  do |t|
  gemspec = Gem::Specification.new do |s|
    s.name        = 'data_cleansing'
    s.version     = DataCleansing::VERSION
    s.platform    = Gem::Platform::RUBY
    s.authors     = ['Reid Morrison']
    s.email       = ['reidmo@gmail.com']
    s.homepage    = 'https://github.com/ClarityServices/data_cleansing'
    s.date        = Date.today.to_s
    s.summary     = "Data Cleansing framework for Ruby, and Ruby on Rails"
    s.description = "Data Cleansing framework for Ruby with additional support for Rails and Mongoid"
    s.files       = FileList["./**/*"].exclude(/.gem$/, /.log$/,/^nbproject/).map{|f| f.sub(/^\.\//, '')}
    s.license     = "Apache License V2.0"
    s.has_rdoc    = true
    s.add_dependency 'thread_safe'
  end
  Gem::Package.build gemspec
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

4 entries across 4 versions & 1 rubygems

Version Path
data_cleansing-0.3.2 Rakefile
data_cleansing-0.3.1 Rakefile
data_cleansing-0.3.0 Rakefile
data_cleansing-0.2.0 Rakefile