Sha256: 2482e6fae7780aa23a6cd231959ff5ce2e3fed2d10f48a11c88844955f7fd934

Contents?: true

Size: 352 Bytes

Versions: 13

Compression:

Stored size: 352 Bytes

Contents

require 'rails/generators'

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

    desc 'Hancock CMS paperclip_optimizer Config generator'
    def install
      template 'paperclip_optimizer.erb', "config/initializers/paperclip_optimizer.rb"
    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/paperclip_optimizer_generator.rb
hancock_cms-1.0.2.3 lib/generators/hancock/cms/paperclip_optimizer_generator.rb
hancock_cms-2.0.1.2 lib/generators/hancock/cms/paperclip_optimizer_generator.rb
hancock_cms-2.0.1.1 lib/generators/hancock/cms/paperclip_optimizer_generator.rb
hancock_cms-1.0.2.2 lib/generators/hancock/cms/paperclip_optimizer_generator.rb
hancock_cms-1.0.1 lib/generators/hancock/cms/paperclip_optimizer_generator.rb
hancock_cms-2.0.0.2 lib/generators/hancock/cms/paperclip_optimizer_generator.rb
hancock_cms-1.0.0.4 lib/generators/hancock/cms/paperclip_optimizer_generator.rb
hancock_cms-1.0.0.3 lib/generators/hancock/cms/paperclip_optimizer_generator.rb
hancock_cms-2.0.0.1 lib/generators/hancock/cms/paperclip_optimizer_generator.rb
hancock_cms-1.0.0.2 lib/generators/hancock/cms/paperclip_optimizer_generator.rb
hancock_cms-2.0.0 lib/generators/hancock/cms/paperclip_optimizer_generator.rb
hancock_cms-1.0.0 lib/generators/hancock/cms/paperclip_optimizer_generator.rb