[Rubygems-developers] Rubygems Packaging Enhancements and Designs
hgs at dmu.ac.uk
Thu Apr 1 04:55:21 EDT 2010
On Wed, 31 Mar 2010, Ryan Davis wrote:
> On Mar 31, 2010, at 17:15 , Hugh Sasse wrote:
> > (Pessamistic version control), and that is the flow of the text
> > suggests that a couple of examples would fit nicely at the end:
> > "~> 184.108.40.206" => ">= 220.127.116.11", "< 2.7.2"
> > "~> 2.7.1" => ">= 2.7.1", "< 2.8"
> I just modified the last paragraph to read:
> Notice that we only include 2 digits of the version. The operator will drop the final digit of a version, then increment the remaining final digit to get the upper limit version number. Therefore ?~> 2.2? is equivalent to: [?>= 2.2?, ?< 3.0?]. Had we said ?~> 2.2.0?, it would have been equivalent to: [?>= 2.2.0?, ?< 2.3.0?]. The last digit specifies the level of granularity of version control. (Remember, you can alway supply an explicit upper limit if the pessimistic operator is too limited for you).
> Edits welcome.
Thank you, that's even better.
More information about the Rubygems-developers