crowdint_auth 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/devise.rb +3 -1
- data/lib/crowdint_auth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c11ece0288c0e2e9d7e08348f834920ac5c18d8a
|
4
|
+
data.tar.gz: 428528a8879d3e8dad4f727154cdc466f247b5e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d64f8d20d7df3cb8af7adbeb2eb25fc38c3601debcdf197bec63870c9c0349f87961996fb07af82d02e6c2e3104cbc43293e0d7effbad40512a1b0480ce3748
|
7
|
+
data.tar.gz: bc994b9ac24961548ba71f364b6e01d3b4133276e929841a78e7999c62b7c80b912903e7fc572673b594e349e5ade01a33fe3656268827fbe77a712726b51b97
|
@@ -1,7 +1,9 @@
|
|
1
1
|
require 'devise'
|
2
|
+
require 'openid/store/filesystem'
|
3
|
+
|
2
4
|
Devise.setup do |config|
|
3
5
|
config.omniauth :google_apps, :domain => "#{(ENV['GOOGLE_APPS_AUTH_DOMAIN'] || 'crowdint.com')}",
|
4
|
-
:strategy => OmniAuth::Strategies::GoogleApps
|
6
|
+
:strategy => OmniAuth::Strategies::GoogleApps, :store => OpenID::Store::Filesystem.new('./tmp')
|
5
7
|
|
6
8
|
config.warden { |manager| manager.failure_app = CrowdintAuth::Devise::FailureApp }
|
7
9
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crowdint_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Padilla
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04-
|
11
|
+
date: 2013-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|