pessimize icon indicating copy to clipboard operation
pessimize copied to clipboard

Pessimize generates overly restrictive requirements

Open drbrain opened this issue 12 years ago • 3 comments

Correct specification for semantic versioning is described in the RubyGems guides patterns for declaring dependencies. You lock users to a bug fix series and don't allow backward-compatible releases with new features.

For >= 1.2.3 the semantic-versioning-safe requirement is ~> 1.2, >= 1.2.3.

drbrain avatar Aug 15 '13 17:08 drbrain

I've added an example to the rubygems guides rubygems/guides@ef777b4c

drbrain avatar Aug 15 '13 19:08 drbrain

Thanks for this, I completely agree.

I originally locked it to patch level upgrades because I had a project where a supposedly minor upgrade was not in fact backwards compatible. But it shouldn't be the default any more.

I'm planning on adding options to the command line script, which will give the user the choice of how restrictive/permissive they are with their version upgrades.

Thanks again

joonty avatar Aug 16 '13 10:08 joonty

I'm finally going to tackle this one for the next version release. I'll post updates here.

Thanks

joonty avatar Nov 11 '15 09:11 joonty