Removes the fat ruby-openid gem. Simply use 'gem install ruby-openid' to enable openid support.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2458 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2009-02-12 21:25:50 +00:00
parent 5bdd429162
commit ff9da0bab0
196 changed files with 222 additions and 30207 deletions

View File

@@ -1,18 +1,16 @@
if config.respond_to?(:gems)
config.gem 'ruby-openid', :lib => 'openid', :version => '>=2.1.4'
else
begin
require 'openid'
rescue LoadError
begin
gem 'ruby-openid', '>=2.1.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
begin
require 'openid'
rescue LoadError
begin
gem 'ruby-openid', '>=2.1.4'
rescue Gem::LoadError
# no openid support
end
end
if Object.const_defined?(:OpenID)
config.to_prepare do
OpenID::Util.logger = Rails.logger
ActionController::Base.send :include, OpenIdAuthentication
end
end