Sha256: 645a8ad90386f90127991e2e7ea7aa3ab97162c39078e796528cf3f013c762a5

Contents?: true

Size: 454 Bytes

Versions: 20

Compression:

Stored size: 454 Bytes

Contents

require 'generators/kapify/base'

module Kapify
  module Generators
    class UnicornGenerator < Kapify::Generators::Base
      desc "Create local unicorn configuration files for customization"
      source_root File.expand_path('../templates', __FILE__)

      def copy_template
        copy_file "unicorn.rb.erb", "#{templates_path}/unicorn.rb.erb"
        copy_file "unicorn_init.erb", "#{templates_path}/unicorn_init.erb"
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
kapify-0.1.3 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.1.2 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.1.1 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.1.0 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.16 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.15 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.14 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.13 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.12 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.11 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.10 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.9 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.8 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.7 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.6 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.5 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.4 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.3 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.2 lib/generators/kapify/unicorn/unicorn_generator.rb
kapify-0.0.1 lib/generators/kapify/unicorn/unicorn_generator.rb