rails_apps_composer 2.2.5 → 2.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,8 +31,11 @@ module RailsWizard
31
31
  # :ban_spiders
32
32
  # :jsruntime
33
33
  # :rvmrc
34
+ # :prelaunch_branch
35
+ # :main_branch
34
36
 
35
37
  @@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"}
36
39
  @@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"}
37
40
  @@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"}
38
41
  @@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'}
data/recipes/prelaunch.rb CHANGED
@@ -94,6 +94,8 @@ if prefer :railsapps, 'rails-prelaunch-signup'
94
94
  # >-------------------------------[ Routes ]--------------------------------<
95
95
 
96
96
  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"
97
99
 
98
100
  # >-------------------------------[ Assets ]--------------------------------<
99
101
 
data/templates/layout.erb CHANGED
@@ -83,6 +83,8 @@ redacted_prefs.delete(:templates)
83
83
  redacted_prefs.delete(:ban_spiders)
84
84
  redacted_prefs.delete(:jsruntime)
85
85
  redacted_prefs.delete(:rvmrc)
86
+ redacted_prefs.delete(:prelaunch_branch)
87
+ redacted_prefs.delete(:main_branch)
86
88
 
87
89
  if diagnostics_prefs.include? redacted_prefs
88
90
  diagnostics[:prefs] = 'success'
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "2.2.5"
2
+ VERSION = "2.2.6"
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.5
4
+ version: 2.2.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -201,7 +201,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
201
201
  version: '0'
202
202
  segments:
203
203
  - 0
204
- hash: 4183328793162345601
204
+ hash: -2996887239101560285
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: 4183328793162345601
213
+ hash: -2996887239101560285
214
214
  requirements: []
215
215
  rubyforge_project: rails_apps_composer
216
216
  rubygems_version: 1.8.24