Sha256: 9ede58542491e046de82220d94cf2af88890d57aad8bdcaf625063231812bf8a

Contents?: true

Size: 482 Bytes

Versions: 5

Compression:

Stored size: 482 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 test/jbuilder_test.rb]
    else
      test.test_files = FileList["test/*_test.rb"]
    end
  end

  task default: :test
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jbuilder-2.1.2 Rakefile
jbuilder-2.1.1 Rakefile
jbuilder-2.1.0 Rakefile
jbuilder-2.0.8 Rakefile
jbuilder-2.0.7 Rakefile