aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2008-03-30 02:35:08 +0000
committerRick Olson <technoweenie@gmail.com>2008-03-30 02:35:08 +0000
commit65b4702c4f410b0ff1443eccf48f578a495cb7bf (patch)
tree4dda3e9d94d4423af8c44679afc7c1061095ed77 /railties/CHANGELOG
parent088ef182e3006294b8f0e9b185d272a777c4437a (diff)
downloadrails-65b4702c4f410b0ff1443eccf48f578a495cb7bf.tar.gz
rails-65b4702c4f410b0ff1443eccf48f578a495cb7bf.tar.bz2
rails-65b4702c4f410b0ff1443eccf48f578a495cb7bf.zip
Small tweak to allow plugins to specify gem dependencies. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9141 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/CHANGELOG')
-rw-r--r--railties/CHANGELOG15
1 files changed, 15 insertions, 0 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG
index 7950e6a14f..97bb718e37 100644
--- a/railties/CHANGELOG
+++ b/railties/CHANGELOG
@@ -1,5 +1,20 @@
*SVN*
+* Small tweak to allow plugins to specify gem dependencies. [rick]
+
+ # OLD open_id_authentication plugin init.rb
+ require 'yadis'
+ require 'openid'
+ ActionController::Base.send :include, OpenIdAuthentication
+
+ # NEW
+ config.gem "ruby-openid", :lib => "openid", :version => "1.1.4"
+ config.gem "ruby-yadis", :lib => "yadis", :version => "0.3.4"
+
+ config.after_initialize do
+ ActionController::Base.send :include, OpenIdAuthentication
+ end
+
* Added config.gem for specifying which gems are required by the application, as well as rake tasks for installing and freezing gems. [rick]
Rails::Initializer.run do |config|