Permalink
Browse files

added Chosen.js

  • Loading branch information...
1 parent 9663580 commit 6ac60c129b5259753452d8bc37d01dbcb4a8f146 @ascot21 ascot21 committed Feb 8, 2013
Showing with 4 additions and 1 deletion.
  1. +1 −1 common.rb
  2. +1 −0 recipes/chosen.rb
  3. +1 −0 recipes/gemfile.rb
  4. +1 −0 templates/app/assets/stylesheets/application.scss
View
2 common.rb
@@ -12,6 +12,6 @@
load_options
#loop through the recipes and apply each one
-required_recipes = %w(database gitignore gemfile bourbon_neat production bundle routes flash_messages application schedule rspec whiskey_disk foreman active_admin authentication guard spork_rspec git heroku)
+required_recipes = %w(database gitignore gemfile bourbon_neat chosen production bundle routes flash_messages application schedule rspec whiskey_disk foreman active_admin authentication guard spork_rspec git heroku)
required_recipes.each {|required_recipe| apply recipe(required_recipe)}
View
1 recipes/chosen.rb
@@ -0,0 +1 @@
+append_to_file 'app/assets/javascripts/application.js', '\/\/= require chosen-jquery'
View
1 recipes/gemfile.rb
@@ -22,6 +22,7 @@
lograge
bourbon
neat
+ chosen-rails
).map { |gem_name| "gem '#{gem_name}'" }.join("\n") << "\n\n"
end
View
1 templates/app/assets/stylesheets/application.scss
@@ -13,3 +13,4 @@
@import "bourbon";
@import "neat";
+@import "chosen";

0 comments on commit 6ac60c1

Please sign in to comment.