Skip to content

Conversation

@eimlav
Copy link
Contributor

@eimlav eimlav commented Sep 17, 2018

Changed comparison of versions from default string comparisons to Gem::Version as the string comparisons use lexicographical ordering which can fail on certain cases e.g. '4.10.5' > '4.10.12' resolves to true which is incorrect as 4.10.12 is a later version than 4.10.5 .

@eimlav eimlav added the bugfix label Sep 17, 2018
@tphoney tphoney merged commit 680149f into puppetlabs:master Sep 17, 2018
@eimlav eimlav deleted the version-fix branch September 17, 2018 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants