Sha256: 8217d5c31339060f74db02f34052050ed5d2a5051f27920856ed2887e10891ca

Contents?: true

Size: 409 Bytes

Versions: 5

Compression:

Stored size: 409 Bytes

Contents

#!/usr/bin/env rake
require 'bundler/gem_tasks'
require 'rake/testtask'
require 'appraisal'

Rake::TestTask.new do |t|
  t.libs = ["test"]
  t.pattern = "test/**/*_test.rb"

  # also warn about bad practices and such
  t.ruby_opts = ['-w']
end

if !ENV["APPRAISAL_INITIALIZED"] && !ENV["TRAVIS"]
  task :default do
    sh "appraisal install && rake appraisal test"
  end
else
  task :default =>  [:test]
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-like-7.0.0 Rakefile
activerecord-like-6.1.0 Rakefile
activerecord-like-2.2 Rakefile
activerecord-like-2.1 Rakefile
activerecord-like-2.0 Rakefile