Sha256: 223b0ec860ec072fbe3dc2d8d6298802322740372599511cc54ea212d73e0bc5

Contents?: true

Size: 341 Bytes

Versions: 10

Compression:

Stored size: 341 Bytes

Contents

require 'rails/generators'

module Versioncake
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path('../../templates', __FILE__)

    desc 'Creates a Version Cake initializer in your application.'
    def copy_initializer
      template 'versioncake.rb', 'config/initializers/versioncake.rb'
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
versioncake-4.1.1 lib/generators/versioncake/install_generator.rb
versioncake-4.1.0 lib/generators/versioncake/install_generator.rb
versioncake-4.0.2 lib/generators/versioncake/install_generator.rb
versioncake-4.0.1 lib/generators/versioncake/install_generator.rb
versioncake-4.0.0 lib/generators/versioncake/install_generator.rb
versioncake-3.4.0 lib/generators/versioncake/install_generator.rb
versioncake-3.3.0 lib/generators/versioncake/install_generator.rb
versioncake-3.2.0 lib/generators/versioncake/install_generator.rb
versioncake-3.1.0 lib/generators/versioncake/install_generator.rb
versioncake-3.0.0 lib/generators/versioncake/install_generator.rb