Skip to content
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

extending cmp to support better version ops #1364

Merged
merged 1 commit into from
Dec 15, 2016

Conversation

jeremymv2
Copy link
Contributor

This change hopes to extend the functionality of cmp matcher to allow for better comparisons when checking version strings. It adds Gem::Version as a type for operand comparison.

Signed-off-by: Jeremy J. Miller jm@chef.io

Signed-off-by: Jeremy J. Miller <jm@chef.io>
@chris-rock
Copy link
Contributor

This is a great addition @jeremymv2

@chris-rock chris-rock merged commit 783c05e into inspec:master Dec 15, 2016
@jeremymv2 jeremymv2 deleted the jeremymv2/version_cmp branch December 15, 2016 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants