Hi all,

Aman and I spent a fair chunk of time since yesterday hacking on the
plugins.

The plugin repositories are available here: 
http://ruby-sequel.googlecode.com/svn/plugins/
These currently are only pending specs, and project structure for
implementation as well as gem building.
So these should be a good way to begin implementing the plugins using
BDD. There is one plugin I have which I did not commit "graph", it as
of yet has no specs to define it's behavior.

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 orderable plugin since it's already wrapped in the
Sequel::Plugins namespace. (note: gem names will use snake case)

>From within a sequel model, a simple use case is:

class LineItem < Sequel::Model
  is :Orderable
end

Then in order to customize the plugin, you pass in options :

is :Orderable, :order => "new_field_name"

This is the basic idea. As these ideas are in their infancy
suggestions and feedback are greatly appreciated.

Thanks!

  ~Wayne
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to