|
1 | 1 | # Changelog | InitCopy
|
2 | 2 |
|
3 |
| -All notable changes to this project will be documented in this file. |
| 3 | +- [Keep a Changelog](https://keepachangelog.com/en/1.1.0) |
| 4 | +- [Semantic Versioning](https://semver.org/spec/v2.0.0.html) |
4 | 5 |
|
5 |
| -Format is based on [Keep a Changelog v1.0.0](https://keepachangelog.com/en/1.0.0), |
6 |
| -and this project adheres to [Semantic Versioning v2.0.0](https://semver.org/spec/v2.0.0.html). |
| 6 | +## [Unreleased] |
7 | 7 |
|
8 |
| -## [[Unreleased]](https://github.com/esotericpig/init_copy/compare/v0.1.2...HEAD) |
9 |
| -- |
| 8 | +## [0.2.0] - 2025-06-05 |
| 9 | +### Changed |
| 10 | +- Major change to simplify usage. |
| 11 | + - Must include `InitCopy` in your class/module, override `init_copy(orig)`, and use `ic_copy(var)` instead of clone/dup. |
| 12 | + - Renamed `safe_copy(var)` to `ic_copy?(var)`. (Most users will probably not use this method anyway.) |
| 13 | +- Refactored unit tests to reflect new changes. |
| 14 | +- Changed doc from `yard` to `rdoc`. |
| 15 | +- Renamed git branch `master` to `main`. |
| 16 | + |
| 17 | +### Removed |
| 18 | +- Major change to drop support for `Copier`/`Copyer`, which relied on `caller`. |
| 19 | +- Dropped `Copiable` alias. |
10 | 20 |
|
| 21 | +### Fixed |
| 22 | +- Applied new RuboCop suggestions for Gemspec, Gemfile, code, etc. |
11 | 23 |
|
12 |
| -## [v0.1.2] - 2021-06-18 |
| 24 | +## [0.1.2] - 2021-06-18 |
13 | 25 | ### Changed
|
14 | 26 | - Formatted code with RuboCop.
|
15 | 27 |
|
16 |
| - |
17 |
| -## [v0.1.1] - 2020-03-07 |
| 28 | +## [0.1.1] - 2020-03-07 |
18 | 29 | ### Fixed
|
19 | 30 | - Added `initialize` to the mixin (Copyable) to define a default value to `@init_copy_method_name` so not `nil`.
|
20 |
| - - This wasn't necessary, but adding Justin Case. |
21 |
| - |
22 |
| - |
23 |
| -## [v0.1.0] - 2020-03-06 |
24 |
| -### Added |
25 |
| -- .gitignore |
26 |
| -- CHANGELOG.md |
27 |
| -- Gemfile |
28 |
| -- init_copy.gemspec |
29 |
| -- LICENSE.txt |
30 |
| -- Rakefile |
31 |
| -- README.md |
32 |
| -- lib/init_copy.rb |
33 |
| -- test/init_copy_test.rb |
| 31 | + - This wasn't necessary, but added Justin Case. |
| 32 | + |
| 33 | +## [0.1.0] - 2020-03-06 |
| 34 | +Initial release. |
0 commit comments