Skip to content

Tags: thoughtbot/climate_control

Tags

v1.2.0

Toggle v1.2.0's commit message
## 1.2.0 / 2022-07-15

- Added: `ClimateControl.unsafe_modify` for a thread-unsafe version of
  `ClimateControl.modify` (useful for minitest-around for instance)
- Deprecates `ClimateControl.env`, `ENV` should be used instead

v1.1.1

Toggle v1.1.1's commit message
## 1.1.1 / 2022-05-28

- Fixed: ENV was not restored if an error was thrown when assigning ENV

v1.1.0

Toggle v1.1.0's commit message
## 1.1.0 / 2022-05-26

- Refactor to use `Monitor` instead of `Mutex`
- Add documentation about thread-safety
- Allow ClimateControl.modify to be called without environment variables
- Add test for concurrent access needed to be inside block
- Relax development dependencies