Sha256: 7fc6b6cb63bf852edc761aad3a7658921584fe78555eaba6c8cc276da2dc0de6
Contents?: true
Size: 1.19 KB
Versions: 2
Compression:
Stored size: 1.19 KB
Contents
set :app_name, @app_name set :titleized_app_name, get(:app_name).titleize set :underscorized_app_name, get(:app_name).underscore default_env({ 'DB_NAME' => "#{get(:underscorized_app_name)}", 'DB_USER' => "root", 'DB_PASSWORD' => '' }) run_action(:cleaning) do clean_gemfile gather_gem('spring') end run_action(:asking) do eval_file "recipes/asks/database.rb" eval_file "recipes/asks/devise.rb" eval_file "recipes/asks/admin.rb" eval_file "recipes/asks/pundit.rb" end run_action(:recipe_loading) do eval_file "recipes/database.rb" eval_file "recipes/readme.rb" eval_file "recipes/rbenv.rb" eval_file "recipes/bower.rb" eval_file "recipes/editorconfig.rb" eval_file "recipes/i18n.rb" eval_file "recipes/pry.rb" eval_file "recipes/devise.rb" eval_file "recipes/admin.rb" eval_file "recipes/pundit.rb" eval_file "recipes/testing.rb" eval_file "recipes/production.rb" eval_file "recipes/git.rb" end say "Gathered enough information. Applying the template. Wait a minute.", :green run_action(:gem_install) do build_gemfile run "bundle install" end run_action(:database_creation) do run "rake db:create db:migrate" run "RAILS_ENV=test rake db:create db:migrate" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
potassium-1.0.1 | lib/potassium/templates/application/template.rb |
potassium-1.0.0 | lib/potassium/templates/application/template.rb |