Sha256: dc7380ed9de2942d25a6ccb9cdfb18ceb7fcf6537d9e5c2f66fcca1536aa8738

Contents?: true

Size: 371 Bytes

Versions: 30

Compression:

Stored size: 371 Bytes

Contents

module LinkThumbnailer
  module Generators
    class InstallGenerator < ::Rails::Generators::Base

      source_root File.expand_path('../../templates', __FILE__)

      desc 'Creates a LinkThumbnailer initializer for your application.'

      def copy_initializer
        template 'initializer.rb', 'config/initializers/link_thumbnailer.rb'
      end

    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
link_thumbnailer-3.3.1 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-3.3.0 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-3.2.1 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-3.2.0 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-3.1.2 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-3.1.1 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-3.1.0 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-3.0.3 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-3.0.2 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-3.0.1 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-3.0.0 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-2.6.1 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-2.6.0 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-2.5.2 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-2.5.1 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-2.5.0 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-2.4.0 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-2.3.2 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-2.3.1 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-2.3.0 lib/generators/link_thumbnailer/install_generator.rb