Sha256: bdcb5e3f77f41f324246803cc72b052f98396703dec6bb16f7ef35679111e7f3

Contents?: true

Size: 576 Bytes

Versions: 2

Compression:

Stored size: 576 Bytes

Contents

task :default => :test

desc "Run unit tests."
task :test do
  ruby "test.rb"
end

['3.2', '4.0', '4.1', '4.2', '5.0', '5.1', '5.2'].each do |version|
  dotless = version.delete('.')

  namespace :bundle do
    desc "Bundle with Rails #{version}.x"
    task :"rails#{dotless}" do
      ENV['BUNDLE_GEMFILE'] = "gemfiles/rails_#{dotless}.gemfile"
      sh "bundle"
    end
  end

  namespace :test do
    desc "Test with Rails #{version}.x"
    task :"rails#{dotless}" do
      ENV['BUNDLE_GEMFILE'] = "gemfiles/rails_#{dotless}.gemfile"
      ruby "test.rb"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
default_value_for-3.2.0 Rakefile
default_value_for-3.1.0 Rakefile