Sha256: ce527e3b00ed06b5172c89b3e88591f3f469a5e8536521417f705efc58db0966
Contents?: true
Size: 536 Bytes
Versions: 2
Compression:
Stored size: 536 Bytes
Contents
task :default => :test desc "Run unit tests." task :test do ruby "test.rb" end ['3.2', '4.0', '4.1'].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.0.1 | Rakefile |
default_value_for-3.0.0 | Rakefile |