New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring #13
Merged
Merged
Refactoring #13
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
d0a896d
fixed test files namespaces
alcohol a807745
removed exception from comparator, adjusted tests
alcohol 17af438
moved exception to versionconstraint class
alcohol d343f70
added docblocks to constraint interface
alcohol 9b7a27a
removed `VersionParser::parseNameVersionPairs`
alcohol 4d25728
fixed some docblocks
alcohol be932b7
added Semver, tests
alcohol 79702a1
expanded the satisfies test suite
alcohol 5356567
renamed classes + some docblocks
alcohol 81c90ef
added satisfiedBy
alcohol 999ed00
added sort and rsort
alcohol 46cc3e9
allow multiple .* or .x
alcohol 09e6223
several version parsing related changes
alcohol 27ee971
remove ambiguity between major.minor.patch and year.month.day
alcohol c976405
CHANGELOG
alcohol 68a6cf0
README
alcohol 9fcddbd
Whitespace
alcohol File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove the comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because it should probably list all operators possible then. I would prefer to just assume the user knows what a valid operator is. Though in most cases I suspect they will use the methods that actually call
compare()and not callcompare()directly. The operators can be derived from the function description of all other methods.