Sha256: e5242f73e04f3e2a797d2b14b9e76cac2b1941f5cef2c433b63d69bff901b693

Contents?: true

Size: 275 Bytes

Versions: 13

Compression:

Stored size: 275 Bytes

Contents

require 'rails/generators'

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

    desc 'Hancock CMS Gemfile generator'
    def install
      template 'Gemfile.erb', "Gemfile"
    end

  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hancock_cms-2.0.1.3 lib/generators/hancock/cms/gemfile_generator.rb
hancock_cms-1.0.2.3 lib/generators/hancock/cms/gemfile_generator.rb
hancock_cms-2.0.1.2 lib/generators/hancock/cms/gemfile_generator.rb
hancock_cms-2.0.1.1 lib/generators/hancock/cms/gemfile_generator.rb
hancock_cms-1.0.2.2 lib/generators/hancock/cms/gemfile_generator.rb
hancock_cms-1.0.1 lib/generators/hancock/cms/gemfile_generator.rb
hancock_cms-2.0.0.2 lib/generators/hancock/cms/gemfile_generator.rb
hancock_cms-1.0.0.4 lib/generators/hancock/cms/gemfile_generator.rb
hancock_cms-1.0.0.3 lib/generators/hancock/cms/gemfile_generator.rb
hancock_cms-2.0.0.1 lib/generators/hancock/cms/gemfile_generator.rb
hancock_cms-1.0.0.2 lib/generators/hancock/cms/gemfile_generator.rb
hancock_cms-2.0.0 lib/generators/hancock/cms/gemfile_generator.rb
hancock_cms-1.0.0 lib/generators/hancock/cms/gemfile_generator.rb