diff options
author | Bundlerbot <bot@bundler.io> | 2019-10-20 02:53:24 +0000 |
---|---|---|
committer | Bundlerbot <bot@bundler.io> | 2019-10-20 02:53:24 +0000 |
commit | fcb0fef62096bd8d64383f5bbfa584ce77f40fd8 (patch) | |
tree | 2d8a4cba703039318b8bad35169f2ca7857092a9 /spec/support/artifice/vcr_cassettes/realworld/index.rubygems.org/info/shotgun/GET/request | |
parent | 43f1ab7c48e8a0dbe49c07d13a7ff8f47e675ee1 (diff) | |
parent | 8b1b7c199224a10c44c869654f061560852a3795 (diff) | |
download | bundler-fcb0fef62096bd8d64383f5bbfa584ce77f40fd8.tar.gz |
Merge #7385
7385: Remove taint usage on Ruby 2.7+ r=hsbt a=jeremyevans
### What was the end-user problem that led to this PR?
Ruby 2.7 is deprecating taint support.
See https://bugs.ruby-lang.org/issues/16131 for details.
### What was your diagnosis of the problem?
Bundler still uses `untaint` in a few places, which will cause deprecation warnings on Ruby 2.7.
### What is your fix for the problem, implemented in this PR?
`s/\.untaint/.tap{|x| x.untaint if RUBY_VERSION < "2.7" }/g`
### Why did you choose this fix out of the possible options?
It seemed simplest.
Co-authored-by: Jeremy Evans <code@jeremyevans.net>
Diffstat (limited to 'spec/support/artifice/vcr_cassettes/realworld/index.rubygems.org/info/shotgun/GET/request')
0 files changed, 0 insertions, 0 deletions