chorn-warden-googleapps 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/warden-googleapps.rb +7 -1
- metadata +8 -3
data/lib/warden-googleapps.rb
CHANGED
@@ -14,5 +14,11 @@ end
|
|
14
14
|
require File.dirname(__FILE__)+'/warden-googleapps/user'
|
15
15
|
require File.dirname(__FILE__)+'/warden-googleapps/version'
|
16
16
|
require File.dirname(__FILE__)+'/warden-googleapps/warden_strategy'
|
17
|
-
require File.dirname(__FILE__)+'/warden-googleapps/devise_strategy' if Object.const_defined?(:Devise)
|
18
17
|
require File.dirname(__FILE__)+'/warden-googleapps/gapps_openid'
|
18
|
+
|
19
|
+
begin
|
20
|
+
require "devise"
|
21
|
+
require File.dirname(__FILE__)+'/warden-googleapps/devise_strategy'
|
22
|
+
|
23
|
+
rescue LoadError
|
24
|
+
end
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chorn-warden-googleapps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 21
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Corey Donohoe
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-06-
|
18
|
+
date: 2010-06-29 00:00:00 -04:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
@@ -25,6 +26,7 @@ dependencies:
|
|
25
26
|
requirements:
|
26
27
|
- - ~>
|
27
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 31
|
28
30
|
segments:
|
29
31
|
- 0
|
30
32
|
- 10
|
@@ -39,6 +41,7 @@ dependencies:
|
|
39
41
|
requirements:
|
40
42
|
- - ~>
|
41
43
|
- !ruby/object:Gem::Version
|
44
|
+
hash: 5
|
42
45
|
segments:
|
43
46
|
- 2
|
44
47
|
- 1
|
@@ -79,6 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
79
82
|
requirements:
|
80
83
|
- - ">="
|
81
84
|
- !ruby/object:Gem::Version
|
85
|
+
hash: 3
|
82
86
|
segments:
|
83
87
|
- 0
|
84
88
|
version: "0"
|
@@ -87,6 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
91
|
requirements:
|
88
92
|
- - ">="
|
89
93
|
- !ruby/object:Gem::Version
|
94
|
+
hash: 3
|
90
95
|
segments:
|
91
96
|
- 0
|
92
97
|
version: "0"
|