rails_apps_composer 2.1.4 → 2.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.textile CHANGED
@@ -213,7 +213,7 @@ Use a defaults file for recipes, preferences, and extra gems so you don't have t
213
213
  $ rails_apps_composer new myapp -d my_defaults.yaml
214
214
  </pre>
215
215
 
216
- Use the @my_defaults.yaml@ file to specify a list of recipes, preferences, and extra gems. You can use any name (and file extension) for the file. See the "Defaults File":http://railsapps.github.com/tutorial-rails-apps-composer.html#Defaults section below concerning the format of the defaults file.
216
+ Use the @my_defaults.yaml@ file to specify a list of recipes, preferences, and extra gems. You can use any name (and file extension) for the file. See the "Defaults File":http://railsapps.github.com/tutorial-rails-apps-composer.html#Defaults section in the Guide concerning the format of the defaults file.
217
217
 
218
218
  h3. Generate an Application Template Interactively
219
219
 
@@ -248,7 +248,7 @@ h3. Generate an Application Template from a List of Recipes
248
248
  Specify a filename for the template and provide a list of recipes:
249
249
 
250
250
  <pre>
251
- $ rails_apps_composer template ~/Desktop/template.rb -r all
251
+ $ rails_apps_composer template ~/Desktop/template.rb -r core
252
252
 
253
253
  What gem would you like to add? (blank to finish)
254
254
  Generating and saving application template...
@@ -265,7 +265,7 @@ Generate an application template using a defaults file and the @-d@ flag:
265
265
  $ rails_apps_composer template ~/Desktop/template.rb -d my_defaults.yaml
266
266
  </pre>
267
267
 
268
- Use the @my_defaults.yaml@ file to specify a list of recipes, preferences, and extra gems. You can use any name (and file extension) for the file. See the "Defaults File":http://railsapps.github.com/tutorial-rails-apps-composer.html#Defaults section below concerning the format of the defaults file.
268
+ Use the @my_defaults.yaml@ file to specify a list of recipes, preferences, and extra gems. You can use any name (and file extension) for the file. See the "Defaults File":http://railsapps.github.com/tutorial-rails-apps-composer.html#Defaults section in the Guide concerning the format of the defaults file.
269
269
 
270
270
  h3. Generate an Application from a Template
271
271
 
@@ -315,7 +315,7 @@ Help us out by reporting whether this combination works or fails.
315
315
 
316
316
  Go to the GitHub repository to create an "issue":http://github.com/RailsApps/rails_apps_composer/issues and let us know if you've found a combination of recipes or preferences that work together. If you've found a combination that works together, we'll update the gem's internal database for the next public release.
317
317
 
318
- When you generate an application, the application's *README.textile* file will contain a diagnostics report. Here's an example of the diagnostics report:
318
+ It's a good idea to include the "readme" recipe when you run rails_apps_composer. If you do, the application's *README* file will contain a diagnostics report. Here's an example of the diagnostics report:
319
319
 
320
320
  <pre>
321
321
  Recipes:
data/recipes/gems.rb CHANGED
@@ -21,8 +21,8 @@ gem 'pg', '>= 0.14.0' if prefer :database, 'postgresql'
21
21
  gem 'mysql2', '>= 0.3.11' if prefer :database, 'mysql'
22
22
  copy_from_repo 'config/database-postgresql.yml', :prefs => 'postgresql'
23
23
  copy_from_repo 'config/database-mysql.yml', :prefs => 'mysql'
24
- gsub_file "config/database.yml", /myapp/, "#{app_name}"
25
- gsub_file "config/database.yml", /root/, "#{app_name}"
24
+ gsub_file "config/database.yml", /myapp/, "#{app_name}" unless prefer :orm, 'mongoid'
25
+ gsub_file "config/database.yml", /root/, "#{app_name}" unless prefer :orm, 'mongoid'
26
26
 
27
27
  ## Template Engine
28
28
  if prefer :templates, 'haml'
data/templates/layout.erb CHANGED
@@ -75,7 +75,7 @@ end
75
75
  # >---------------------------------[ Diagnostics ]----------------------------------<
76
76
 
77
77
  # remove prefs which are diagnostically irrelevant
78
- redacted_prefs = prefs
78
+ redacted_prefs = prefs.clone
79
79
  redacted_prefs.delete(:git)
80
80
  redacted_prefs.delete(:dev_webserver)
81
81
  redacted_prefs.delete(:prod_webserver)
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "2.1.4"
2
+ VERSION = "2.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_apps_composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-13 00:00:00.000000000 Z
12
+ date: 2012-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
@@ -202,7 +202,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
202
202
  version: '0'
203
203
  segments:
204
204
  - 0
205
- hash: -1199947636570136496
205
+ hash: -4029375207027802136
206
206
  required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  none: false
208
208
  requirements:
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  version: '0'
212
212
  segments:
213
213
  - 0
214
- hash: -1199947636570136496
214
+ hash: -4029375207027802136
215
215
  requirements: []
216
216
  rubyforge_project: rails_apps_composer
217
217
  rubygems_version: 1.8.24