Commit Graph

31 Commits

Author SHA1 Message Date
Zafar Khaja
670b1a77c1 Create BUILD_AWARE_ORDER comparator 2013-03-31 15:22:27 +04:00
Zafar Khaja
5f7593b377 Create Version.Builder class 2013-03-31 15:22:27 +04:00
Zafar Khaja
b39868a540 Create incrementors for Pre-release version & Build metadata 2013-03-31 15:22:26 +04:00
Zafar Khaja
98abdb4c02 Create setters for Pre-release version & Build metadata 2013-03-31 15:22:26 +04:00
Zafar Khaja
5c39ab15d8 Adapt to SemVer 2.0.0-rc.2 2013-03-31 15:22:25 +04:00
Zafar Khaja
8c6b05f245 Correct the exception message 2013-03-31 15:22:25 +04:00
Zafar Khaja
223fcf97d0 Update README, format & change Issues section 2013-03-09 16:39:41 +04:00
Zafar Khaja
0472787366 Update README, add Travis CI status image 2013-03-08 01:02:47 +04:00
Zafar Khaja
2b94ab9201 Add support for Travis CI 2013-03-08 00:54:53 +04:00
Zafar Khaja
ae5254298e Update copyright year 2013-03-08 00:28:45 +04:00
Zafar Khaja
41072894c9 Rename AlphaNumericVersion to MetadataVersion 2013-03-08 00:11:11 +04:00
Zafar Khaja
c15392ef07 Update README, add Versioning paragraph 2013-03-08 00:07:21 +04:00
Zafar Khaja
d8316a34e7 Fix a typo in README 2013-03-07 19:25:40 +04:00
Zafar Khaja
66db83b3a4 Update README file 2013-03-07 00:25:38 +04:00
Zafar Khaja
c1927c2c63 Rename README to README.md 2013-03-06 22:08:48 +04:00
Zafar Khaja
3a8abf166a Increment version in pom.xml
Forgot to increment the version for the previous commit (tag 0.4.0),
so now must increment it up to 0.4.1.
2013-03-06 01:00:19 +04:00
Zafar Khaja
c0baccf4ba Make version classes immutable 2013-03-06 00:46:53 +04:00
Zafar Khaja
00e87f31da Format StringBuilder usage for readability 2013-03-05 22:56:48 +04:00
Zafar Khaja
3ef6b4e105 Add methods for incrementing normal version 2013-03-04 02:31:29 +04:00
Zafar Khaja
838d40e90e Make minor improvements 2013-03-03 23:44:34 +04:00
Zafar Khaja
5d0aa683cb Make major refactoring toward object-orientation 2013-03-03 23:13:48 +04:00
Zafar Khaja
f7b8dce2af Add more comparison tests 2013-02-14 23:15:52 +04:00
Zafar Khaja
3f0c079f59 Override toString() method 2012-12-01 01:33:13 +04:00
Zafar Khaja
7b4e653723 Refactor previous commit; remove duplications 2012-11-27 22:00:08 +04:00
Zafar Khaja
e0bca455ae Refactor Version.compareTo() method
According to the Specification the pre-release version should
have a lower precedence than the associated normal version and the
build version should have a higher precedence than the associated
normal version.
2012-11-24 21:20:15 +04:00
Zafar Khaja
6bca0180c6 Add convenience methods for comparisons 2012-11-20 22:23:32 +04:00
Zafar Khaja
d670f15b16 Override equals() & hashCode() methods 2012-11-20 22:17:29 +04:00
Zafar Khaja
e5041f42cb Make refactoring, rename class members, add comment 2012-11-06 22:44:35 +04:00
Zafar Khaja
220384023c Add a Note to README 2012-11-05 22:15:10 +04:00
Zafar Khaja
3c630ebbbc Create Version class and Tests
So far only basic functionality is implemented, such as parsing
version strings, incrementing major, minor and patch versions, as
well as comparing one Version to another.
2012-11-05 22:05:59 +04:00
Zafar Khaja
4b990fd3b0 Initial commit 2012-11-03 21:39:44 +04:00