Sha256: 8324335711aa5e442b20f8b963a460d250b1a243ef3c9856c6b8c6fa779c8df2

Contents?: true

Size: 419 Bytes

Versions: 7

Compression:

Stored size: 419 Bytes

Contents

class Rails < Thor
  desc "checkout VERSION", "checks it out"
  def checkout(version)
    puts "***** checking out rails at #{version} ..."
    Dir.chdir("vendor/rails") do
      `git checkout #{version}`
      `rm Gemfile.lock` if File.exist?('Gemfile.lock')
      puts `bundle show`
    end
  end

  desc "fetch", "update vendor/rails"
  def fetch
    Dir.chdir("vendor/rails") do
      `git fetch`
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rspec-rails-2.4.1 Thorfile
rspec-rails-2.4.0 Thorfile
rspec-rails-2.3.1 Thorfile
rspec-rails-2.3.0 Thorfile
rspec-rails-2.2.1 Thorfile
rspec-rails-2.2.0 Thorfile
rspec-rails-2.1.0 Thorfile