Sha256: 3f8008eadc70b34538901eb9c9936a1e9ff5b5ad323d98b305e0db0f8b1006e8

Contents?: true

Size: 856 Bytes

Versions: 17

Compression:

Stored size: 856 Bytes

Contents

module Hobo
  class RapidGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    def self.banner
      "rails generate hobo:rapid"
    end

    def copy_rapid_files
      copy_file "hobo-rapid.js",      "public/javascripts/hobo-rapid.js"
      copy_file "lowpro.js",          "public/javascripts/lowpro.js"
      copy_file "IE7.js",             "public/javascripts/IE7.js"
      copy_file "ie7-recalc.js",      "public/javascripts/ie7-recalc.js"
      copy_file "blank.gif",          "public/javascripts/blank.gif"
      copy_file "reset.css",          "public/stylesheets/reset.css"
      copy_file "hobo-rapid.css",     "public/stylesheets/hobo-rapid.css"
      directory "themes/clean/public","public/hobothemes/clean"
      directory "themes/clean/views", "app/views/taglibs/themes/clean"
    end

  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
hobo-1.3.0.pre27 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre26 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre25 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre24 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre23 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre22 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre21 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre20 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre19 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre18 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre16 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre15 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre14 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre13 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre12 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre11 lib/generators/hobo/rapid/rapid_generator.rb
hobo-1.3.0.pre10 lib/generators/hobo/rapid/rapid_generator.rb