Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy options before delegating in with_options
cd31e11 switched to passing options as keyword arguments, which always creates a new hash. 9e4ff29 removed a now-unnecessary call to `dup`, since the options could no longer be accidentally mutated. a55620f switched back to passing options as a positional argument for Ruby < 2.7, but didn't restore the call to `dup`, which meant that the same options hash was now passed with every method call and mutations leaked from one call to another.
- Loading branch information