Sha256: 49ad49961a46544f02604cee1949c433f2d7913948b0a046f8dc6249fc99c9f8

Contents?: true

Size: 860 Bytes

Versions: 6

Compression:

Stored size: 860 Bytes

Contents

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

class SimileTimelineGenerator < Rails::Generator::Base
  
  include GeneratorHelpers
  
  def self_dir ; File.dirname(__FILE__) ; end
  
  def manifest
    record do |m|
      m.directory 'public/javascripts'
      files_in(m, 'timeline_ajax', 'public/javascripts/')
      files_in(m, 'timeline_js', 'public/javascripts/')
      m.file 'timeline.js', 'public/javascripts/timeline.js'
      m.file 'jquery-1.3.2.min.js', 'public/javascripts/jquery-1.3.2.min.js'
      m.directory 'app/views/shared'
      m.file '_timeline.html.erb', 'app/views/shared/_timeline.html.erb'
      m.file '_timeline_include.html.erb', 'app/views/shared/_timeline_include.html.erb'
      m.directory 'app/helpers'
      m.file 'timeline_helper.rb', 'app/helpers/timeline_helper.rb'
      m.readme 'README'
    end
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
muruca_widgets-0.2.6 generators/simile_timeline/simile_timeline_generator.rb
muruca_widgets-0.2.4 generators/simile_timeline/simile_timeline_generator.rb
muruca_widgets-0.2.3 generators/simile_timeline/simile_timeline_generator.rb
muruca_widgets-0.2.2 generators/simile_timeline/simile_timeline_generator.rb
muruca_widgets-0.2.1 generators/simile_timeline/simile_timeline_generator.rb
muruca_widgets-0.2.0 generators/simile_timeline/simile_timeline_generator.rb