Authlogic + OpenIDをApplication Template化してみた

使い方

# まずはAuthlogicのテンプレートを適用
# Apply the Authlogic basic setup template at first.
# Authlogic Basic SetupをApplication Template化してみた - mumoshu.log
rails test -m http://gist.github.com/96556.txt
# そしてOpenID用のテンプレートをパッチ的に適用
# Then, apply the OpenID setup template.
cd test
rake rails:template LOCATION=http://gist.github.com/97851.txt

参考

http://d.hatena.ne.jp/mothprog/20090404/1238810821
GitHub - binarylogic/authlogic_example at with-openid
Application Templateでpatchを当てたりできないようなので、
insider(dir)とpopen3とdiff, patchコマンドでがんばった。
http://www.linux.or.jp/JM/html/gnumaniak/man1/diff.1.html
http://www.linux.or.jp/JM/html/GNU_patch/man1/patch.1.html