thoughtbot/climate_control — pull request #12 by balexand (2014-11-24 22:01:10+00:00)
Title: Fix thread-unsafe lazy initialization

The lazy initialization of `env` was not thread-safe. See https://github.com/thoughtbot/climate_control/pull/11#issuecomment-64269753.

Note that this gem is still not thread-safe when there is a chance that `ENV` will be accessed by other threads in an application. See #11.