fpm
fpm copied to clipboard
DO NOT MERGE YET - .deb: Handle semver conversion when only one digit is present
Currently, if a gem has a semantic version requirement on a single digit number (aka "~> 3"), FPM winds up converting this into (in debian, at least) ">= 3" and "<< 0", which is obviously not satisfiable. The fix is fairly straightforward, but there is a test I've not yet figured out how to satisfy.
@jkanywhere confirmed, this never did what the developer intended it to do. I'll revise this PR ASAP to do the right thing.
Updated to handle parameters more up-to-spec, however, there's still one pesky test I've not resolved.
@torrancew Care to rebase this one? It seems like an important fix.
@thedrow Yes! I have let this slip for far too long, and will revisit ASAP.
@torrancew anything we can do to help?
@torrancew I've rebased this in #1380, would love your review!