diff options
author | Benoit Daloze <[email protected]> | 2020-04-05 19:58:29 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-05-08 07:38:50 +0900 |
commit | 1464719f5feabaa237902e59f482792641901c1a () | |
tree | d56bfc8e0dcf16570d692e3e35d16130583b5d84 | |
parent | bb3d80bbbe0603e9f9689a96c7ce86682053b4dd (diff) |
[rubygems/rubygems] Only run the $SAFE test on MRI < 2.7
* Other Ruby implementations don't support $SAFE. https://.com/rubygems/rubygems/commit/9a4ba16efa
Notes: Merged: https://.com/ruby/ruby/pull/3087
-rw-r--r-- | test/rubygems/test_gem_specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -944,7 +944,7 @@ dependencies: [] assert_equal File.join(@tempdir, 'a-2.gemspec'), spec.loaded_from end - if RUBY_VERSION < '2.7' def test_self_load_tainted full_path = @a2.spec_file write_file full_path do |io| |