Sha256: fbaf8d28ea22dfb6047818749808703187623c599299838642857a901b62db74
Contents?: true
Size: 569 Bytes
Versions: 2
Compression:
Stored size: 569 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'].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.0.5 | Rakefile |
default_value_for-3.0.3 | Rakefile |