rails_apps_composer 2.2.23 → 2.2.24
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/lib/rails_wizard/diagnostics.rb +10 -9
- data/recipes/email.rb +0 -15
- data/recipes/extras.rb +2 -1
- data/recipes/gems.rb +2 -1
- data/recipes/init.rb +74 -56
- data/recipes/models.rb +0 -5
- data/recipes/prelaunch.rb +24 -19
- data/recipes/saas.rb +22 -26
- data/templates/layout.erb +9 -8
- data/version.rb +1 -1
- metadata +4 -4
@@ -26,19 +26,20 @@ module RailsWizard
|
|
26
26
|
### collections of preferences that are known to work together
|
27
27
|
|
28
28
|
# ignore these preferences (because they don't cause conflicts)
|
29
|
-
# :
|
29
|
+
# :ban_spiders
|
30
|
+
# :better_errors
|
30
31
|
# :dev_webserver
|
32
|
+
# :git
|
33
|
+
# :github
|
34
|
+
# :jsruntime
|
35
|
+
# :local_env_file
|
36
|
+
# :main_branch
|
37
|
+
# :prelaunch_branch
|
31
38
|
# :prod_webserver
|
32
|
-
# :templates
|
33
39
|
# :quiet_assets
|
34
|
-
# :better_errors
|
35
|
-
# :ban_spiders
|
36
|
-
# :jsruntime
|
37
40
|
# :rvmrc
|
38
|
-
# :
|
39
|
-
|
40
|
-
# :main_branch
|
41
|
-
|
41
|
+
# :templates
|
42
|
+
|
42
43
|
@@prefs = []
|
43
44
|
@@prefs << {:railsapps=>"rails-stripe-membership-saas", :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=>"simple_form"}
|
44
45
|
@@prefs << {:railsapps=>"rails-stripe-membership-saas", :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"}
|
data/recipes/email.rb
CHANGED
@@ -55,11 +55,6 @@ RUBY
|
|
55
55
|
TEXT
|
56
56
|
inject_into_file 'config/environments/development.rb', gmail_configuration_text, :after => 'config.action_mailer.default :charset => "utf-8"'
|
57
57
|
inject_into_file 'config/environments/production.rb', gmail_configuration_text, :after => 'config.action_mailer.default :charset => "utf-8"'
|
58
|
-
append_file 'config/application.yml' do <<-FILE
|
59
|
-
# GMAIL_USERNAME: Your_Username
|
60
|
-
# GMAIL_PASSWORD: Your_Password
|
61
|
-
FILE
|
62
|
-
end
|
63
58
|
end
|
64
59
|
### SENDGRID ACCOUNT
|
65
60
|
if prefer :email, 'sendgrid'
|
@@ -76,11 +71,6 @@ FILE
|
|
76
71
|
TEXT
|
77
72
|
inject_into_file 'config/environments/development.rb', sendgrid_configuration_text, :after => 'config.action_mailer.default :charset => "utf-8"'
|
78
73
|
inject_into_file 'config/environments/production.rb', sendgrid_configuration_text, :after => 'config.action_mailer.default :charset => "utf-8"'
|
79
|
-
append_file 'config/application.yml' do <<-FILE
|
80
|
-
# SENDGRID_USERNAME: Your_Username
|
81
|
-
# SENDGRID_PASSWORD: Your_Password
|
82
|
-
FILE
|
83
|
-
end
|
84
74
|
end
|
85
75
|
### MANDRILL ACCOUNT
|
86
76
|
if prefer :email, 'mandrill'
|
@@ -95,11 +85,6 @@ TEXT
|
|
95
85
|
TEXT
|
96
86
|
inject_into_file 'config/environments/development.rb', mandrill_configuration_text, :after => 'config.action_mailer.default :charset => "utf-8"'
|
97
87
|
inject_into_file 'config/environments/production.rb', mandrill_configuration_text, :after => 'config.action_mailer.default :charset => "utf-8"'
|
98
|
-
append_file 'config/application.yml' do <<-FILE
|
99
|
-
# MANDRILL_USERNAME: Your_Username
|
100
|
-
# MANDRILL_API_KEY: Your_API_Key
|
101
|
-
FILE
|
102
|
-
end
|
103
88
|
end
|
104
89
|
### GIT
|
105
90
|
git :add => '-A' if prefer :git, true
|
data/recipes/extras.rb
CHANGED
@@ -49,7 +49,8 @@ case RbConfig::CONFIG['host_os']
|
|
49
49
|
# was it already added for bootstrap-less?
|
50
50
|
unless prefer :bootstrap, 'less'
|
51
51
|
say_wizard "recipe adding 'therubyracer' JavaScript runtime gem"
|
52
|
-
gem '
|
52
|
+
gem 'libv8', '>= 3.11.8'
|
53
|
+
gem 'therubyracer', '>= 0.11.0', :group => :assets, :platform => :ruby, :require => 'v8'
|
53
54
|
end
|
54
55
|
end
|
55
56
|
end
|
data/recipes/gems.rb
CHANGED
@@ -82,7 +82,8 @@ if prefer :bootstrap, 'less'
|
|
82
82
|
gem 'less-rails', '>= 2.2.6', :group => :assets
|
83
83
|
gem 'twitter-bootstrap-rails', '>= 2.1.8', :group => :assets
|
84
84
|
# install gem 'therubyracer' to use Less
|
85
|
-
gem '
|
85
|
+
gem 'libv8', '>= 3.11.8'
|
86
|
+
gem 'therubyracer', '>= 0.11.0', :group => :assets, :platform => :ruby, :require => 'v8'
|
86
87
|
end
|
87
88
|
|
88
89
|
## Email
|
data/recipes/init.rb
CHANGED
@@ -3,75 +3,93 @@
|
|
3
3
|
|
4
4
|
after_everything do
|
5
5
|
say_wizard "recipe running after everything"
|
6
|
-
###
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
6
|
+
### CONFIGURATION FILE ###
|
7
|
+
## EMAIL
|
8
|
+
case prefs[:email]
|
9
|
+
when 'none'
|
10
|
+
credentials = ''
|
11
|
+
when 'smtp'
|
12
|
+
credentials = ''
|
13
|
+
when 'gmail'
|
14
|
+
credentials = "GMAIL_USERNAME: Your_Username\nGMAIL_PASSWORD: Your_Password\n"
|
15
|
+
when 'sendgrid'
|
16
|
+
credentials = "SENDGRID_USERNAME: Your_Username\nSENDGRID_PASSWORD: Your_Password\n"
|
17
|
+
when 'mandrill'
|
18
|
+
credentials = "MANDRILL_USERNAME: Your_Username\nMANDRILL_API_KEY: Your_API_Key\n"
|
19
|
+
end
|
20
|
+
append_file 'config/application.yml', credentials
|
21
|
+
## DEFAULT USER
|
22
|
+
append_file 'config/application.yml' do <<-FILE
|
23
|
+
ADMIN_NAME: First User
|
24
|
+
ADMIN_EMAIL: user@example.com
|
25
|
+
ADMIN_PASSWORD: please
|
17
26
|
FILE
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
{ :name => 'user' },
|
25
|
-
{ :name => 'VIP' }
|
26
|
-
])
|
27
|
+
end
|
28
|
+
## AUTHENTICATION
|
29
|
+
if prefer :authentication, 'omniauth'
|
30
|
+
append_file 'config/application.yml' do <<-FILE
|
31
|
+
OMNIAUTH_PROVIDER_KEY: Your_OmniAuth_Provider_Key
|
32
|
+
OMNIAUTH_PROVIDER_SECRET: Your_OmniAuth_Provider_Secret
|
27
33
|
FILE
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
34
|
+
end
|
35
|
+
end
|
36
|
+
## AUTHORIZATION
|
37
|
+
if (prefer :authorization, 'cancan')
|
38
|
+
append_file 'config/application.yml', "ROLES: [admin, user, VIP]\n"
|
39
|
+
end
|
40
|
+
### SUBDOMAINS ###
|
41
|
+
copy_from_repo 'config/application.yml', :repo => 'https://raw.github.com/RailsApps/rails3-subdomains/master/' if prefer :starter_app, 'subdomains_app'
|
42
|
+
### APPLICATION.EXAMPLE.YML ###
|
43
|
+
copy_file destination_root + '/config/application.yml', destination_root + '/config/application.example.yml'
|
44
|
+
### DATABASE SEED ###
|
45
|
+
append_file 'db/seeds.rb' do <<-FILE
|
46
|
+
# Environment variables (ENV['...']) are set in the file config/application.yml.
|
47
|
+
# See http://railsapps.github.com/rails-environment-variables.html
|
48
|
+
FILE
|
49
|
+
end
|
50
|
+
if (prefer :authorization, 'cancan')
|
51
|
+
unless prefer :orm, 'mongoid'
|
33
52
|
append_file 'db/seeds.rb' do <<-FILE
|
34
|
-
puts '
|
35
|
-
|
36
|
-
|
37
|
-
puts '
|
38
|
-
|
39
|
-
user2.confirm!
|
40
|
-
puts 'New user created: ' << user2.name
|
53
|
+
puts 'ROLES'
|
54
|
+
YAML.load(ENV['ROLES']).each do |role|
|
55
|
+
Role.find_or_create_by_name({ :name => role }, :without_protection => true)
|
56
|
+
puts 'role: ' << role
|
57
|
+
end
|
41
58
|
FILE
|
42
59
|
end
|
43
60
|
else
|
44
|
-
## DEVISE-DEFAULT
|
45
61
|
append_file 'db/seeds.rb' do <<-FILE
|
46
|
-
puts '
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
62
|
+
puts 'ROLES'
|
63
|
+
YAML.load(ENV['ROLES']).each do |role|
|
64
|
+
Role.mongo_session['roles'].insert({ :name => role })
|
65
|
+
puts 'role: ' << role
|
66
|
+
end
|
51
67
|
FILE
|
52
68
|
end
|
53
69
|
end
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
user.
|
61
|
-
user2.add_role :VIP
|
70
|
+
end
|
71
|
+
## DEVISE-DEFAULT
|
72
|
+
unless prefer :authentication, 'omniauth'
|
73
|
+
append_file 'db/seeds.rb' do <<-FILE
|
74
|
+
puts 'DEFAULT USERS'
|
75
|
+
user = User.find_or_create_by_name :name => ENV['ADMIN_NAME'].dup, :email => ENV['ADMIN_EMAIL'].dup, :password => ENV['ADMIN_PASSWORD'].dup, :password_confirmation => ENV['ADMIN_PASSWORD'].dup
|
76
|
+
puts 'user: ' << user.name
|
62
77
|
FILE
|
63
|
-
end
|
64
|
-
end
|
65
|
-
if prefer :railsapps, 'rails-prelaunch-signup'
|
66
|
-
gsub_file 'db/seeds.rb', /user2.add_role :VIP/, ''
|
67
78
|
end
|
68
|
-
## DEVISE-INVITABLE
|
69
|
-
if prefer :devise_modules, 'invitable'
|
70
|
-
run 'bundle exec rake db:migrate'
|
71
|
-
generate 'devise_invitable user'
|
72
|
-
end
|
73
79
|
end
|
74
|
-
|
80
|
+
## DEVISE-CONFIRMABLE
|
81
|
+
if (prefer :devise_modules, 'confirmable') || (prefer :devise_modules, 'invitable')
|
82
|
+
append_file 'db/seeds.rb', 'user.confirm!'
|
83
|
+
end
|
84
|
+
if (prefer :authorization, 'cancan') && !(prefer :authentication, 'omniauth')
|
85
|
+
append_file 'db/seeds.rb', 'user.add_role :admin'
|
86
|
+
end
|
87
|
+
## DEVISE-INVITABLE
|
88
|
+
if prefer :devise_modules, 'invitable'
|
89
|
+
run 'bundle exec rake db:migrate'
|
90
|
+
generate 'devise_invitable user'
|
91
|
+
end
|
92
|
+
### APPLY DATABASE SEED ###
|
75
93
|
unless prefer :orm, 'mongoid'
|
76
94
|
## ACTIVE_RECORD
|
77
95
|
say_wizard "applying migrations and seeding the database"
|
data/recipes/models.rb
CHANGED
@@ -53,11 +53,6 @@ RUBY
|
|
53
53
|
### OMNIAUTH ###
|
54
54
|
if prefer :authentication, 'omniauth'
|
55
55
|
repo = 'https://raw.github.com/RailsApps/rails3-mongoid-omniauth/master/'
|
56
|
-
append_file 'config/application.yml' do <<-FILE
|
57
|
-
# OMNIAUTH_PROVIDER_KEY: Your_OmniAuth_Provider_Key
|
58
|
-
# OMNIAUTH_PROVIDER_SECRET: Your_OmniAuth_Provider_Secret
|
59
|
-
FILE
|
60
|
-
end
|
61
56
|
copy_from_repo 'config/initializers/omniauth.rb', :repo => repo
|
62
57
|
gsub_file 'config/initializers/omniauth.rb', /twitter/, prefs[:omniauth_provider] unless prefer :omniauth_provider, 'twitter'
|
63
58
|
generate 'model User name:string email:string provider:string uid:string' unless prefer :orm, 'mongoid'
|
data/recipes/prelaunch.rb
CHANGED
@@ -40,31 +40,23 @@ if prefer :railsapps, 'rails-prelaunch-signup'
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
-
# >-------------------------------[ Cucumber ]--------------------------------<
|
44
|
-
say_wizard "copying Cucumber scenarios from the rails-prelaunch-signup examples"
|
45
|
-
copy_from_repo 'features/admin/send_invitations.feature', :repo => repo
|
46
|
-
copy_from_repo 'features/admin/view_progress.feature', :repo => repo
|
47
|
-
copy_from_repo 'features/visitors/request_invitation.feature', :repo => repo
|
48
|
-
copy_from_repo 'features/users/sign_in.feature', :repo => repo
|
49
|
-
copy_from_repo 'features/users/sign_up.feature', :repo => repo
|
50
|
-
copy_from_repo 'features/users/user_show.feature', :repo => repo
|
51
|
-
copy_from_repo 'features/step_definitions/admin_steps.rb', :repo => repo
|
52
|
-
copy_from_repo 'features/step_definitions/user_steps.rb', :repo => repo
|
53
|
-
copy_from_repo 'features/step_definitions/visitor_steps.rb', :repo => repo
|
54
|
-
copy_from_repo 'config/locales/devise.en.yml', :repo => repo
|
55
|
-
|
56
43
|
# >-------------------------------[ Migrations ]--------------------------------<
|
57
|
-
|
58
44
|
generate 'migration AddOptinToUsers opt_in:boolean'
|
59
45
|
run 'bundle exec rake db:drop'
|
60
46
|
run 'bundle exec rake db:migrate'
|
61
|
-
run 'bundle exec rake db:test:prepare'
|
62
|
-
run 'bundle exec rake db:seed'
|
63
47
|
|
64
48
|
# >-------------------------------[ Models ]--------------------------------<
|
65
49
|
|
66
50
|
copy_from_repo 'app/models/user.rb', :repo => repo
|
67
51
|
|
52
|
+
# >-------------------------------[ Init ]--------------------------------<
|
53
|
+
copy_from_repo 'config/application.yml', :repo => repo
|
54
|
+
remove_file 'config/application.example.yml'
|
55
|
+
copy_file destination_root + '/config/application.yml', destination_root + '/config/application.example.yml'
|
56
|
+
copy_from_repo 'db/seeds.rb', :repo => repo
|
57
|
+
run 'bundle exec rake db:seed'
|
58
|
+
run 'bundle exec rake db:test:prepare'
|
59
|
+
|
68
60
|
# >-------------------------------[ Controllers ]--------------------------------<
|
69
61
|
|
70
62
|
copy_from_repo 'app/controllers/confirmations_controller.rb', :repo => repo
|
@@ -93,17 +85,30 @@ if prefer :railsapps, 'rails-prelaunch-signup'
|
|
93
85
|
copy_from_repo 'public/thankyou.html', :repo => repo
|
94
86
|
|
95
87
|
# >-------------------------------[ Routes ]--------------------------------<
|
96
|
-
|
88
|
+
|
97
89
|
copy_from_repo 'config/routes.rb', :repo => repo
|
98
90
|
### CORRECT APPLICATION NAME ###
|
99
91
|
gsub_file 'config/routes.rb', /^.*.routes.draw do/, "#{app_const}.routes.draw do"
|
100
92
|
|
101
93
|
# >-------------------------------[ Assets ]--------------------------------<
|
102
|
-
|
94
|
+
|
103
95
|
copy_from_repo 'app/assets/javascripts/application.js', :repo => repo
|
104
96
|
copy_from_repo 'app/assets/javascripts/users.js.coffee', :repo => repo
|
105
97
|
copy_from_repo 'app/assets/stylesheets/application.css.scss', :repo => repo
|
106
|
-
|
98
|
+
|
99
|
+
# >-------------------------------[ Cucumber ]--------------------------------<
|
100
|
+
say_wizard "copying Cucumber scenarios from the rails-prelaunch-signup examples"
|
101
|
+
copy_from_repo 'features/admin/send_invitations.feature', :repo => repo
|
102
|
+
copy_from_repo 'features/admin/view_progress.feature', :repo => repo
|
103
|
+
copy_from_repo 'features/visitors/request_invitation.feature', :repo => repo
|
104
|
+
copy_from_repo 'features/users/sign_in.feature', :repo => repo
|
105
|
+
copy_from_repo 'features/users/sign_up.feature', :repo => repo
|
106
|
+
copy_from_repo 'features/users/user_show.feature', :repo => repo
|
107
|
+
copy_from_repo 'features/step_definitions/admin_steps.rb', :repo => repo
|
108
|
+
copy_from_repo 'features/step_definitions/user_steps.rb', :repo => repo
|
109
|
+
copy_from_repo 'features/step_definitions/visitor_steps.rb', :repo => repo
|
110
|
+
copy_from_repo 'config/locales/devise.en.yml', :repo => repo
|
111
|
+
|
107
112
|
### GIT ###
|
108
113
|
git :add => '-A' if prefer :git, true
|
109
114
|
git :commit => '-qm "rails_apps_composer: prelaunch app"' if prefer :git, true
|
data/recipes/saas.rb
CHANGED
@@ -24,33 +24,23 @@ if prefer :railsapps, 'rails-stripe-membership-saas'
|
|
24
24
|
git :add => '-A' if prefer :git, true
|
25
25
|
git :commit => '-qm "rails_apps_composer: clean up starter app"' if prefer :git, true
|
26
26
|
|
27
|
-
# >-------------------------------[
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
copy_from_repo 'features/users/sign_up.feature', :repo => repo
|
33
|
-
copy_from_repo 'features/users/sign_up_with_stripe.feature', :repo => repo
|
34
|
-
copy_from_repo 'features/users/user_edit.feature', :repo => repo
|
35
|
-
copy_from_repo 'features/users/user_delete.feature', :repo => repo
|
36
|
-
copy_from_repo 'features/step_definitions/user_steps.rb', :repo => repo
|
37
|
-
copy_from_repo 'features/step_definitions/form_helper_steps.rb', :repo => repo
|
38
|
-
copy_from_repo 'config/locales/devise.en.yml', :repo => repo
|
39
|
-
|
27
|
+
# >-------------------------------[ Migrations ]--------------------------------<
|
28
|
+
generate 'migration AddStripeToUsers customer_id:string last_4_digits:string'
|
29
|
+
run 'bundle exec rake db:drop'
|
30
|
+
run 'bundle exec rake db:migrate'
|
31
|
+
|
40
32
|
# >-------------------------------[ Models ]--------------------------------<
|
41
33
|
copy_from_repo 'app/models/ability.rb', :repo => repo
|
42
34
|
copy_from_repo 'app/models/user.rb', :repo => repo
|
43
35
|
|
44
36
|
# >-------------------------------[ Init ]--------------------------------<
|
37
|
+
copy_from_repo 'config/application.yml', :repo => repo
|
38
|
+
remove_file 'config/application.example.yml'
|
39
|
+
copy_file destination_root + '/config/application.yml', destination_root + '/config/application.example.yml'
|
45
40
|
copy_from_repo 'db/seeds.rb', :repo => repo
|
46
41
|
copy_from_repo 'config/initializers/stripe.rb', :repo => repo
|
47
|
-
|
48
|
-
# >-------------------------------[ Migrations ]--------------------------------<
|
49
|
-
generate 'migration AddStripeToUsers customer_id:string last_4_digits:string'
|
50
|
-
run 'bundle exec rake db:drop'
|
51
|
-
run 'bundle exec rake db:migrate'
|
52
|
-
run 'bundle exec rake db:test:prepare'
|
53
42
|
run 'bundle exec rake db:seed'
|
43
|
+
run 'bundle exec rake db:test:prepare'
|
54
44
|
|
55
45
|
# >-------------------------------[ Controllers ]--------------------------------<
|
56
46
|
copy_from_repo 'app/controllers/home_controller.rb', :repo => repo
|
@@ -93,13 +83,19 @@ if prefer :railsapps, 'rails-stripe-membership-saas'
|
|
93
83
|
copy_from_repo 'spec/mailers/user_mailer_spec.rb', :repo => repo
|
94
84
|
copy_from_repo 'spec/stripe/stripe_config_spec.rb', :repo => repo
|
95
85
|
|
96
|
-
# >-------------------------------[
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
86
|
+
# >-------------------------------[ Cucumber ]--------------------------------<
|
87
|
+
say_wizard "copying Cucumber scenarios from the rails-stripe-membership-saas examples"
|
88
|
+
remove_file 'features/users/user_show.feature'
|
89
|
+
copy_from_repo 'features/support/paths.rb', :repo => repo
|
90
|
+
copy_from_repo 'features/users/sign_in.feature', :repo => repo
|
91
|
+
copy_from_repo 'features/users/sign_up.feature', :repo => repo
|
92
|
+
copy_from_repo 'features/users/sign_up_with_stripe.feature', :repo => repo
|
93
|
+
copy_from_repo 'features/users/user_edit.feature', :repo => repo
|
94
|
+
copy_from_repo 'features/users/user_delete.feature', :repo => repo
|
95
|
+
copy_from_repo 'features/step_definitions/user_steps.rb', :repo => repo
|
96
|
+
copy_from_repo 'features/step_definitions/form_helper_steps.rb', :repo => repo
|
97
|
+
copy_from_repo 'config/locales/devise.en.yml', :repo => repo
|
98
|
+
|
103
99
|
### GIT ###
|
104
100
|
git :add => '-A' if prefer :git, true
|
105
101
|
git :commit => '-qm "rails_apps_composer: membership app"' if prefer :git, true
|
data/templates/layout.erb
CHANGED
@@ -81,18 +81,19 @@ end
|
|
81
81
|
|
82
82
|
# remove prefs which are diagnostically irrelevant
|
83
83
|
redacted_prefs = prefs.clone
|
84
|
-
redacted_prefs.delete(:
|
84
|
+
redacted_prefs.delete(:ban_spiders)
|
85
|
+
redacted_prefs.delete(:better_errors)
|
85
86
|
redacted_prefs.delete(:dev_webserver)
|
87
|
+
redacted_prefs.delete(:git)
|
88
|
+
redacted_prefs.delete(:github)
|
89
|
+
redacted_prefs.delete(:jsruntime)
|
90
|
+
redacted_prefs.delete(:local_env_file)
|
91
|
+
redacted_prefs.delete(:main_branch)
|
92
|
+
redacted_prefs.delete(:prelaunch_branch)
|
86
93
|
redacted_prefs.delete(:prod_webserver)
|
87
|
-
redacted_prefs.delete(:templates)
|
88
94
|
redacted_prefs.delete(:quiet_assets)
|
89
|
-
redacted_prefs.delete(:better_errors)
|
90
|
-
redacted_prefs.delete(:ban_spiders)
|
91
|
-
redacted_prefs.delete(:jsruntime)
|
92
95
|
redacted_prefs.delete(:rvmrc)
|
93
|
-
redacted_prefs.delete(:
|
94
|
-
redacted_prefs.delete(:prelaunch_branch)
|
95
|
-
redacted_prefs.delete(:main_branch)
|
96
|
+
redacted_prefs.delete(:templates)
|
96
97
|
|
97
98
|
if diagnostics_prefs.include? redacted_prefs
|
98
99
|
diagnostics[:prefs] = 'success'
|
data/version.rb
CHANGED
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.
|
4
|
+
version: 2.2.24
|
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-12-
|
12
|
+
date: 2012-12-16 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:
|
205
|
+
hash: 4381412894588187424
|
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:
|
214
|
+
hash: 4381412894588187424
|
215
215
|
requirements: []
|
216
216
|
rubyforge_project: rails_apps_composer
|
217
217
|
rubygems_version: 1.8.24
|