Sha256: 7a8dd53afcfbaf189f3c41eaa69d7b9643bfa7766f15e0bbfcb93eaad6772580

Contents?: true

Size: 362 Bytes

Versions: 22

Compression:

Stored size: 362 Bytes

Contents

class PapermillAssetsGenerator < Rails::Generator::Base
  def initialize(args, options = {})
  end
  
  def manifest
    puts "Copying papermill assets to your public directory..."
    FileUtils.cp_r(
      Dir[File.join(File.dirname(__FILE__), '../../public')],
      File.join(RAILS_ROOT)
      )
    puts "Done! Check public/ for result."
    exit
  end 
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
papermill-2.1.1 generators/papermill_assets/papermill_assets_generator.rb
papermill-2.1.0 generators/papermill_assets/papermill_assets_generator.rb
papermill-2.0.2 generators/papermill_assets/papermill_assets_generator.rb
papermill-2.0.1 generators/papermill_assets/papermill_assets_generator.rb
papermill-2.0.0 generators/papermill_assets/papermill_assets_generator.rb
papermill-2.0.0.pre generators/papermill_assets/papermill_assets_generator.rb
papermill-1.4.3 generators/papermill_assets/papermill_assets_generator.rb
papermill-1.4.2 generators/papermill_assets/papermill_assets_generator.rb
papermill-1.4.1 generators/papermill_assets/papermill_assets_generator.rb
papermill-1.4.0 generators/papermill_assets/papermill_assets_generator.rb
papermill-1.3.6 generators/papermill_assets/papermill_assets_generator.rb
papermill-1.3.5 generators/papermill_assets/papermill_assets_generator.rb
papermill-1.3.4 generators/papermill_assets/papermill_assets_generator.rb
papermill-1.3.3 generators/papermill_assets/papermill_assets_generator.rb
papermill-1.3.2 generators/papermill_assets/papermill_assets_generator.rb
papermill-1.3.1 generators/papermill_assets/papermill_assets_generator.rb
papermill-1.3.0 generators/papermill_assets/papermill_assets_generator.rb
papermill-1.2.0 generators/papermill_assets/papermill_assets_generator.rb
papermill-1.1.6 generators/papermill_assets/papermill_assets_generator.rb
papermill-1.1.5 generators/papermill_assets/papermill_assets_generator.rb