From c7935dcfaec18f4628101268b13b9509b6b412ba Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre Date: Mon, 24 Apr 2017 19:26:07 -0300 Subject: Does not freeze integer values --- lib/github/rate_limit.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/github') diff --git a/lib/github/rate_limit.rb b/lib/github/rate_limit.rb index 9dbdf2f4c68..38beb617173 100644 --- a/lib/github/rate_limit.rb +++ b/lib/github/rate_limit.rb @@ -1,7 +1,7 @@ module Github class RateLimit - SAFE_REMAINING_REQUESTS = 100.freeze - SAFE_RESET_TIME = 500.freeze + SAFE_REMAINING_REQUESTS = 100 + SAFE_RESET_TIME = 500 attr_reader :connection -- cgit v1.2.1