From cb3ddeca402ef9f3ec381c3ba1a0d0d593b80360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Thu, 23 May 2019 16:01:40 +0200 Subject: [PATCH] DEV: remove unnecessary requires --- lib/discourse_ip_info.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/discourse_ip_info.rb b/lib/discourse_ip_info.rb index 0f0ff8e4f5f..c2c72db9081 100644 --- a/lib/discourse_ip_info.rb +++ b/lib/discourse_ip_info.rb @@ -25,9 +25,6 @@ class DiscourseIpInfo end def self.mmdb_download(name) - require 'rubygems/package' - require 'zlib' - FileUtils.mkdir_p(path) uri = URI("https://geolite.maxmind.com/download/geoip/database/#{name}.tar.gz")