Golly's Utils: Changelog
0.6.0 (2012-09-17)
Lots of stuff:
Added
- Added Object#validate_type! and Symbol#validate_lvar_type!.
- Added Object#superclasses.
- Added GollyUtils::Testing::DynamicFixtures.
- Added Hash#validate_keys and Hash#validate_option_keys.
- Added Kernel#at_exit_preserving_exit_status.
- Singleton module.
- Added new Delegator option:
:allow_protected - Callbacks can now be defined in modules.
- Added GollyUtils::Callbacks::ClassMethods#callbacks and GollyUtils::Callbacks::ModuleMethods#callbacks to provide a list of all defined and inherited callbacks.
- Callbacks#run_callbacks now accepts options which currently allows for callback arguments to be specified.
- Callbacks#run_callback and Callbacks#run_callbacks now accept an option to pass arguments to callback functions.
- Callbacks#run_callback and Callbacks#run_callbacks now accept an option to provide a context for callback function execution.
- Added Ruby extensions:
- Added test helpers:
- Added RSpec helpers:
Modified
- Finished the experiment that was GollyUtils::AttrDeclarative. No mucking around with blocks, eager/lazy evaluation anymore; now it's all values.
- Delegator#respond_to? now also indicates
truefor local methods (in addition to delegatable). - Callbacks#run_callback now only runs a single callback.
- Renamed dir:
golly-utils/test=>golly-utils/testing. - Renamed dir:
golly-utils/test/spec=>golly-utils/testing/rpsec. - Renamed module:
GollyUtils::TestHelpers=>GollyUtils::Testing::Helpers - Renamed module:
GollyUtils::DeferrableSpecs=>GollyUtils::Testing::DeferrableSpecs - Renamed
golly-utils/ruby_ext/subclasses.rb=>golly-utils/ruby_ext/classes_and_types.rb
0.0.1 (2012-07-16)
Initial version.