devise_omniauth 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +58 -0
- data/Rakefile +40 -0
- data/app/assets/javascripts/devise_omniauth/application.js +15 -0
- data/app/assets/stylesheets/devise_omniauth/application.css +13 -0
- data/app/controllers/devise_omniauth/application_controller.rb +4 -0
- data/app/controllers/devise_omniauth/confirmations_controller.rb +4 -0
- data/app/controllers/devise_omniauth/passwords_controller.rb +4 -0
- data/app/controllers/devise_omniauth/registrations_controller.rb +4 -0
- data/app/controllers/devise_omniauth/sessions_controller.rb +4 -0
- data/app/controllers/devise_omniauth/unlocks_controller.rb +4 -0
- data/app/controllers/devise_omniauth/users/omniauth_callbacks_controller.rb +17 -0
- data/app/helpers/devise_omniauth/application_helper.rb +4 -0
- data/app/models/devise_omniauth/authentication.rb +34 -0
- data/app/models/user.rb +19 -0
- data/app/views/layouts/devise_omniauth/application.html.erb +14 -0
- data/config/initializers/devise.rb +5 -0
- data/config/routes.rb +7 -0
- data/db/migrate/20120626001219_devise_create_users.rb +49 -0
- data/db/migrate/20120701141457_create_devise_omniauth_authentications.rb +13 -0
- data/lib/devise_omniauth.rb +5 -0
- data/lib/devise_omniauth/engine.rb +5 -0
- data/lib/devise_omniauth/version.rb +3 -0
- data/lib/generators/devise_omniauth/USAGE +13 -0
- data/lib/generators/devise_omniauth/install_generator.rb +35 -0
- data/lib/generators/devise_omniauth/templates/README +10 -0
- data/lib/generators/devise_omniauth/templates/config/initializers/devise.rb +235 -0
- data/lib/generators/devise_omniauth/templates/config/locales/en.yml +58 -0
- data/lib/generators/devise_omniauth/templates/views/devise/confirmations/new.html.erb +12 -0
- data/lib/generators/devise_omniauth/templates/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/lib/generators/devise_omniauth/templates/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/lib/generators/devise_omniauth/templates/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/lib/generators/devise_omniauth/templates/views/devise/passwords/edit.html.erb +16 -0
- data/lib/generators/devise_omniauth/templates/views/devise/passwords/new.html.erb +12 -0
- data/lib/generators/devise_omniauth/templates/views/devise/registrations/edit.html.erb +25 -0
- data/lib/generators/devise_omniauth/templates/views/devise/registrations/new.html.erb +18 -0
- data/lib/generators/devise_omniauth/templates/views/devise/sessions/new.html.erb +17 -0
- data/lib/generators/devise_omniauth/templates/views/devise/shared/_links.erb +25 -0
- data/lib/generators/devise_omniauth/templates/views/devise/unlocks/new.html.erb +12 -0
- data/lib/tasks/devise_omniauth_tasks.rake +4 -0
- data/test/devise_omniauth_test.rb +7 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +55 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/fixtures/devise_omniauth/authentications.yml +11 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +15 -0
- data/test/unit/devise_omniauth/authentication_test.rb +9 -0
- metadata +203 -0
@@ -0,0 +1,37 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# In the development environment your application's code is reloaded on
|
5
|
+
# every request. This slows down response time but is perfect for development
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
7
|
+
config.cache_classes = false
|
8
|
+
|
9
|
+
# Log error messages when you accidentally call methods on nil.
|
10
|
+
config.whiny_nils = true
|
11
|
+
|
12
|
+
# Show full error reports and disable caching
|
13
|
+
config.consider_all_requests_local = true
|
14
|
+
config.action_controller.perform_caching = false
|
15
|
+
|
16
|
+
# Don't care if the mailer can't send
|
17
|
+
config.action_mailer.raise_delivery_errors = false
|
18
|
+
|
19
|
+
# Print deprecation notices to the Rails logger
|
20
|
+
config.active_support.deprecation = :log
|
21
|
+
|
22
|
+
# Only use best-standards-support built into browsers
|
23
|
+
config.action_dispatch.best_standards_support = :builtin
|
24
|
+
|
25
|
+
# Raise exception on mass assignment protection for Active Record models
|
26
|
+
config.active_record.mass_assignment_sanitizer = :strict
|
27
|
+
|
28
|
+
# Log the query plan for queries taking more than this (works
|
29
|
+
# with SQLite, MySQL, and PostgreSQL)
|
30
|
+
config.active_record.auto_explain_threshold_in_seconds = 0.5
|
31
|
+
|
32
|
+
# Do not compress assets
|
33
|
+
config.assets.compress = false
|
34
|
+
|
35
|
+
# Expands the lines which load the assets
|
36
|
+
config.assets.debug = true
|
37
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# Code is not reloaded between requests
|
5
|
+
config.cache_classes = true
|
6
|
+
|
7
|
+
# Full error reports are disabled and caching is turned on
|
8
|
+
config.consider_all_requests_local = false
|
9
|
+
config.action_controller.perform_caching = true
|
10
|
+
|
11
|
+
# Disable Rails's static asset server (Apache or nginx will already do this)
|
12
|
+
config.serve_static_assets = false
|
13
|
+
|
14
|
+
# Compress JavaScripts and CSS
|
15
|
+
config.assets.compress = true
|
16
|
+
|
17
|
+
# Don't fallback to assets pipeline if a precompiled asset is missed
|
18
|
+
config.assets.compile = false
|
19
|
+
|
20
|
+
# Generate digests for assets URLs
|
21
|
+
config.assets.digest = true
|
22
|
+
|
23
|
+
# Defaults to nil and saved in location specified by config.assets.prefix
|
24
|
+
# config.assets.manifest = YOUR_PATH
|
25
|
+
|
26
|
+
# Specifies the header that your server uses for sending files
|
27
|
+
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
28
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
29
|
+
|
30
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
31
|
+
# config.force_ssl = true
|
32
|
+
|
33
|
+
# See everything in the log (default is :info)
|
34
|
+
# config.log_level = :debug
|
35
|
+
|
36
|
+
# Prepend all log lines with the following tags
|
37
|
+
# config.log_tags = [ :subdomain, :uuid ]
|
38
|
+
|
39
|
+
# Use a different logger for distributed setups
|
40
|
+
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
41
|
+
|
42
|
+
# Use a different cache store in production
|
43
|
+
# config.cache_store = :mem_cache_store
|
44
|
+
|
45
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server
|
46
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
47
|
+
|
48
|
+
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
49
|
+
# config.assets.precompile += %w( search.js )
|
50
|
+
|
51
|
+
# Disable delivery errors, bad email addresses will be ignored
|
52
|
+
# config.action_mailer.raise_delivery_errors = false
|
53
|
+
|
54
|
+
# Enable threaded mode
|
55
|
+
# config.threadsafe!
|
56
|
+
|
57
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
58
|
+
# the I18n.default_locale when a translation can not be found)
|
59
|
+
config.i18n.fallbacks = true
|
60
|
+
|
61
|
+
# Send deprecation notices to registered listeners
|
62
|
+
config.active_support.deprecation = :notify
|
63
|
+
|
64
|
+
# Log the query plan for queries taking more than this (works
|
65
|
+
# with SQLite, MySQL, and PostgreSQL)
|
66
|
+
# config.active_record.auto_explain_threshold_in_seconds = 0.5
|
67
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Configure static asset server for tests with Cache-Control for performance
|
11
|
+
config.serve_static_assets = true
|
12
|
+
config.static_cache_control = "public, max-age=3600"
|
13
|
+
|
14
|
+
# Log error messages when you accidentally call methods on nil
|
15
|
+
config.whiny_nils = true
|
16
|
+
|
17
|
+
# Show full error reports and disable caching
|
18
|
+
config.consider_all_requests_local = true
|
19
|
+
config.action_controller.perform_caching = false
|
20
|
+
|
21
|
+
# Raise exceptions instead of rendering exception templates
|
22
|
+
config.action_dispatch.show_exceptions = false
|
23
|
+
|
24
|
+
# Disable request forgery protection in test environment
|
25
|
+
config.action_controller.allow_forgery_protection = false
|
26
|
+
|
27
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
28
|
+
# The :test delivery method accumulates sent emails in the
|
29
|
+
# ActionMailer::Base.deliveries array.
|
30
|
+
config.action_mailer.delivery_method = :test
|
31
|
+
|
32
|
+
# Raise exception on mass assignment protection for Active Record models
|
33
|
+
config.active_record.mass_assignment_sanitizer = :strict
|
34
|
+
|
35
|
+
# Print deprecation notices to the stderr
|
36
|
+
config.active_support.deprecation = :stderr
|
37
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format
|
4
|
+
# (all these examples are active by default):
|
5
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
6
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
7
|
+
# inflect.singular /^(ox)en/i, '\1'
|
8
|
+
# inflect.irregular 'person', 'people'
|
9
|
+
# inflect.uncountable %w( fish sheep )
|
10
|
+
# end
|
11
|
+
#
|
12
|
+
# These inflection rules are supported but not enabled by default:
|
13
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
14
|
+
# inflect.acronym 'RESTful'
|
15
|
+
# end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
6
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
+
Dummy::Application.config.secret_token = '9315aa5b62f0167a00619f3f43fd30dafc6e3f9f47c615d7ac9bad83e5abb8da95e87738957140b6e7ce391e5e1ed8059b6d3dc82d6524131d07c59023e54db0'
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
|
4
|
+
|
5
|
+
# Use the database for sessions instead of the cookie-based default,
|
6
|
+
# which shouldn't be used to store highly confidential information
|
7
|
+
# (create the session table with "rails generate session_migration")
|
8
|
+
# Dummy::Application.config.session_store :active_record_store
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# Disable root element in JSON by default.
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
13
|
+
self.include_root_in_json = false
|
14
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
</div>
|
24
|
+
</body>
|
25
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
8
|
+
|
9
|
+
# Load support files
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
11
|
+
|
12
|
+
# Load fixtures from the engine
|
13
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
14
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
15
|
+
end
|
metadata
ADDED
@@ -0,0 +1,203 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: devise_omniauth
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Jonathan Dean
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-07-12 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: &70143883766660 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.2.6
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70143883766660
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: devise
|
27
|
+
requirement: &70143883707020 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 2.1.2
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70143883707020
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: omniauth-facebook
|
38
|
+
requirement: &70143883704680 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.4.0
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70143883704680
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: pg
|
49
|
+
requirement: &70143883702400 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70143883702400
|
58
|
+
description: Reusable Omniauth integration for Devise supporting multiple providers.
|
59
|
+
Essentially takes the how-to setup in the devise wiki for facebook and other providers
|
60
|
+
and gives you code in your application to get started with.
|
61
|
+
email:
|
62
|
+
- jon@jonathandean.com
|
63
|
+
executables: []
|
64
|
+
extensions: []
|
65
|
+
extra_rdoc_files: []
|
66
|
+
files:
|
67
|
+
- app/assets/javascripts/devise_omniauth/application.js
|
68
|
+
- app/assets/stylesheets/devise_omniauth/application.css
|
69
|
+
- app/controllers/devise_omniauth/application_controller.rb
|
70
|
+
- app/controllers/devise_omniauth/confirmations_controller.rb
|
71
|
+
- app/controllers/devise_omniauth/passwords_controller.rb
|
72
|
+
- app/controllers/devise_omniauth/registrations_controller.rb
|
73
|
+
- app/controllers/devise_omniauth/sessions_controller.rb
|
74
|
+
- app/controllers/devise_omniauth/unlocks_controller.rb
|
75
|
+
- app/controllers/devise_omniauth/users/omniauth_callbacks_controller.rb
|
76
|
+
- app/helpers/devise_omniauth/application_helper.rb
|
77
|
+
- app/models/devise_omniauth/authentication.rb
|
78
|
+
- app/models/user.rb
|
79
|
+
- app/views/layouts/devise_omniauth/application.html.erb
|
80
|
+
- config/initializers/devise.rb
|
81
|
+
- config/routes.rb
|
82
|
+
- db/migrate/20120626001219_devise_create_users.rb
|
83
|
+
- db/migrate/20120701141457_create_devise_omniauth_authentications.rb
|
84
|
+
- lib/devise_omniauth/engine.rb
|
85
|
+
- lib/devise_omniauth/version.rb
|
86
|
+
- lib/devise_omniauth.rb
|
87
|
+
- lib/generators/devise_omniauth/install_generator.rb
|
88
|
+
- lib/generators/devise_omniauth/templates/config/initializers/devise.rb
|
89
|
+
- lib/generators/devise_omniauth/templates/config/locales/en.yml
|
90
|
+
- lib/generators/devise_omniauth/templates/README
|
91
|
+
- lib/generators/devise_omniauth/templates/views/devise/confirmations/new.html.erb
|
92
|
+
- lib/generators/devise_omniauth/templates/views/devise/mailer/confirmation_instructions.html.erb
|
93
|
+
- lib/generators/devise_omniauth/templates/views/devise/mailer/reset_password_instructions.html.erb
|
94
|
+
- lib/generators/devise_omniauth/templates/views/devise/mailer/unlock_instructions.html.erb
|
95
|
+
- lib/generators/devise_omniauth/templates/views/devise/passwords/edit.html.erb
|
96
|
+
- lib/generators/devise_omniauth/templates/views/devise/passwords/new.html.erb
|
97
|
+
- lib/generators/devise_omniauth/templates/views/devise/registrations/edit.html.erb
|
98
|
+
- lib/generators/devise_omniauth/templates/views/devise/registrations/new.html.erb
|
99
|
+
- lib/generators/devise_omniauth/templates/views/devise/sessions/new.html.erb
|
100
|
+
- lib/generators/devise_omniauth/templates/views/devise/shared/_links.erb
|
101
|
+
- lib/generators/devise_omniauth/templates/views/devise/unlocks/new.html.erb
|
102
|
+
- lib/generators/devise_omniauth/USAGE
|
103
|
+
- lib/tasks/devise_omniauth_tasks.rake
|
104
|
+
- MIT-LICENSE
|
105
|
+
- Rakefile
|
106
|
+
- README.md
|
107
|
+
- test/devise_omniauth_test.rb
|
108
|
+
- test/dummy/app/assets/javascripts/application.js
|
109
|
+
- test/dummy/app/assets/stylesheets/application.css
|
110
|
+
- test/dummy/app/controllers/application_controller.rb
|
111
|
+
- test/dummy/app/helpers/application_helper.rb
|
112
|
+
- test/dummy/app/views/layouts/application.html.erb
|
113
|
+
- test/dummy/config/application.rb
|
114
|
+
- test/dummy/config/boot.rb
|
115
|
+
- test/dummy/config/database.yml
|
116
|
+
- test/dummy/config/environment.rb
|
117
|
+
- test/dummy/config/environments/development.rb
|
118
|
+
- test/dummy/config/environments/production.rb
|
119
|
+
- test/dummy/config/environments/test.rb
|
120
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
121
|
+
- test/dummy/config/initializers/inflections.rb
|
122
|
+
- test/dummy/config/initializers/mime_types.rb
|
123
|
+
- test/dummy/config/initializers/secret_token.rb
|
124
|
+
- test/dummy/config/initializers/session_store.rb
|
125
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
126
|
+
- test/dummy/config/locales/en.yml
|
127
|
+
- test/dummy/config/routes.rb
|
128
|
+
- test/dummy/config.ru
|
129
|
+
- test/dummy/public/404.html
|
130
|
+
- test/dummy/public/422.html
|
131
|
+
- test/dummy/public/500.html
|
132
|
+
- test/dummy/public/favicon.ico
|
133
|
+
- test/dummy/Rakefile
|
134
|
+
- test/dummy/README.rdoc
|
135
|
+
- test/dummy/script/rails
|
136
|
+
- test/fixtures/devise_omniauth/authentications.yml
|
137
|
+
- test/integration/navigation_test.rb
|
138
|
+
- test/test_helper.rb
|
139
|
+
- test/unit/devise_omniauth/authentication_test.rb
|
140
|
+
homepage: http://jonathandean.com
|
141
|
+
licenses: []
|
142
|
+
post_install_message:
|
143
|
+
rdoc_options: []
|
144
|
+
require_paths:
|
145
|
+
- lib
|
146
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
147
|
+
none: false
|
148
|
+
requirements:
|
149
|
+
- - ! '>='
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
segments:
|
153
|
+
- 0
|
154
|
+
hash: 1945579642006841517
|
155
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
|
+
none: false
|
157
|
+
requirements:
|
158
|
+
- - ! '>='
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
segments:
|
162
|
+
- 0
|
163
|
+
hash: 1945579642006841517
|
164
|
+
requirements: []
|
165
|
+
rubyforge_project:
|
166
|
+
rubygems_version: 1.8.6
|
167
|
+
signing_key:
|
168
|
+
specification_version: 3
|
169
|
+
summary: Reusable Omniauth integration for Devise supporting multiple providers
|
170
|
+
test_files:
|
171
|
+
- test/devise_omniauth_test.rb
|
172
|
+
- test/dummy/app/assets/javascripts/application.js
|
173
|
+
- test/dummy/app/assets/stylesheets/application.css
|
174
|
+
- test/dummy/app/controllers/application_controller.rb
|
175
|
+
- test/dummy/app/helpers/application_helper.rb
|
176
|
+
- test/dummy/app/views/layouts/application.html.erb
|
177
|
+
- test/dummy/config/application.rb
|
178
|
+
- test/dummy/config/boot.rb
|
179
|
+
- test/dummy/config/database.yml
|
180
|
+
- test/dummy/config/environment.rb
|
181
|
+
- test/dummy/config/environments/development.rb
|
182
|
+
- test/dummy/config/environments/production.rb
|
183
|
+
- test/dummy/config/environments/test.rb
|
184
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
185
|
+
- test/dummy/config/initializers/inflections.rb
|
186
|
+
- test/dummy/config/initializers/mime_types.rb
|
187
|
+
- test/dummy/config/initializers/secret_token.rb
|
188
|
+
- test/dummy/config/initializers/session_store.rb
|
189
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
190
|
+
- test/dummy/config/locales/en.yml
|
191
|
+
- test/dummy/config/routes.rb
|
192
|
+
- test/dummy/config.ru
|
193
|
+
- test/dummy/public/404.html
|
194
|
+
- test/dummy/public/422.html
|
195
|
+
- test/dummy/public/500.html
|
196
|
+
- test/dummy/public/favicon.ico
|
197
|
+
- test/dummy/Rakefile
|
198
|
+
- test/dummy/README.rdoc
|
199
|
+
- test/dummy/script/rails
|
200
|
+
- test/fixtures/devise_omniauth/authentications.yml
|
201
|
+
- test/integration/navigation_test.rb
|
202
|
+
- test/test_helper.rb
|
203
|
+
- test/unit/devise_omniauth/authentication_test.rb
|