Sha256: 1d1618d13abf7b32b2c47acec2c4bf9f64333f1a9cfb46ab3f17cd068480564e

Contents?: true

Size: 286 Bytes

Versions: 8

Compression:

Stored size: 286 Bytes

Contents

require 'rails/generators'

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

    desc 'Hancock CMS Rack generator'
    def install
      template('rack.erb', 'config/initializers/rack.rb')
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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