rails_apps_composer 2.2.8 → 2.2.9

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/recipes/extras.rb CHANGED
@@ -51,8 +51,8 @@ if prefs[:rvmrc]
51
51
  say_wizard "switching to gemset '#{app_name}'"
52
52
  begin
53
53
  RVM.gemset_use! app_name
54
- rescue StandardError
55
- raise "rvm failure: unable to use gemset #{app_name}"
54
+ rescue StandardError => e
55
+ raise "rvm failure: unable to use gemset #{app_name}, reason: #{e}"
56
56
  end
57
57
  run "rvm gemset list"
58
58
  copy_from_repo '.rvmrc'
data/recipes/gems.rb CHANGED
@@ -130,8 +130,8 @@ after_bundler do
130
130
  gsub_file "config/database.yml", /database: myapp_development/, "database: #{app_name}_development"
131
131
  gsub_file "config/database.yml", /database: myapp_test/, "database: #{app_name}_test"
132
132
  gsub_file "config/database.yml", /database: myapp_production/, "database: #{app_name}_production"
133
- rescue StandardError
134
- raise "unable to create a user for PostgreSQL"
133
+ rescue StandardError => e
134
+ raise "unable to create a user for PostgreSQL, reason: #{e}"
135
135
  end
136
136
  end
137
137
  if prefer :database, 'mysql'
data/templates/layout.erb CHANGED
@@ -9,8 +9,13 @@
9
9
  # | | | |
10
10
  # |_| |_|
11
11
  #
12
- # Template generated by rails_apps_composer. For more information, see:
12
+ # Application template generated by the rails_apps_composer gem.
13
+ # Restrain your impulse to make changes to this file; instead,
14
+ # make changes to the recipes in the rails_apps_composer gem.
15
+ #
16
+ # For more information, see:
13
17
  # https://github.com/RailsApps/rails_apps_composer/
18
+ #
14
19
  # Thank you to Michael Bleigh for leading the way with the RailsWizard gem.
15
20
  #
16
21
  # >---------------------------------------------------------------------------<
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "2.2.8"
2
+ VERSION = "2.2.9"
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.2.8
4
+ version: 2.2.9
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-09-07 00:00:00.000000000 Z
12
+ date: 2012-09-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
@@ -201,7 +201,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
201
201
  version: '0'
202
202
  segments:
203
203
  - 0
204
- hash: -611638150947370728
204
+ hash: 3794249388444392560
205
205
  required_rubygems_version: !ruby/object:Gem::Requirement
206
206
  none: false
207
207
  requirements:
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  version: '0'
211
211
  segments:
212
212
  - 0
213
- hash: -611638150947370728
213
+ hash: 3794249388444392560
214
214
  requirements: []
215
215
  rubyforge_project: rails_apps_composer
216
216
  rubygems_version: 1.8.24