Sha256: 9dff0b5f4cf05af195bd79b4666b3da37400f4fa9426e39ac362fb8c65d8f206

Contents?: true

Size: 607 Bytes

Versions: 1

Compression:

Stored size: 607 Bytes

Contents

require 'bundler/setup'

require 'appraisal'

require 'rake'
require 'rake/testtask'

desc 'Default: run unit tests.'
task default: [:clean, 'appraisal:install', :all]

desc 'Test the delayed paperclip plugin under all supported Rails versions.'
task :all do |t|
  exec('rake appraisal test spec')
end

desc 'Clean up files.'
task :clean do |t|
  FileUtils.rm_rf "doc"
  FileUtils.rm_rf "tmp"
  FileUtils.rm_rf "pkg"
  FileUtils.rm_rf "public"
  Dir.glob("paperclip-*.gem").each{|f| FileUtils.rm f }
end

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new do |t|
  t.pattern = 'spec/**/*_spec.rb'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
delayed_paperclip-2.9.2 Rakefile