Sha256: 4afa4345c456bdcbec54bc73216d4cba618c5176f875a9177338c3de8517ff76

Contents?: true

Size: 652 Bytes

Versions: 28

Compression:

Stored size: 652 Bytes

Contents

#!/usr/bin/env rake
require "bundler/setup"
require "bundler/gem_tasks"
require "appraisal"

begin
  # RSpec 2
  require "rspec/core/rake_task"

  RSpec::Core::RakeTask.new do |t|
    t.pattern     = "spec/**/*_spec.rb"
    t.rspec_opts  = "--color --format documentation --backtrace"
  end
rescue LoadError
  # RSpec 1
  require "spec/rake/spectask"

  Spec::Rake::SpecTask.new(:spec) do |t|
    t.pattern     = "spec/**/*_spec.rb"
    t.spec_opts   = ["--color", "--format nested", "--backtrace"]
  end
end

desc "Default: Test the gem under all supported Rails versions."
task :default => ["appraisal:install"] do
  exec("rake appraisal spec")
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
google-authenticator-rails-1.2.0 Rakefile
google-authenticator-rails-1.1.0 Rakefile
google-authenticator-rails-1.0.0 Rakefile
google-authenticator-rails-0.0.11 Rakefile
google-authenticator-rails-0.0.10 Rakefile
google-authenticator-rails-0.0.9 Rakefile
google-authenticator-rails-0.0.8 Rakefile
google-authenticator-rails-0.0.7 Rakefile