geoip 1.3.4 → 1.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/geoip.gemspec +3 -3
  3. data/lib/geoip.rb +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGVjZjkwZDUwYTYyYWE2NWJlNWE2Mjc5NGY5NDYwODc4MTY0YTRhMw==
4
+ M2RkZmNiODFiYjM5OTc5ZmNlMzFiYmViMWU1ODVkZjkyY2MzNDZlYw==
5
5
  data.tar.gz: !binary |-
6
- MmMzMWI5ODg0Yjc5MDgyNWVkZjM4NzI3YmI2ZjgwYjM4ZmY3MmMxOA==
6
+ YTY4MjNlNDUzNWFlZTAyZTA3NThhMzFjNzcyODc4MGYzNzk4ZjBmZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDcyNDUzYzZhNzA2Njg0MDEzMjg0ZTM2NjVjMjQ4NzQzNDcwZDcxNDkyMmQx
10
- ODIyOGJlMTI1NzBlNWNjMDdiMWFlZWViZTk5ZTE1ZTVmNTU2Zjg4ZGJkODRl
11
- NmEyYzQyYmUwODZjMzlhOGIwMTE4NjY5YjNmNjgyNjIzNTJlMWQ=
9
+ MGY4ODA1ZTg4MjYwMDMxNTQ2NDNmMGI3YzRkNzVjMTVkNzBhNGI2NzgxZDI5
10
+ NjY3MzJiYTA4ZmE3NjJhNTY1ZjE0MDlhMjZkNDExZjJmYzIzMzQyZDA1ZDUx
11
+ N2IwNWY3OWMwNzlkYjQ3MGM3YjUxYzE1ZjQzNjI3Zjg1MzAzNDU=
12
12
  data.tar.gz: !binary |-
13
- MDE3MDcwNjE1ZDRiMjM3NGJlMDQ3ODljMzgwNWQyOTFmN2Q5YmNhNGE0YTk5
14
- NGI2ZDVmMGRjODE1ZjI3NDRlZWYwOWEyYmFlM2I2YTQzZTUxMTlhNmM4ZjBl
15
- MDA3YTI2NWFlOTY4ZWY4ZjA3ZWZhYTAzMTZhZDc1YWRiMzAyNDg=
13
+ ZDExNTRiOGY2NjU0OGQyNGFlYWRjNjhhY2MzODg5YWQ3MmE3YTBjNDI3OGM5
14
+ ZjgwODI0M2Y3OWIwOTk3NDYxZGQ1OGI2ZWMxMGIwYzljOTFkMDkwNTJmM2Q2
15
+ YjY5ZjE1NmQyZGUwMDAxMjViMzkxMGEwM2ExYjlkOTNlZDBkOGU=
data/geoip.gemspec CHANGED
@@ -2,15 +2,15 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: geoip 1.3.4 ruby lib
5
+ # stub: geoip 1.3.5 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "geoip"
9
- s.version = "1.3.4"
9
+ s.version = "1.3.5"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["Clifford Heath", "Roland Moriz"]
13
- s.date = "2013-12-16"
13
+ s.date = "2013-12-20"
14
14
  s.description = "GeoIP searches a GeoIP database for a given host or IP address, and\nreturns information about the country where the IP address is allocated,\nand the city, ISP and other information, if you have that database version."
15
15
  s.email = ["clifford.heath@gmail.com", "rmoriz@gmail.com"]
16
16
  s.executables = ["geoip"]
data/lib/geoip.rb CHANGED
@@ -58,7 +58,7 @@ require 'yaml'
58
58
  class GeoIP
59
59
 
60
60
  # The GeoIP GEM version number
61
- VERSION = "1.3.4"
61
+ VERSION = "1.3.5"
62
62
 
63
63
  # The +data/+ directory for geoip
64
64
  DATA_DIR = File.expand_path(File.join(File.dirname(__FILE__),'..','data','geoip'))
@@ -154,7 +154,7 @@ class GeoIP
154
154
 
155
155
  end
156
156
 
157
- class ISP < Struct.new(:lsp)
157
+ class ISP < Struct.new(:isp)
158
158
  def to_hash
159
159
  Hash[each_pair.to_a]
160
160
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geoip
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clifford Heath
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-16 00:00:00.000000000 Z
12
+ date: 2013-12-20 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! 'GeoIP searches a GeoIP database for a given host or IP address, and
15
15