Switch from ThreadSafe::Cache to Concurrent::Map #46

philr opened this Issue Feb 4, 2016 · 0 comments


None yet
1 participant

philr commented Feb 4, 2016

See the discussion on #45.

The thread_safe gem has been merged into concurrent-ruby and thread_safe is being deprecated.

The code should be changed to use Concurrent::Map from concurrent-ruby instead of ThreadSafe::Cache (Concurrent::Map is a carbon copy of ThreadSafe::Cache).

tzinfo currently has a required_ruby_version of >= 1.8.7. This would need changing to >= 1.9.3 to match concurrent-ruby. Some of the code to support Ruby 1.8 in and around ruby_core_support.rb could also then be dropped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment