I've changed the plugin API slightly: * The plugin's apply method is now called only the first time there is an attempt to load the plugin.
* Plugins can now have configure methods for code that is called every time an attempt to load the plugin is made. * plugin_opts methods are now an array of arguments if multiple arguments were specified. Various internal changes make it so that the methods now return the arguments to the first call of the Model.plugin method instead of the most recent call. plugin_opts methods should be considered deprecated in any case. * Plugins can now depend on other plugins simply by calling Model.plugin inside the plugin's apply method. See the lazy_attributes plugin for an example of this. See the following commits for details. http://github.com/jeremyevans/sequel/commit/be3a28b4b54b39d5361fbfcb434e83aa537278a9 http://github.com/jeremyevans/sequel/commit/7ea5eb2a45aeb552b11a91ddfb6d9970ca6e7ab8 If you are a plugin author, please test your plugin with the master branch before the end of the month to ensure compatibility with 3.1.0. Thanks, Jeremy --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
