]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/plugins/open_id_authentication/init.rb
Switch to using the gem version of open_id_authentication
[rails.git] / vendor / plugins / open_id_authentication / init.rb
diff --git a/vendor/plugins/open_id_authentication/init.rb b/vendor/plugins/open_id_authentication/init.rb
deleted file mode 100644 (file)
index 808c7bd..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-if config.respond_to?(:gems)
-  config.gem 'ruby-openid', :lib => 'openid', :version => '>=2.0.4'
-else
-  begin
-    require 'openid'
-  rescue LoadError
-    begin
-      gem 'ruby-openid', '>=2.0.4'
-    rescue Gem::LoadError
-      puts "Install the ruby-openid gem to enable OpenID support"
-    end
-  end
-end
-
-config.to_prepare do
-  OpenID::Util.logger = Rails.logger
-  ActionController::Base.send :include, OpenIdAuthentication
-end