nbudin / devise_openid_authenticatable

OpenID authentication for Devise
MIT License
99 stars 32 forks source link

Initialize middleware on gem require. #16

Closed skyeagle closed 11 years ago

nbudin commented 11 years ago

This patch breaks compatibility for Rails 2 apps. I still have some Rails 2 users, so I'd prefer not to do that. There might be a way to do this without breaking Rails 2; for example, the railtie.rb file could check whether the Rails::Railtie class is defined before trying to subclass it.

skyeagle commented 11 years ago

You are right. Take a look the fixed version.

nbudin commented 11 years ago

Looks good - thank you!

nbudin commented 11 years ago

This is now released in version 1.1.2.