Skip to content

Commit 6ed8022

Browse files
committed
Update Readme, Changelog, summary
1 parent 9e3c20f commit 6ed8022

File tree

3 files changed

+112
-314
lines changed

3 files changed

+112
-314
lines changed

CHANGELOG.md

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,34 @@
11
# Changelog | InitCopy
22

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)
45

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]
77

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.
1020

21+
### Fixed
22+
- Applied new RuboCop suggestions for Gemspec, Gemfile, code, etc.
1123

12-
## [v0.1.2] - 2021-06-18
24+
## [0.1.2] - 2021-06-18
1325
### Changed
1426
- Formatted code with RuboCop.
1527

16-
17-
## [v0.1.1] - 2020-03-07
28+
## [0.1.1] - 2020-03-07
1829
### Fixed
1930
- 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

Comments
 (0)