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:
> > 
> >  "~> 2.7.1.8" => ">= 2.7.1.8", "< 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.
        Hugh
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to