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-3.0.0 Rakefile
notifiably_audited-1.0.11 Rakefile
notifiably_audited-1.0.10 Rakefile
notifiably_audited-1.0.9 Rakefile
notifiably_audited-1.0.8 Rakefile
notifiably_audited-1.0.7 Rakefile
notifiably_audited-1.0.6 Rakefile
notifiably_audited-1.0.5 Rakefile
notifiably_audited-1.0.4 Rakefile
notifiably_audited-1.0.3 Rakefile
notifiably_audited-1.0.2 Rakefile
notifiably_audited-1.0.1 Rakefile
notifiably_audited-1.0.0 Rakefile
notifiably_audited-0.1.12 Rakefile
notifiably_audited-0.1.11 Rakefile
notifiably_audited-0.0.7 Rakefile
notifiably_audited-0.0.5 Rakefile
notifiably_audited-0.0.4 Rakefile
notifiably_audited-0.0.3 Rakefile
notifiably_audited-0.0.2 Rakefile