openskip-open_id_authentication 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/rails/init.rb +2 -1
- metadata +1 -1
data/Rakefile
CHANGED
data/rails/init.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
if config.respond_to?(:gems)
|
2
2
|
config.gem 'ruby-openid', :lib => 'openid', :version => '>=2.0.4'
|
3
|
+
require "openid"
|
3
4
|
else
|
4
5
|
begin
|
5
6
|
require 'openid'
|
@@ -14,5 +15,5 @@ end
|
|
14
15
|
|
15
16
|
config.to_prepare do
|
16
17
|
OpenID::Util.logger = Rails.logger
|
17
|
-
ActionController::Base.send :include, OpenIdAuthentication
|
18
|
+
ActionController::Base.send :include, ::OpenIdAuthentication
|
18
19
|
end
|