Re: Sequel::Plugins

2007-12-02 Thread Sharon Rosner
Plugin loading is now implemented in the trunk. Each plugin is expected to conform to Wayne and Aman's specification, with the addition of an apply method that takes a model class and an options hash. The implementation is here:

Re: Sequel::Plugins

2007-12-02 Thread Aman Gupta
Thanks Sharon. I made this change so that plugins could accept args in addition to opts: --- lib/sequel/model/plugins.rb (revision 568) +++ lib/sequel/model/plugins.rb (working copy) @@ -4,8 +4,8 @@ class Model class self # Loads a plugin for use with the model class - def

Re: Sequel::Plugins

2007-12-02 Thread Wayne E. Seguin
On Dec 2, 2007 1:50 AM, dusty [EMAIL PROTECTED] wrote: I think this is a great idea! I am continually impressed by this project. I do have a request for the plugins. Do you think you could add a few sentences to each README describing what the plugin does? Dusty, Yes, it is planned

Re: Sequel::Plugins

2007-12-02 Thread Wayne E. Seguin
On Dec 2, 2007 12:01 PM, Sharon Rosner [EMAIL PROTECTED] wrote: We have now defined what Sequel plugins will look like, and how they will be distributed and included. Plugins are rubygems, which means that users can simply require sequel-orderable for example and be able to use the