Sha256: e2f3d15f2ee87cd658c495e930b878882e1a30f9b44f09904a3c56e66c97edcc
Contents?: true
Size: 543 Bytes
Versions: 2
Compression:
Stored size: 543 Bytes
Contents
task :default => :test desc "Run unit tests." task :test do ruby "test.rb" end ['3.2', '4.0', '4.1', '4.2'].each do |version| dotless = version.delete('.') namespace :bundle do desc "Bundle with Rails #{version}.x" task :"rails#{dotless}" do ENV['BUNDLE_GEMFILE'] = "Gemfile.rails.#{version}.rb" sh "bundle" end end namespace :test do desc "Test with Rails #{version}.x" task :"rails#{dotless}" do ENV['BUNDLE_GEMFILE'] = "Gemfile.rails.#{version}.rb" ruby "test.rb" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
default_value_for-3.0.2 | Rakefile |
default_value_for-3.0.1 | Rakefile |