Skip to content

Commit

Permalink
Remove config block in initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
binarylogic committed Mar 30, 2009
1 parent 4c1b7c1 commit f7ca8cb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rdoc
@@ -1,3 +1,7 @@
== 1.0.2 released 2009-3-30

* Remove config block in initializer.

== 1.0.1 released 2009-3-30 == 1.0.1 released 2009-3-30


* Change password validation option when included, and prepend the OpenID module. * Change password validation option when included, and prepend the OpenID module.
Expand Down
1 change: 1 addition & 0 deletions README.rdoc
Expand Up @@ -6,6 +6,7 @@ Authlogic OpenID is an extension of the Authlogic library to add OpenID support.


* <b>Documentation:</b> http://authlogic.rubyforge.org * <b>Documentation:</b> http://authlogic.rubyforge.org
* <b>Authlogic:</b> http://github.com/binarylogic/authlogic * <b>Authlogic:</b> http://github.com/binarylogic/authlogic
* <b>Live example:</b> http://authlogicexample.binarylogic.com


== Install and use == Install and use


Expand Down
6 changes: 2 additions & 4 deletions lib/authlogic_openid.rb
Expand Up @@ -2,7 +2,5 @@
require "authlogic_openid/acts_as_authentic" require "authlogic_openid/acts_as_authentic"
require "authlogic_openid/session" require "authlogic_openid/session"


config.to_prepare do ActiveRecord::Base.send(:include, AuthlogicOpenid::ActsAsAuthentic)
ActiveRecord::Base.send(:include, AuthlogicOpenid::ActsAsAuthentic) Authlogic::Session::Base.send(:include, AuthlogicOpenid::Session)
Authlogic::Session::Base.send(:include, AuthlogicOpenid::Session)
end
2 changes: 1 addition & 1 deletion lib/authlogic_openid/version.rb
Expand Up @@ -41,7 +41,7 @@ def to_a


MAJOR = 1 MAJOR = 1
MINOR = 0 MINOR = 0
TINY = 1 TINY = 2


# The current version as a Version instance # The current version as a Version instance
CURRENT = new(MAJOR, MINOR, TINY) CURRENT = new(MAJOR, MINOR, TINY)
Expand Down

0 comments on commit f7ca8cb

Please sign in to comment.