- ...
- Minor changes to test names, Gem versions, Rakefile excludes, and Gemspec.
- Major change (again) to remove including
InitCopy.- Instead, include
InitCopy::Able(was namedInitCopy::Copyable). - This change was made because
include InitCopyadded theVERSIONconst to classes, and it also added two modules to your hierarchy instead of just one:InitCopyandInitCopy::Copyable. Due to this, I decided onlyInitCopy::Ableis better, even thoughinclude InitCopywas nicer looking and easier to remember.
- Instead, include
- Converted Minitest unit tests to spec-style tests.
- Major change to simplify usage.
- Must include
InitCopyin your class/module, overrideinit_copy(orig), and useic_copy(var)instead of clone/dup. - Renamed
safe_copy(var)toic_copy?(var). (Most users will probably not use this method anyway.)
- Must include
- Refactored unit tests to reflect new changes.
- Changed doc from
yardtordoc. - Renamed git branch
mastertomain.
- Major change to drop support for
Copier/Copyer, which relied oncaller. - Dropped
Copiablealias.
- Applied new RuboCop suggestions for Gemspec, Gemfile, code, etc.
- Formatted code with RuboCop.
- Added
initializeto the mixin (Copyable) to define a default value to@init_copy_method_nameso notnil.- This wasn't necessary, but added Justin Case.
Initial release.