Sha256: 2f80e0edac27d212bcea05c3e0c6b7def06673a2a70248815defb946ce02017d

Contents?: true

Size: 508 Bytes

Versions: 12

Compression:

Stored size: 508 Bytes

Contents

module Pah
  module Templates
    class Jumpup < Pah::Template
      def call
        copy_static_file 'lib/tasks/jumpup.rake'
        copy_static_file 'config/initializers/jumpup_heroku.rb'

        gsub_file 'config/initializers/jumpup_heroku.rb', /PROJECT/, (Pah.configuration.heroku[:name] || Pah.configuration.app_name)

        git add: 'lib/tasks/jumpup.rake'
        git add: 'config/initializers/jumpup_heroku.rb'
        git_commit 'Add jumpup tasks and configuration.'
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pah-0.0.28 lib/pah/templates/jumpup.rb
pah-0.0.27 lib/pah/templates/jumpup.rb
pah-0.0.26 lib/pah/templates/jumpup.rb
pah-0.0.25 lib/pah/templates/jumpup.rb
pah-0.0.24 lib/pah/templates/jumpup.rb
pah-0.0.23 lib/pah/templates/jumpup.rb
pah-0.0.22 lib/pah/templates/jumpup.rb
pah-0.0.21 lib/pah/templates/jumpup.rb
pah-0.0.20 lib/pah/templates/jumpup.rb
pah-0.0.19 lib/pah/templates/jumpup.rb
pah-0.0.17 lib/pah/templates/jumpup.rb
pah-0.0.16 lib/pah/templates/jumpup.rb