Sha256: 3ac153c5050bb540bc831465aacf49a9d2284cb32340b2ec39ffdb80168aaac0

Contents?: true

Size: 397 Bytes

Versions: 8

Compression:

Stored size: 397 Bytes

Contents

require 'rails/generators'

module Hancock::Cms
  class UnicornGodGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    argument :app_name, type: :string

    desc 'Hancock CMS unicorn+god configs generator'
    def install
      template 'unicorn.erb',     "config/unicorn.rb"
      template 'unicorn.god.erb', "config/unicorn.god"
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hancock_cms-1.0.1 lib/generators/hancock/cms/unicorn_god_generator.rb
hancock_cms-2.0.0.2 lib/generators/hancock/cms/unicorn_god_generator.rb
hancock_cms-1.0.0.4 lib/generators/hancock/cms/unicorn_god_generator.rb
hancock_cms-1.0.0.3 lib/generators/hancock/cms/unicorn_god_generator.rb
hancock_cms-2.0.0.1 lib/generators/hancock/cms/unicorn_god_generator.rb
hancock_cms-1.0.0.2 lib/generators/hancock/cms/unicorn_god_generator.rb
hancock_cms-2.0.0 lib/generators/hancock/cms/unicorn_god_generator.rb
hancock_cms-1.0.0 lib/generators/hancock/cms/unicorn_god_generator.rb