Sha256: ca66487c8eed0599588f7feb421e98588b73cc0b8384ab2aa6457c899d6406a7

Contents?: true

Size: 875 Bytes

Versions: 5

Compression:

Stored size: 875 Bytes

Contents

module BestBoy
  module Generators
    class BestBoyGenerator < Rails::Generators::Base
      hook_for :orm
      source_root File.expand_path('../templates', __FILE__)

      def copy_config_file
        template 'best_boy.rb', 'config/initializers/best_boy.rb'
        template 'bootstrap/glyphicons-halflings-white.png', 'public/images/bootstrap/glyphicons-halflings-white.png'
        template 'bootstrap/glyphicons-halflings.png', 'public/images/bootstrap/glyphicons-halflings.png'
        template 'bootstrap/bootstrap.css', 'public/stylesheets/bootstrap.css'
        #datepicker by Stefan Petre (http://www.eyecon.ro/bootstrap-datepicker)
        template 'bootstrap/bootstrap_datepicker.css', 'public/stylesheets/bootstrap_datepicker.css' 
        template 'bootstrap/bootstrap_datepicker.js', 'public/javascripts/bootstrap_datepicker.js'
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
best_boy-0.2.2 lib/generators/best_boy_generator.rb
best_boy-0.2.1 lib/generators/best_boy_generator.rb
best_boy-0.2.0 lib/generators/best_boy_generator.rb
best_boy-0.1.1 lib/generators/best_boy_generator.rb
best_boy-0.1.0 lib/generators/best_boy_generator.rb