Prior to this commit we were seeing errors when calling the deprecated
Object#untaint method on Ruby 2.8. The method is a no-op on Ruby 2.8.
dnsruby/config.rb:325: warning: Object#untaint is deprecated and will be removed in Ruby 3.2
We probably could remove untainting for older Ruby versions as well, but
it felt safer to preserve the current behavior in case someone is still
relying on it.
To see this change in action, we added ruby-head to the travis matrix,
but do not require those tests to pass for the build as a whole to pass.
Coverage decreased (-0.02%) to 77.506% when pulling 454e0a695d9bc8a683558a0ba01d7ac33ed908ff on thoughtbot:ruby-2.7-untaint-warning into b9bd2c63d5c83cde8fcd1bcdb615200741c07b04 on alexdalitz:master.
Prior to this commit we were seeing errors when calling the deprecated Object#untaint method on Ruby 2.8. The method is a no-op on Ruby 2.8.
We probably could remove untainting for older Ruby versions as well, but it felt safer to preserve the current behavior in case someone is still relying on it.
To see this change in action, we added ruby-head to the travis matrix, but do not require those tests to pass for the build as a whole to pass.
See https://bugs.ruby-lang.org/issues/16131 for details on the deprecation.