taobao_geoip 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDM4YmY2NGQwYjg1YjU4NDhlNDMxYWUwNWI5NGUzZTEwOTljNmViYQ==
4
+ ZjNmZDMxYzg1ZWQxNjMzZDA0YTYxMDI5OTIwODc0ZDE4MzlkODI2Nw==
5
5
  data.tar.gz: !binary |-
6
- ZThhMDA0ODY1Y2U5MWYyOGZmOWY5NjJlOGJjMTc3YzYxYmRmNTFlOA==
6
+ MDRiODU2MmY4OWFkNTQyZDFmNTZiZDcwNmMzMDlhMmUwOGMzMGQ0MA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZjQyZDM2NDk4NzQzMGMyNDM1YTNkYjQ1MmZhYzQ4NTJjNmJjMTFmNDI3NTQx
10
- MTU3NWRlOTM2OTU5ZDY3ODMzZmFkMTNkZWQxMmNmNGY5ODRiYmQxNzQ1ZDJm
11
- NjFiYzUyMmQ0YzljZWE2ZmQ0NWFmZjEyYTMzOTQyYjllOWI3NjI=
9
+ YjJkNTc3NjM2MjliM2Q2ZTM1MmU1Zjk3Y2ViYjcxYmJkYjQ2NmMyYmIwODUz
10
+ YjVmYzljOTVhMDQ2Y2VkNjYyZWFiNzJlZmQyODJlZWQ5MDcxODE5YTViODEx
11
+ MDY5YWU2NmY4ZDFkMDJkMTA3MWUwOGZiNTc3ZGEwYThiN2FhZGI=
12
12
  data.tar.gz: !binary |-
13
- YmY2N2Y5MzBhYTYwZGY0YmNhNGMzMGZhNTFlMjhlYWRiMzhkMWE1MTAyNjlj
14
- NjQ5NDE3OThkMGFmNzEwNjJlM2JmYzM0ZTBiMWI5Y2YyMzU1ZmYzN2Q0NWZm
15
- NjczNTRmY2NlOWU5YTg2OTI0ZmZkNzA5N2VhZTM3ZDI2YTMxNmQ=
13
+ MjY2YjMzNWJhMDdjMDdhN2NjM2Y5Y2JmYzVlOTU0M2I2ZGMzNWNiYjFiNmVm
14
+ MDI0MmUxOWQxN2I1NGQzMTYxMWU2MmY0N2UxNjBjOGI1ZjNkM2NmNjkzOTQ5
15
+ MzQ4MmJkNzI4MjFiMWZjOTRkY2QxYWZkMzA1MzAzMDMyMjNjOTY=
@@ -1,3 +1,3 @@
1
1
  module TaobaoGeoip
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/taobao_geoip.rb CHANGED
@@ -2,7 +2,7 @@ require "taobao_geoip/version"
2
2
  require "open-uri"
3
3
  require 'json'
4
4
 
5
- class TaobaoGeoip
5
+ class TaobaoGeoIP
6
6
  BaseURL = 'http://ip.taobao.com/service/getIpInfo.php?ip='
7
7
  attr_reader :ip
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taobao_geoip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - NaixSpirit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-03 00:00:00.000000000 Z
11
+ date: 2013-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler