Sha256: 782b5852989a7396f97315140f011983bc24216add41cb29c44d82ae8a523796

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 Bytes

Contents

namespace :rails4 do
  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

2 entries across 2 versions & 1 rubygems

Version Path
rails4_upgrade-0.0.2 lib/rails4_upgrade/tasks/upgrade.rake
rails4_upgrade-0.0.1 lib/rails4_upgrade/tasks/upgrade.rake