Zafar Khaja
e7e2d3b223
Update and reformat the README file
2013-11-16 19:21:28 +04:00
Zafar Khaja
88a7cb2be5
Prepare pom.xml for the repository
2013-11-16 18:03:29 +04:00
Zafar Khaja
cf8d6b1960
Add Javadoc to the source code
2013-11-16 18:03:22 +04:00
Zafar Khaja
388f94915f
Create SemVer Expression parser
2013-11-16 14:52:01 +04:00
Zafar Khaja
2dc8bd8930
Create Lexer for Expression parser
...
Factored out VersionParser.CharStream into a separate
class and made it generic to use in the Lexer. Did some
refactoring of VersionParser.
2013-11-16 14:52:01 +04:00
Zafar Khaja
87bb03dd7f
Create basic Expression types
2013-11-16 14:52:00 +04:00
Zafar Khaja
fac6ece28c
Create MetadataVersion.NULL object, refactor
2013-11-16 14:51:56 +04:00
Zafar Khaja
78266dc1ca
Implement a Parser instead of RegExp
...
This commit also updates the code to comply with the SemVer 2.0.0.
2013-11-14 00:12:58 +04:00
Zafar Khaja
d0f98e3130
Remove redundant conditional statements
2013-10-29 21:47:10 +04:00
Zafar Khaja
9ce1a0b063
Rename two API methods
...
Version.lessThanOrEqualsTo() => Version.lessThanOrEqualTo()
Version.greaterThanOrEqualsTo() => Version.greaterThanOrEqualTo()
2013-10-29 21:37:20 +04:00
Zafar Khaja
1cf03b4bbe
Update JUnit dependency to 4.11
2013-10-29 21:35:50 +04:00
Zafar Khaja
b6e4c7f135
Rename 'artifactId' and change 'name'
2013-10-29 21:35:02 +04:00
Zafar Khaja
bce025e9cd
Bump version to 0.7.0-SNAPSHOT
2013-10-29 21:32:41 +04:00
Zafar Khaja
5e5a0db9b0
Update README, add Bugs & Features section
2013-04-03 00:17:55 +04:00
Zafar Khaja
8068ac7f25
Bump minor version to 0.6.0
2013-03-31 15:22:28 +04:00
Zafar Khaja
fc344ba562
Update README for version 0.6.0
2013-03-31 15:22:28 +04:00
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