Sha256: 5784436e496cf666e8111de730873752eb813c7c756c0ef7dcaf7dc83915a217

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

require 'rails/railtie'

module HerokuPull
  class Railtie < Rails::Railtie
    rake_tasks do
      namespace :heroku do
        desc "Pull the Postgres database from Heroku into local server"
        task :pull do
          HerokuPull.capture
          HerokuPull.download
          HerokuPull.restore
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
heroku_pull-0.0.1 lib/heroku_pull/railtie.rb