File rubygem-hooks.changes of Package rubygem-hooks
-------------------------------------------------------------------
Wed Aug 19 04:32:56 UTC 2015 - coolo@suse.com
- updated to version 0.4.1
see installed CHANGES.md
## 0.4.1
* Introduce `define_hook .., scope: ->{}` option. This allows changing the callback execution context per callback. Many thanks to @doudou for pushing this.
-------------------------------------------------------------------
Mon Oct 13 12:14:54 UTC 2014 - coolo@suse.com
- adapt to new rubygem packaging
-------------------------------------------------------------------
Tue Mar 18 14:57:14 UTC 2014 - coolo@suse.com
- updated to version 0.4.0
* Same as 0.3.6 but we wanna indicate an internal change (using uber).
* Use `Uber::Options::Value` for evaluating callbacks, now that we have that gem.
* Fixing bug where `uninitialized constant Hooks` was thrown when using InheritableAttribute exclusively. Thanks to @haswalt for reporting.
* Removing `InheritableAttribute` as we use uber's `InheritableAttr` now.
-------------------------------------------------------------------
Fri Nov 22 08:40:36 UTC 2013 - coolo@suse.com
- updated to version 0.3.3
* Fix a bug where the hook writer method (e.g. `#after_dark`) wasn't available on the instance even when `InstanceHooks` was included.
* Added `Hooks::InstanceHooks` to add hooks and/or callbacks on instance level. Thanks to @mpapis for that suggestion.
-------------------------------------------------------------------
Thu Jun 6 05:56:20 UTC 2013 - coolo@suse.com
- updated to version 0.3.1
* Fix a bug, string hook names are now treated as symbols.
-------------------------------------------------------------------
Sun May 26 16:22:45 UTC 2013 - coolo@suse.com
- updated to version 0.3.0
* The callback chain can now be halted by configuring the hook as @halts_on_falsey: true@ and returning @nil@ or @false@ from the callback.
* Internal refactorings: hooks are now encapsulated in @Hook@ instances and run their callback chains.
-------------------------------------------------------------------
Mon Nov 26 11:01:46 UTC 2012 - coolo@suse.com
- updated to version 0.2.2
`#run_hook` now returns the list of callback results.
-------------------------------------------------------------------
Fri Aug 3 18:28:59 UTC 2012 - coolo@suse.com
- updated to version 0.2.1
* You can now pass multiple hook names to @#define_hooks@.
-------------------------------------------------------------------
Mon Jul 30 17:35:52 UTC 2012 - coolo@suse.com
- initial package