rails_apps_composer 2.1.3 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.textile CHANGED
@@ -99,9 +99,9 @@ You can list recipes with short descriptions:
99
99
  <pre>
100
100
  $ rails_apps_composer list
101
101
 
102
- all # Select all available recipes.
103
102
  auth # Add authentication and authorization.
104
103
  controllers # Add controllers needed for starter apps.
104
+ core # Select all core recipes.
105
105
  email # Configure email accounts.
106
106
  example # Example of a recipe.
107
107
  extras # Various extras.
@@ -167,8 +167,8 @@ Would you like to skip Test::Unit? (yes for RSpec) (y/n)
167
167
  Would you like to skip Active Record? (yes for MongoDB) (y/n)
168
168
 
169
169
  Available Recipes:
170
- all: all
171
170
  auth: auth
171
+ collections: core
172
172
  configuration: email, gems, git, railsapps, readme, setup
173
173
  example: example
174
174
  frontend: frontend
@@ -190,10 +190,10 @@ You can specify any gem. Any string you enter will be added as a gem in the star
190
190
 
191
191
  h3. Generate an Application from a List of Recipes
192
192
 
193
- Provide a list of recipes using the @-r@ flag. The "all" recipe selects all available recipes:
193
+ Provide a list of recipes using the @-r@ flag. The "core" recipe selects all available core recipes:
194
194
 
195
195
  <pre>
196
- $ rails_apps_composer new myapp -r all
196
+ $ rails_apps_composer new myapp -r core
197
197
 
198
198
  Would you like to skip Test::Unit? (yes for RSpec) (y/n)
199
199
  Would you like to skip Active Record? (yes for MongoDB) (y/n)
@@ -225,8 +225,8 @@ Specify a filename for the template:
225
225
  $ rails_apps_composer template ~/Desktop/template.rb
226
226
 
227
227
  Available Recipes:
228
- all: all
229
228
  auth: auth
229
+ collections: core
230
230
  configuration: email, gems, git, railsapps, readme, setup
231
231
  example: example
232
232
  frontend: frontend
@@ -1,14 +1,14 @@
1
1
  # Application template recipe for the rails_apps_composer. Change the recipe here:
2
- # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/all.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/core.rb
3
3
 
4
4
  ## Git
5
- say_wizard "selected all recipes"
5
+ say_wizard "selected all core recipes"
6
6
 
7
7
  __END__
8
8
 
9
- name: all
10
- description: "Select all available recipes."
9
+ name: core
10
+ description: "Select all core recipes."
11
11
  author: RailsApps
12
12
 
13
13
  requires: [git, railsapps, setup, readme, gems, testing, auth, email, models, controllers, views, routes, frontend, init, extras]
14
- category: all
14
+ category: collections
data/recipes/gems.rb CHANGED
@@ -21,6 +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
26
 
25
27
  ## Template Engine
26
28
  if prefer :templates, 'haml'
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "2.1.3"
2
+ VERSION = "2.1.4"
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.3
4
+ version: 2.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -155,9 +155,9 @@ files:
155
155
  - lib/rails_wizard/recipes.rb
156
156
  - lib/rails_wizard/template.rb
157
157
  - lib/rails_wizard.rb
158
- - recipes/all.rb
159
158
  - recipes/auth.rb
160
159
  - recipes/controllers.rb
160
+ - recipes/core.rb
161
161
  - recipes/email.rb
162
162
  - recipes/example.rb
163
163
  - recipes/extras.rb
@@ -202,7 +202,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
202
202
  version: '0'
203
203
  segments:
204
204
  - 0
205
- hash: -1918959604150442453
205
+ hash: -1199947636570136496
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: -1918959604150442453
214
+ hash: -1199947636570136496
215
215
  requirements: []
216
216
  rubyforge_project: rails_apps_composer
217
217
  rubygems_version: 1.8.24