recipes/readme.rb in rails_apps_composer-2.1.2 vs recipes/readme.rb in rails_apps_composer-2.1.3
- old
+ new
@@ -27,11 +27,13 @@
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'
# Template Engine
gsub_file "README.textile", /ERB/, "Haml" if prefer :templates, 'haml'