Sha256: 952999cce2ba822cf73b7e798a0c18c3a54587a0e9cedd0aedd85519a941169a
Contents?: true
Size: 725 Bytes
Versions: 5
Compression:
Stored size: 725 Bytes
Contents
require 'haml' require 'omniauth' require 'simple_form' module Socialite class Engine < ::Rails::Engine isolate_namespace Socialite config.generators do |g| g.test_framework :rspec, :fixture => false g.integration_tool :rspec g.fixture_replacement :factory_girl, :dir => 'spec/factories' g.assets false g.helper false end initializer 'socialite.load_middleware' do |app| app.middleware.use OmniAuth::Builder do Socialite.providers.each do |provider_info| provider(provider_info.first, *provider_info.last) end end end ActiveSupport.on_load(:action_controller) do include Socialite::Controllers::Helpers end end end
Version data entries
5 entries across 5 versions & 1 rubygems