Sha256: 3bd8664eccd263125f5ada9e17ef6283d6273e7073281dc5b901613d3ade953e

Contents?: true

Size: 474 Bytes

Versions: 32

Compression:

Stored size: 474 Bytes

Contents

require 'rails/generators'

module Jombo
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.join(File.dirname(__FILE__), 'templates')
      
      def add_assets
        insert_into_file "app/assets/javascripts/application.js", "//= require bootstrap\n", :after => "jquery_ujs\n"
        insert_into_file "app/assets/stylesheets/application.css", " *= require bootstrap\n", :after => "require_self\n"
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
jombo-1.0.11 lib/jombo/generators/install_generator.rb
jombo-1.0.10 lib/jombo/generators/install_generator.rb
jombo-1.0.9 lib/jombo/generators/install_generator.rb
jombo-1.0.8 lib/jombo/generators/install_generator.rb
jombo-1.0.7 lib/jombo/generators/install_generator.rb
jombo-1.0.6 lib/jombo/generators/install_generator.rb
jombo-1.0.5 lib/jombo/generators/install_generator.rb
jombo-1.0.4 lib/jombo/generators/install_generator.rb
jombo-1.0.3 lib/jombo/generators/install_generator.rb
jombo-1.0.2 lib/jombo/generators/install_generator.rb
jombo-1.0.1 lib/jombo/generators/install_generator.rb
jombo-1.0.0 lib/jombo/generators/install_generator.rb
jombo-0.0.1.beta28 lib/jombo/generators/install_generator.rb
jombo-0.0.1.beta27 lib/jombo/generators/install_generator.rb
jombo-0.0.1.beta26 lib/jombo/generators/install_generator.rb
jombo-0.0.1.beta25 lib/jombo/generators/install_generator.rb
jombo-0.0.1.beta24 lib/jombo/generators/install_generator.rb
jombo-0.0.1.beta23 lib/jombo/generators/install_generator.rb
jombo-0.0.1.beta21 lib/jombo/generators/install_generator.rb
jombo-0.0.1.beta19 lib/jombo/generators/install_generator.rb