Sha256: ec6ac4ffae69a1c22d9dce2ea2f105226f0aa2978b295940372355b9c115f105

Contents?: true

Size: 460 Bytes

Versions: 4

Compression:

Stored size: 460 Bytes

Contents

require "bundler/setup"
require "rake/testtask"

if !ENV["APPRAISAL_INITIALIZED"] && !ENV["TRAVIS"]
  require "appraisal/task"
  Appraisal::Task.new
  task default: :appraisal
else
  Rake::TestTask.new do |test|
    require "rails/version"

    test.libs << "test"

    if Rails::VERSION::MAJOR == 3
      test.test_files = %w[test/jbuilder_template_test.rb]
    else
      test.test_files = FileList["test/*_test.rb"]
    end
  end

  task default: :test
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jbuilder_cache_multi-0.1.0 Rakefile
jbuilder_cache_multi-0.0.3 Rakefile
jbuilder_cache_multi-0.0.2 Rakefile
jbuilder_cache_multi-0.0.1 Rakefile