ip_lookup 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56f8d386f164038d905d0847f1d1854cd9769518de4d68198bb15dde3ff1140c
4
- data.tar.gz: 751cf470063f7754d35ee532b397c809745c7b8004358c6bcbef8c9e36362067
3
+ metadata.gz: 111ffdc27f8c86e94ce46db56a48ecf30cfa00ceb8a5a7dd3143dba347779743
4
+ data.tar.gz: 3adb39fd533363360c12791faef12e2bd381d1061c3f86eb7ba77475b2d5e8bc
5
5
  SHA512:
6
- metadata.gz: 726b74610936c5bdc280efde68d3b54946776911da19606e7d3be03f4619884c8ac6736e44f6e80152bf21c779755a28c84875316ad50222bcec4be75facc47a
7
- data.tar.gz: a2db8f5ca770924c3d60712dce1570e8f4d1c93a74db632c76bb91732258d6a09bcc0e7c293ba75dc91aaa92bb5caf6eff81a8c600dfda52efd9c42e0080448d
6
+ metadata.gz: 1c161032742b74a058185f64ed299b976ba05da8e2eaaf3ba3494e2179c804e15482cd0d5b9993f6b92cdf47a0ca1c9a61d9cc48858edd56f7c2ff6d5c796d87
7
+ data.tar.gz: 8b8c28972ba83c9126585fb3c7f5d8ddc79d007c177e74388e4e6195b0e2c6dc2792726cc9677a8bcf251b4cd1594411d8e93c09a9a68c1b7ff99c08acf4df32
@@ -49,7 +49,7 @@ class IPLookup
49
49
  private
50
50
 
51
51
  def sanitize(ip_address)
52
- ip_address.split(/\s*,\s*/).last
52
+ ip_address.split(/\s*,\s*/).first
53
53
  end
54
54
 
55
55
  def timezone_for(iso_code)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class IPLookup
4
- VERSION = "1.2.4"
4
+ VERSION = "1.2.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ip_lookup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ole Richter