Sha256: 3a4c679ca0824bf2b877842f873b6bf180a9f5929ca47210c4f218e2aa13ad50

Contents?: true

Size: 1.12 KB

Versions: 4

Compression:

Stored size: 1.12 KB

Contents

# Application template recipe for the rails_apps_composer. Change the recipe here:
# https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/rails_omniauth.rb

if prefer :apps4, 'rails-omniauth'

  prefs[:authentication] = 'omniauth'
  prefs[:authorization] = 'none'
  prefs[:better_errors] = true
  prefs[:deployment] = 'none'
  prefs[:email] = 'none'
  prefs[:git] = true
  prefs[:local_env_file] = false
  prefs[:pry] = false
  prefs[:quiet_assets] = true
  prefs[:starter_app] = false
  add_gem 'high_voltage'

  after_everything do
    generate 'pages:users -f'
    generate 'pages:about -f'
    generate 'layout:navigation -f'
    repo = 'https://raw.github.com/RailsApps/rails-omniauth/master/'

    # >-------------------------------[ Models ]--------------------------------<

    copy_from_repo 'app/models/user.rb', :repo => repo

    # >-------------------------------[ Routes ]--------------------------------<

    copy_from_repo 'config/routes.rb', :repo => repo

  end
end

__END__

name: rails_omniauth
description: "rails-omniauth starter application"
author: RailsApps

requires: [core]
run_after: [git]
category: apps

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_apps_composer-2.6.13 recipes/rails_omniauth.rb
rails_apps_composer-2.6.12 recipes/rails_omniauth.rb
rails_apps_composer-2.6.11 recipes/rails_omniauth.rb
rails_apps_composer-2.6.10 recipes/rails_omniauth.rb