recipes/readme.rb in rails_apps_composer-2.2.32 vs recipes/readme.rb in rails_apps_composer-2.2.33

- old
+ new

@@ -1,11 +1,11 @@ # Application template recipe for the rails_apps_composer. Change the recipe here: # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/readme.rb after_everything do say_wizard "recipe running after everything" - + # remove default READMEs %w{ README README.rdoc doc/README_FOR_APP @@ -23,15 +23,15 @@ gsub_file "README.textile", /preferences that are known/, "preferences that are NOT known" if diagnostics[:prefs] == 'fail' gsub_file "README.textile", /RECIPES/, recipes.sort.inspect gsub_file "README.textile", /PREFERENCES/, prefs.inspect gsub_file "README", /RECIPES/, recipes.sort.inspect gsub_file "README", /PREFERENCES/, prefs.inspect - + # Ruby on Rails gsub_file "README.textile", /\* Ruby/, "* Ruby version #{RUBY_VERSION}" gsub_file "README.textile", /\* Rails/, "* Rails version #{Rails::VERSION::STRING}" - + # Database gsub_file "README.textile", /SQLite/, "PostgreSQL" if prefer :database, 'postgresql' gsub_file "README.textile", /SQLite/, "MySQL" if prefer :database, 'mysql' gsub_file "README.textile", /SQLite/, "MongoDB" if prefer :database, 'mongodb' gsub_file "README.textile", /ActiveRecord/, "the Mongoid ORM" if prefer :orm, 'mongoid' @@ -71,10 +71,10 @@ gsub_file "README.textile", /Authentication: None/, "Authentication: OmniAuth" if prefer :authentication, 'omniauth' gsub_file "README.textile", /Authorization: None/, "Authorization: CanCan" if prefer :authorization, 'cancan' git :add => '-A' if prefer :git, true git :commit => '-qm "rails_apps_composer: add README files"' if prefer :git, true - + end # after_everything __END__ name: readme