Skip to content

Commit 703ff3d

Browse files
committed
Fix rubocop lints
1 parent ed48afe commit 703ff3d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lib/maxmind/geoip2/model/city.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class City < Country
4646

4747
# @!visibility private
4848
def initialize(record, locales)
49-
super(record, locales)
49+
super
5050
@city = MaxMind::GeoIP2::Record::City.new(record['city'], locales)
5151
@location = MaxMind::GeoIP2::Record::Location.new(record['location'])
5252
@postal = MaxMind::GeoIP2::Record::Postal.new(record['postal'])

lib/maxmind/geoip2/record/traits.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module Record
1212
class Traits < Abstract
1313
# @!visibility private
1414
def initialize(record)
15-
super(record)
15+
super
1616
if record && !record.key?('network') && record.key?('ip_address') &&
1717
record.key?('prefix_length')
1818
ip = IPAddr.new(record['ip_address']).mask(record['prefix_length'])

maxmind-geoip2.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ Gem::Specification.new do |s|
2626
}
2727
s.required_ruby_version = '>= 3.0'
2828

29-
s.add_runtime_dependency 'connection_pool', ['~> 2.2']
30-
s.add_runtime_dependency 'http', '>= 4.3', '< 6.0'
31-
s.add_runtime_dependency 'maxmind-db', ['~> 1.2']
29+
s.add_dependency 'connection_pool', ['~> 2.2']
30+
s.add_dependency 'http', '>= 4.3', '< 6.0'
31+
s.add_dependency 'maxmind-db', ['~> 1.2']
3232

3333
s.add_development_dependency 'minitest'
3434
s.add_development_dependency 'rake'

0 commit comments

Comments
 (0)