Sha256: feeb30303364cb169aea7e739240504511675c14e3b7b67ce5221f8a08e9b647

Contents?: true

Size: 618 Bytes

Versions: 7

Compression:

Stored size: 618 Bytes

Contents

require File.dirname(__FILE__) + '/../generator_helpers'

class ColorboxGenerator < Rails::Generator::Base
  
  include GeneratorHelpers
  
  def self_dir ; File.dirname(__FILE__) ; end
  
  def manifest
    record do |m|
      files_in(m, 'colorbox', 'public/stylesheets/')
      m.directory 'app/views/shared'
      m.file '_colorbox.html.erb', 'app/views/shared/_colorbox.html.erb'
      m.directory 'public/javascripts'
      m.file 'jquery-1.3.2.min.js', 'public/javascripts/jquery-1.3.2.min.js'
      m.file 'jquery.colorbox.js', 'public/javascripts/jquery.colorbox.js'
      m.readme 'README'
    end
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
muruca_widgets-0.2.6 generators/colorbox/colorbox_generator.rb
muruca_widgets-0.2.4 generators/colorbox/colorbox_generator.rb
muruca_widgets-0.2.3 generators/colorbox/colorbox_generator.rb
muruca_widgets-0.2.2 generators/colorbox/colorbox_generator.rb
muruca_widgets-0.2.1 generators/colorbox/colorbox_generator.rb
muruca_widgets-0.2.0 generators/colorbox/colorbox_generator.rb
muruca_widgets-0.1.0 generators/colorbox/colorbox_generator.rb