Sha256: 0acebe80466d8240ead9cf4e6a48b75a878b5e73c1dd8ed577ab7dd4edb2e17f

Contents?: true

Size: 378 Bytes

Versions: 25

Compression:

Stored size: 378 Bytes

Contents

if defined?(Rails) && Rails::VERSION::MAJOR != 2

  # Rails3 generator invoked with 'rails generate wicked_pdf'
  class WickedPdfGenerator < Rails::Generators::Base
    source_root(File.expand_path(File.dirname(__FILE__) + "/../../generators/wicked_pdf/templates"))
    def copy_initializer
      copy_file 'wicked_pdf.rb', 'config/initializers/wicked_pdf.rb'
    end
  end

end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
wicked_pdf-0.11.0 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.10.2 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.10.0 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.9.10 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.9.9 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.9.8 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.9.7 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.9.6 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.9.5 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.9.4 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.9.3 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.9.2 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.9.1 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.9.0 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.8.0 lib/generators/wicked_pdf_generator.rb
wicked_pdf_rails_2-0.7.9.1 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.7.9 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.7.8 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.7.7 lib/generators/wicked_pdf_generator.rb
wicked_pdf-0.7.6 lib/generators/wicked_pdf_generator.rb