Sha256: d5c4c4a614463f7bea82bb6e4fe30f10fb4776ff4e88d3be26c4616b3f0d670b

Contents?: true

Size: 491 Bytes

Versions: 3

Compression:

Stored size: 491 Bytes

Contents

require 'rails/generators'

module Shellac
  module Generators
    class InstallGenerator < Rails::Generators::Base
      
      source_root File.expand_path("../../templates", __FILE__)
            
      def generate
        copy_file "config/varnish.yml", "config/varnish.yml"
        
        puts "------------------------"
        puts "Now configure your varnish setup here:"
        puts "config/varnish.yml"
        puts "------------------------"
      end
      
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shellac-0.0.3.rc2 lib/generators/shellac/install_generator.rb
shellac-0.0.2.4 lib/generators/shellac/install_generator.rb
shellac-0.0.2.3 lib/generators/shellac/install_generator.rb