Sha256: de0b0f4702541ff52219cb3dfb498d3bec5ee5ae3b0fcc3706eea03c7c6c1201

Contents?: true

Size: 483 Bytes

Versions: 8

Compression:

Stored size: 483 Bytes

Contents

require 'rubygems'
require 'bundler/setup'

require 'rake'
require 'rspec/core/rake_task'

Bundler::GemHelper.install_tasks

desc 'Default: run unit tests.'
task :default => [:clean, :test]

desc "Run Specs"
RSpec::Core::RakeTask.new(:spec) do |t|
end

task :test => :spec

desc "Clean up files."
task :clean do |t|
  FileUtils.rm_rf "tmp"
  Dir.glob("spec/db/*.sqlite3").each {|f| FileUtils.rm f }
  Dir.glob("validates_lengths_from_database-*.gem").each {|f| FileUtils.rm f }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
validates_lengths_from_database-0.8.0 Rakefile
validates_lengths_from_database-0.7.0 Rakefile
validates_lengths_from_database-0.6.0 Rakefile
validates_lengths_from_database-0.5.2 Rakefile
validates_lengths_from_database-0.5.1 Rakefile
validates_lengths_from_database-0.5.0 Rakefile
validates_lengths_from_database-0.4.0 Rakefile
validates_lengths_from_database-0.3.0 Rakefile