Sha256: d64a169b20e6c7abcac4f481dd6d67308ac2d34b0144e45652242d04f350f86d

Contents?: true

Size: 695 Bytes

Versions: 2

Compression:

Stored size: 695 Bytes

Contents

unless defined?(Devise)
  require 'devise'
end

require 'devise_capturable/model'
require 'devise_capturable/strategy'
Warden::Strategies.add(:capturable, Devise::Capturable::Strategies::Capturable)
require 'devise_capturable/view_helpers'

module Devise
	mattr_accessor :capturable_server
	mattr_accessor :capturable_client_id
	mattr_accessor :capturable_client_secret
end

I18n.load_path.unshift File.join(File.dirname(__FILE__), *%w[devise_capturable locales en.yml])
Devise.add_module(:capturable, :strategy => true, :controller => :sessions, :model => 'devise_capturable/model')

module Devise
	module Capturable
  	module Rails
  	  class Engine < ::Rails::Engine
  	  end
  	end
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise_capturable-0.0.7 lib/devise_capturable.rb
devise_capturable-0.0.6 lib/devise_capturable.rb