Sha256: 281843e8d041a53d4478dedd9e242c9869c85eed593c9cbee1fa6849a37c86d3

Contents?: true

Size: 582 Bytes

Versions: 4

Compression:

Stored size: 582 Bytes

Contents

namespace :rails4 do
  desc "Run through each precheck for compatibility with Rails 4"
  task :check do
    puts "** GEM COMPATIBILITY CHECK **"
    Rake::Task["rails4:check_gems"].invoke
  end

  desc "Check for gem incompatibilities with Rails 4"
  task :check_gems do
    gemfile_path = File.join(".", "Gemfile.lock")
    gemfile = Rails4Upgrade::Gemfile.new(File.open(gemfile_path))
    incompatibile_gems = Rails4Upgrade::IncompatibleGems.new(gemfile)

    formatter = Rails4Upgrade::Formatters::IncompatibleGemsFormatter.new(incompatibile_gems)
    formatter.output
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails4_upgrade-0.5.0 lib/rails4_upgrade/tasks/upgrade.rake
rails4_upgrade-0.0.5 lib/rails4_upgrade/tasks/upgrade.rake
rails4_upgrade-0.0.4 lib/rails4_upgrade/tasks/upgrade.rake
rails4_upgrade-0.0.3 lib/rails4_upgrade/tasks/upgrade.rake