File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff 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' ] )
Original file line number Diff line number Diff 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' ] )
Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments