Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Undefine VERSION in gemspec to avoid namespace pollution between mult…
…iple MemoWises This commit updates `memo_wise.gemspec` to undefine the `MemoWise::VERSION` constant after it is read, as first suggested in simplecov-ruby/simplecov#557 (comment). Before this change, accessing `MemoWise::VERSION` immediately after the `doff_and_don` call in `benchmarks.rb` gives the version of the gem pulled from GitHub, even though `doff_and_don` should mean nothing is in the `MemoWise` namespace. After this change, accessing `MemoWise::VERSION` there gives this error as we expect: ``` uninitialized constant MemoWise (NameError) ```
- Loading branch information