Sha256: 293630ac2bf5ee4f0a284bf399666d1126617f6a35fbec26cdb0102954973770

Contents?: true

Size: 652 Bytes

Versions: 29

Compression:

Stored size: 652 Bytes

Contents

#!/usr/bin/env rake

require 'bundler/gem_helper'
require 'rspec/core/rake_task'
require 'appraisal'

Bundler::GemHelper.install_tasks(:name => 'audited')
Bundler::GemHelper.install_tasks(:name => 'audited-activerecord')
Bundler::GemHelper.install_tasks(:name => 'audited-mongo_mapper')

ADAPTERS = %w(active_record mongo_mapper)

ADAPTERS.each do |adapter|
  desc "Run RSpec code examples for #{adapter} adapter"
  RSpec::Core::RakeTask.new(adapter) do |t|
    t.pattern = "spec/audited/adapters/#{adapter}/**/*_spec.rb"
  end
end

RSpec::Core::RakeTask.new(:spec => ADAPTERS) do |t|
  t.pattern = 'spec/audited/*_spec.rb'
end

task :default => :spec

Version data entries

29 entries across 29 versions & 3 rubygems

Version Path
notifiably_audited-0.0.1 Rakefile
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/audited-3.0.0/Rakefile
audited-3.0.0 Rakefile
audited-3.0.0.rc2 Rakefile
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/audited-3.0.0.rc1/Rakefile
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/audited-3.0.0.rc1/Rakefile
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/audited-3.0.0.rc1/Rakefile
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/audited-3.0.0.rc1/Rakefile
audited-3.0.0.rc1 Rakefile