dkubb / memoizable

Memoize method return values
MIT License
111 stars 10 forks source link

Update version of thread_safe to ~> 0.2.0 #14

Closed ys closed 10 years ago

ys commented 10 years ago

Updating to the latest version.

Using it with Rails 4.0.3 brings conflicts

rails (= 4.0.3) ruby depends on
      thread_safe (0.2.0)
sferik commented 10 years ago

Thanks Yannick!

sferik commented 10 years ago

I’ll :ship: a point release that includes this update.

ys commented 10 years ago

Thanks to you:) I was looking at updating to the latest and this was the only issue

awakia commented 10 years ago

Hi, now thread_safe version becomes 0.3.0, and ~>0.2.0 notation prevent to update the gem. ( https://github.com/headius/thread_safe/releases )

The change may not break this gem. ( https://github.com/headius/thread_safe/compare/0.2.0...0.3.0 )

So, why don't you change dependency notation to ~> 0.1 or >= 0.1.3?

dkubb commented 10 years ago

I just released memoizable 0.4.2 which upgrades to the latest thread_safe https://rubygems.org/gems/memoizable/versions/0.4.2

@awakia I generally will always reference the latest stable version of a dependency because I don't want to deal with the combinatorial explosions of ruby versions × dependency versions. In some rare cases I will bend this rule, but not without a valid reason; by default I'll always bump to the latest dependency at the time of release.

awakia commented 10 years ago

@dkubb Thank you very much for quick updating! The change you did seems perfect choice for me!!