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-3.4.3 Rakefile
google-authenticator-rails-3.4.2 Rakefile
google-authenticator-rails-3.4.1 Rakefile
google-authenticator-rails-3.4.0 Rakefile
google-authenticator-rails-3.3.1 Rakefile
google-authenticator-rails-3.3.0 Rakefile
google-authenticator-rails-3.2.1 Rakefile
google-authenticator-rails-3.2.0 Rakefile
google-authenticator-rails-3.1.0 Rakefile
google-authenticator-rails-3.0.0 Rakefile
google-authenticator-rails-1.7.0 Rakefile
google-authenticator-rails-2.0.0 Rakefile
google-authenticator-rails-1.5.1 Rakefile
google-authenticator-rails-1.6.1 Rakefile
google-authenticator-rails-1.6.0 Rakefile
google-authenticator-rails-1.5.0 Rakefile
google-authenticator-rails-1.4.1 Rakefile
google-authenticator-rails-1.4.0 Rakefile
google-authenticator-rails-1.3.0 Rakefile
google-authenticator-rails-1.2.1 Rakefile