Blame SOURCES/rubygem-activesupport-5.0.1-remove-warning-from-Bignum.patch

72d67b
From 8683ac5983ddfd8b47b6aac6ab51269611610f42 Mon Sep 17 00:00:00 2001
72d67b
From: =?UTF-8?q?Rafael=20Fran=C3=A7a?= <rafaelmfranca@gmail.com>
72d67b
Date: Sun, 13 Nov 2016 19:58:52 -0500
72d67b
Subject: [PATCH] Merge pull request #27033 from vipulnsward/fix-bignum-warning
72d67b
72d67b
Remove warning from Bignum constant access
72d67b
---
72d67b
 activesupport/test/core_ext/numeric_ext_test.rb | 1 -
72d67b
 1 file changed, 1 deletion(-)
72d67b
72d67b
diff --git a/activesupport/test/core_ext/numeric_ext_test.rb b/activesupport/test/core_ext/numeric_ext_test.rb
72d67b
index 69c30a8..79a4802 100644
72d67b
--- a/activesupport/test/core_ext/numeric_ext_test.rb
72d67b
+++ b/activesupport/test/core_ext/numeric_ext_test.rb
72d67b
@@ -425,7 +425,6 @@ def test_in_milliseconds
72d67b
 
72d67b
   # TODO: Remove positive and negative tests when we drop support to ruby < 2.3
72d67b
   b = 2**64
72d67b
-  b *= b until Bignum === b
72d67b
 
72d67b
   T_ZERO = b.coerce(0).first
72d67b
   T_ONE  = b.coerce(1).first