out.rb~ in app_drone-0.4.0 vs out.rb~ in app_drone-0.5.0

- old
+ new

@@ -26,12 +26,14 @@ @generator.gem 'therubyracer' @generator.gem 'compass-rails' @generator.gem 'slim-rails' @generator.gem 'high_voltage' @generator.gem 'simple_form' +@generator.gem 'country_select' @generator.gem 'compass_twitter_bootstrap', :git=>"git://github.com/vwall/compass-twitter-bootstrap.git", :group=>:assets @generator.gem 'chosen-rails' +@generator.gem 'ember-rails' run_bundle @generator.options = @generator.options.dup @generator.options[:skip_bundle] = true @generator.options.freeze @@ -47,13 +49,19 @@ @generator.remove_file(js_asset_path) @coffee_asset_path = File.join %w(app assets javascripts application.js.coffee) @generator.create_file @coffee_asset_path, <<-COFFEE //= require jquery //= require jquery_ujs +//= require init //= require chosen-jquery -//= require_tree . +//= require ember +//= require ember/#{app_name}.js +COFFEE + +@coffee_init_path = File.join %w(app assets javascripts init.js.coffee) +@generator.create_file @coffee_init_path, <<-COFFEE $(document).ready -> $('.chzn-select').chosen(); COFFEE @@ -69,11 +77,10 @@ /*= require chosen */ /*= require_self */ @import 'compass' @import 'compass_twitter_bootstrap_awesome' -@import 'compass_twitter_bootstrap_responsive' SASS # --- # AppDrone::SlimView @@ -124,19 +131,26 @@ option Three FLAIR # --- +# AppDrone::Cleanup +# --- +@generator.remove_file File.join %w(public index.html) +@generator.remove_file File.join %w(app assets images rails.png) +@generator.remove_file File.join %w(README.rdoc) + +# --- # AppDrone::SimpleForm # --- generate "simple_form:install --bootstrap" # --- -# AppDrone::Cleanup +# AppDrone::Ember # --- -@generator.remove_file File.join %w(public index.html) -@generator.remove_file File.join %w(app assets images rails.png) -@generator.remove_file File.join %w(README.rdoc) + +generate "ember:bootstrap" + rake 'db:migrate' say "She's all yours, sparky!\n\n", :green end