flori / file-tail

File::Tail for Ruby
http://flori.github.com/file-tail
Apache License 2.0
160 stars 19 forks source link

update dependencies #4

Closed swills closed 12 years ago

swills commented 12 years ago

Hi,

Please update the dependencies to ~> tins 0.5.

Thanks, Steve

flori commented 12 years ago

Version 1.0.11 now depends on ~> 0.5

swills commented 12 years ago

Thanks for updating. But, rubygems.org shows "tins ~> 0.5.0" which is not the same as "tins ~> 0.5". This is due to the way "~>" works. With the dep as "~> 0.5.0", it will work with any 0.5.x version of tins. With "~> 0.5" it will work with any 0.x version. 0.5.x is fine for now, but when tins is updated to 0.6.x, it will cause the same issue again. Typically, ruby gems follow semantic versioning (see http://semver.org/) and so any 0.x version of tins should be compatible with 0.5. So, it makes sense to change the dep to "~> 0.5" instead of "~> 0.5.0". For more information, see:

http://stackoverflow.com/questions/5170547/what-does-tilde-greater-than-mean-in-ruby-gem-dependencies http://docs.rubygems.org/read/chapter/16

Thanks, Steve