From ffd0820ab317542f8780aac475da590a4bdbc7a8 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Tue, 24 Sep 2019 20:59:12 -0700 Subject: Deprecate taint/trust and related methods, and make the methods no-ops This removes the related tests, and puts the related specs behind version guards. This affects all code in lib, including some libraries that may want to support older versions of Ruby. --- rational.c | 1 - 1 file changed, 1 deletion(-) (limited to 'rational.c') diff --git a/rational.c b/rational.c index bd71c215ee..c606f3c625 100644 --- a/rational.c +++ b/rational.c @@ -1853,7 +1853,6 @@ nurat_marshal_load(VALUE self, VALUE a) VALUE num, den; rb_check_frozen(self); - rb_check_trusted(self); Check_Type(a, T_ARRAY); if (RARRAY_LEN(a) != 2) -- cgit v1.2.1