-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor #4 Clean code refactoring (sstok)
This PR was merged into the 1.0-dev branch. labels: bc-break Discussion ---------- - Remove usage of magic numbers - Encapsulate incremental logic into sub-routines - Rename `increase()` to `getNextIncreaseOf()` to indicate this version returns. [BC BREAK] - Add some additional tests Commits ------- c26e951 Rename Version::increase to getNextIncreaseOf d68853a Improve the internal logic of Version
- Loading branch information
Showing
4 changed files
with
79 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
UPGRADE | ||
======= | ||
|
||
## Upgrade FROM 0.2 to 0.3 | ||
|
||
* The method `increase` of `Version` is renamed to `getNextIncreaseOf`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters