With every modifying operation on Ruby 2.7, this warning is shown: "warning: rb_safe_level will be removed in Ruby 3.0". In Ruby 2.7 the entire safe level concept is deprecated, with no replacement, to be removed completely in Ruby 3.0. The same goes for object tainting, so OBJ_TAINTED is deprecated too.
The code should check the ruby version before doing that entire statement, or have some equivalent guard method or ifdef that has the same effect. I don't really know how, but if this doesn't get fixed I'm going to have to figure it out.
With every modifying operation on Ruby 2.7, this warning is shown: "warning: rb_safe_level will be removed in Ruby 3.0". In Ruby 2.7 the entire safe level concept is deprecated, with no replacement, to be removed completely in Ruby 3.0. The same goes for object tainting, so OBJ_TAINTED is deprecated too.
The code should check the ruby version before doing that entire statement, or have some equivalent guard method or ifdef that has the same effect. I don't really know how, but if this doesn't get fixed I'm going to have to figure it out.