Sha256: c98ec1b97240c9c6afad4cd2261fadc93a3ea547b93a3d2356e29cd39b09c7ba

Contents?: true

Size: 344 Bytes

Versions: 16

Compression:

Stored size: 344 Bytes

Contents

require 'rails/generators/base'

class HerokuRailsDeployGenerator < Rails::Generators::Base
  source_paths << File.join(File.dirname(__FILE__), 'templates')

  def create_config_file
    template('heroku.yml', 'config/heroku.yml')
  end

  def create_executable_file
    template('deploy', 'bin/deploy')
    chmod('bin/deploy', 0755)
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
heroku_rails_deploy-0.4.5 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
heroku_rails_deploy-0.4.5.rc0 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
heroku_rails_deploy-0.4.4 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
heroku_rails_deploy-0.4.3 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
heroku_rails_deploy-0.4.3.rc1 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
heroku_rails_deploy-0.4.3.rc0 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
heroku_rails_deploy-0.4.2 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
heroku_rails_deploy-0.4.2.rc0 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
heroku_rails_deploy-0.4.1 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
heroku_rails_deploy-0.4.0 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
heroku_rails_deploy-0.4.0.rc0 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
heroku_rails_deploy-0.3.0 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
heroku_rails_deploy-0.3.0.rc0 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
heroku_rails_deploy-0.2.2 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
heroku_rails_deploy-0.2.1 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
heroku_rails_deploy-0.1.0 lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb