brandonhilkert / sucker_punch

Sucker Punch is a Ruby asynchronous processing library using concurrent-ruby, heavily influenced by Sidekiq and girl_friday.
MIT License
2.65k stars 114 forks source link

Gem version downgrade to minor instead of upgrade to tiny. #85

Closed futhr closed 9 years ago

futhr commented 9 years ago

Hi, when I run bundle update I get this log:

Installing sucker_punch 1.2 (was 1.2.1)

My Gemfile:

gem 'sucker_punch'

And no other dependency lock related to this gem in Gemfile.lock.

The reason might be that version use plain String instead of building version with Gem::Version.new. I can submit a pull request for this if you find it correct.

futhr commented 9 years ago

It seems to be the celluloid dependency on listen that cause this to happen due to that sucker_punch 1.2.1 is locked on celluloid ~> 0.15.2:

listen (2.7.12)
      celluloid (>= 0.15.2)