Sha256: fb26e4a1641c1d012443e7d17c14458ab51c3cc4add0ecdf24508bb090da3e3c

Contents?: true

Size: 295 Bytes

Versions: 6

Compression:

Stored size: 295 Bytes

Contents

require 'rails/generators'

class LacquerGenerator < Rails::Generators::NamedBase
  source_root File.expand_path('../templates', __FILE__)

  def install
    copy_file('varnish.sample.vcl', 'config/varnish.sample.vcl')
    copy_file('initializer.rb', 'config/initializers/lacquer.rb')
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
lacquer-0.3.0 lib/generators/lacquer_generator.rb
posterous-lacquer-0.2.5 lib/generators/lacquer_generator.rb
posterous-lacquer-0.2.4 lib/generators/lacquer_generator.rb
posterous-lacquer-0.2.3 lib/generators/lacquer_generator.rb
lacquer-0.2.3 lib/generators/lacquer_generator.rb
lacquer-0.2.2 lib/generators/lacquer_generator.rb