Sha256: 42a73a1c524550d6cbbd116bf10497ca4c5b9bcb9fe46fe5befef893b55deeb5

Contents?: true

Size: 325 Bytes

Versions: 12

Compression:

Stored size: 325 Bytes

Contents

module Pah
  module Templates
    class Newrelic < Pah::Template
      def call
        copy_static_file 'config/newrelic.yml'

        gsub_file 'config/newrelic.yml', /PROJECT/, Pah.configuration.app_name

        git add: 'config/newrelic.yml'
        git_commit 'Add New Relic configuration.'
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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