Sha256: 91a9dbccdac50d3193cf9a1458567155cd6204169b42d50004db4d98320ee81c

Contents?: true

Size: 529 Bytes

Versions: 24

Compression:

Stored size: 529 Bytes

Contents

require 'bundler/setup'
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'appraisal'

RSpec::Core::RakeTask.new(:spec)

task :default => :all

desc 'Test the plugin under all supported Rails versions.'
task :all => ["appraisal:install"] do |t|
  exec('rake appraisal spec')
end

task :perf do
  require 'protector'

  Bundler.require

  %w(ActiveRecord DataMapper Mongoid Sequel).each do |a|
    if (a.constantize rescue nil)
      load "perf/perf_helpers/boot.rb"
      Perf.load a.underscore
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
protector-0.7.0 Rakefile
protector-0.6.4 Rakefile
protector-0.6.3 Rakefile
protector-0.6.2 Rakefile
protector-0.6.1 Rakefile
protector-0.6.0 Rakefile
protector-0.6.0.beta.1 Rakefile
protector-0.5.5 Rakefile
protector-0.5.4 Rakefile
protector-0.5.3 Rakefile
protector-0.5.2 Rakefile
protector-0.5.1 Rakefile
protector-0.4.1 Rakefile
protector-0.4.0 Rakefile
protector-0.3.3 Rakefile
protector-0.3.2 Rakefile
protector-0.3.1 Rakefile
protector-0.3.0 Rakefile
protector-0.3.0.beta.2 Rakefile
protector-0.2.4 Rakefile