easy_auth-oauth 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/easy_auth/oauth.rb +2 -2
- data/lib/easy_auth/oauth/version.rb +1 -1
- metadata +3 -3
data/lib/easy_auth/oauth.rb
CHANGED
@@ -30,8 +30,8 @@ module EasyAuth
|
|
30
30
|
camelcased_provider_name = params[:provider].to_s.camelcase
|
31
31
|
if respond_to?(method_name)
|
32
32
|
send(method_name, params)
|
33
|
-
elsif eval("
|
34
|
-
eval("Identities::Oauth::#{camelcased_provider_name}")
|
33
|
+
elsif eval("::Identities::Oauth::#{camelcased_provider_name} rescue nil")
|
34
|
+
eval("::Identities::Oauth::#{camelcased_provider_name}")
|
35
35
|
else
|
36
36
|
camelcased_provider_name.constantize
|
37
37
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy_auth-oauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -177,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
177
177
|
version: '0'
|
178
178
|
segments:
|
179
179
|
- 0
|
180
|
-
hash:
|
180
|
+
hash: 4126111251491885690
|
181
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
182
|
none: false
|
183
183
|
requirements:
|
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
186
|
version: '0'
|
187
187
|
segments:
|
188
188
|
- 0
|
189
|
-
hash:
|
189
|
+
hash: 4126111251491885690
|
190
190
|
requirements: []
|
191
191
|
rubyforge_project:
|
192
192
|
rubygems_version: 1.8.23
|