Skip to content

Commit f11529e

Browse files
committed
see CHANGELOG, bump version to 2.2.6
1 parent 08a1822 commit f11529e

File tree

5 files changed

+12
-1
lines changed

5 files changed

+12
-1
lines changed

CHANGELOG.textile

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
h1. CHANGELOG
22

3+
h2. 2.2.6 August 30, 2012
4+
5+
* fix 'prelaunch' recipe to correct application name in the routes.rb file
6+
37
h2. 2.2.5 August 29, 2012
48

59
* fix 'frontend' recipe to remove application.css after twitter-bootstrap-rails creates it

lib/rails_wizard/diagnostics.rb

+3
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ module Diagnostics
3131
# :ban_spiders
3232
# :jsruntime
3333
# :rvmrc
34+
# :prelaunch_branch
35+
# :main_branch
3436

3537
@@prefs = []
38+
@@prefs << {:railsapps=>"rails-prelaunch-signup", :database=>"sqlite", :unit_test=>"rspec", :integration=>"cucumber", :fixtures=>"factory_girl", :frontend=>"bootstrap", :bootstrap=>"sass", :email=>"mandrill", :authentication=>"devise", :devise_modules=>"confirmable", :authorization=>"cancan", :starter_app=>"admin_app", :form_builder=>"simple_form"}
3639
@@prefs << {:railsapps=>"rails3-bootstrap-devise-cancan", :database=>"sqlite", :unit_test=>"rspec", :integration=>"cucumber", :fixtures=>"factory_girl", :frontend=>"bootstrap", :bootstrap=>"sass", :email=>"gmail", :authentication=>"devise", :devise_modules=>"default", :authorization=>"cancan", :starter_app=>"admin_app", :form_builder=>"none"}
3740
@@prefs << {:railsapps=>"rails3-devise-rspec-cucumber", :database=>"sqlite", :unit_test=>"rspec", :integration=>"cucumber", :fixtures=>"factory_girl", :frontend=>"none", :email=>"gmail", :authentication=>"devise", :devise_modules=>"default", :authorization=>"none", :starter_app=>"users_app", :form_builder=>"none"}
3841
@@prefs << {:railsapps=>"rails3-mongoid-devise", :database=>'mongodb', :orm=>'mongoid', :templates=>'erb', :unit_test=>'rspec', :integration=>'cucumber', :fixtures=>'factory_girl', :frontend=>'none', :email=>'gmail', :authentication=>'devise', :devise_modules=>'default', :authorization=>'none', :starter_app=>'users_app', :form_builder=>'none'}

recipes/prelaunch.rb

+2
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@
9494
# >-------------------------------[ Routes ]--------------------------------<
9595

9696
copy_from_repo 'config/routes.rb', :repo => repo
97+
### CORRECT APPLICATION NAME ###
98+
gsub_file 'config/routes.rb', /^.*.routes.draw do/, "#{app_const}.routes.draw do"
9799

98100
# >-------------------------------[ Assets ]--------------------------------<
99101

templates/layout.erb

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ redacted_prefs.delete(:templates)
8383
redacted_prefs.delete(:ban_spiders)
8484
redacted_prefs.delete(:jsruntime)
8585
redacted_prefs.delete(:rvmrc)
86+
redacted_prefs.delete(:prelaunch_branch)
87+
redacted_prefs.delete(:main_branch)
8688

8789
if diagnostics_prefs.include? redacted_prefs
8890
diagnostics[:prefs] = 'success'

version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module RailsWizard
2-
VERSION = "2.2.5"
2+
VERSION = "2.2.6"
33
end

0 commit comments

Comments
 (0)