Sha256: c476feb46c6ccc9164bd675c3b5738bd42c96f1e4092a7e4ad66f476205b31cd
Contents?: true
Size: 496 Bytes
Versions: 2
Compression:
Stored size: 496 Bytes
Contents
if config.respond_to?(:gems) config.gem 'pelle-ruby-openid', :lib => 'openid', :version => '>=2.1.8', :source => 'http://gems.github.com' else begin require 'openid' rescue LoadError begin gem 'pelle-ruby-openid', '>=2.1.8', :lib => 'openid' 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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pelle-open_id_authentication-0.1.0 | init.rb |
pelle-open_id_authentication-0.1.1 | init.rb |