Releases: payout/plugins
Releases · payout/plugins
Release list
0.3.0
Removing Ribbon namespace.
0.2.4
- Bug fix to Plugins#clear
0.2.3
- Allowing additional args to be passed to plugin initializers.
- Plugin instance methods are now available to callbacks.
- Providing shortcut to
perform_{subject}methods as just{subject}. For example, instead of callingperform_savein an around wrapper, you can just callsave. - Allowing plugin blocks to be passed to
ComponentMixin#plugin.
0.2.2
Bug fix:
- When calling the
perform_*method in an around wrapper block, you couldn't pass modified args to subsequent plugins and the eventual block. This is now fixed.
0.2.1
Bug fix:
- Now the return value of Plugins#perform is the same as the passed block.
0.2.0
- Adding ComponentMixin which should be included in any class that intends to support plugins.
- Changing Plugins initializer input. Now it takes the component (i.e., the instance of your object with plugin support) and a block which can be used to customize how plugins are loaded.
0.1.0
Implementing the basic features.
- Plugins support before, around and after callbacks.
- Plugins can be defined by extended the Plugin class or by calling Plugin::create
- Add any number of plugins to a Plugins instance.