geo-lite-city 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/geo.rb CHANGED
@@ -13,7 +13,7 @@ module Geo
13
13
  def self.city(ip)
14
14
  # Use some global IP if we are running locally.
15
15
  if !ip || ip == "127.0.0.1"
16
- ip = "www.heise.de"
16
+ ip = "193.99.144.85"
17
17
  end
18
18
 
19
19
  if city = instance.city(ip)
data/lib/geo/etest.rb CHANGED
@@ -22,7 +22,7 @@ module Geo::Etest
22
22
 
23
23
  def test_geoip_heise
24
24
  assert_equal Geo.city("127.0.0.1"),
25
- :request => "www.heise.de",
25
+ :request => "193.99.144.85",
26
26
  :ip => "193.99.144.85",
27
27
  :country_code2 => "DE",
28
28
  :country_code3 => "DEU",
data/lib/geo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Geo
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geo-lite-city
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-21 00:00:00.000000000 Z
12
+ date: 2013-07-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: geoip
@@ -55,7 +55,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
55
55
  version: '0'
56
56
  segments:
57
57
  - 0
58
- hash: 1806988417301298879
58
+ hash: 2540758688009425679
59
59
  required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  none: false
61
61
  requirements: