From: Eric Hodel Date: 2008-10-11T04:14:41+09:00 Subject: Re: [ANN] stickler 0.1.0 Released On Oct 9, 2008, at 23:22 PM, Jeremy Hinegardner wrote: > stickler version 0.1.0 has been released. > > gem install stickler > > http://copiousfreetime.rubyforge.org/stickler > > Stickler is a tool to organize and maintain an internal gem > repository. Looks like a nice tool, some notes: ~> doesn't mean "Approximately greater than", it's described here: http://blog.zenspider.com/2008/10/rubygems-howto-preventing-cata.html but to save you a click works like this: > 3.y.z "~> 3.0" > 3.0.z "~> 3.0.0" > 3.5.z to <4.0 "~> 3.5" > 3.5.z to <3.6 "~> 3.5.0" Which is clearer than my english description, "matches a version from the specified release up to but not including a release with a higher version in the second most specific dot". (Clumsy, yes) > found = source_specs.select do | spec | > dependency =~ Gem::Dependency.new( spec.name, spec.version ) > end In a future version of RubyGems, I'm going to make Gem::Dependency#=~ and Gem::Specification#=~ work with each other and duck type it so you don't have to go through that extra step.