geo_db 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/lib/GeoLiteCity.dat +0 -0
  3. data/lib/geo_db.rb +5 -0
  4. metadata +45 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c9a01f97fc7c0f7ce54387eea1a961ac6538c51c
4
+ data.tar.gz: dccabb813ac36f30205014497224600eef02e7ee
5
+ SHA512:
6
+ metadata.gz: c38dd35778d0689d6dfd9df98ffb49c2eeb5475ab21de1b11fd9beca344269de38de042cfdd8356eec3a5c24c32a35c57aa57a119f34048c438971136b4cbf8a
7
+ data.tar.gz: cfd0c18a9826e2bca27fb2dd3439b8c9779b3febdb98126b1e9377610856332b62a52882fff64561c0c715b0c41318538e1fb0fa5ae16826b0fdd67584a09153
Binary file
data/lib/geo_db.rb ADDED
@@ -0,0 +1,5 @@
1
+ class GeoDB
2
+ def self.path
3
+ File.expand_path('../GeoLiteCity.dat', __FILE__)
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: geo_db
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jingshuai
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-01-04 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: GeoIP city database
14
+ email: wjs_linux@163.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/GeoLiteCity.dat
20
+ - lib/geo_db.rb
21
+ homepage: https://github.com/vcamvr/geo_db
22
+ licenses:
23
+ - MIT
24
+ metadata: {}
25
+ post_install_message:
26
+ rdoc_options: []
27
+ require_paths:
28
+ - lib
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ requirements: []
40
+ rubyforge_project:
41
+ rubygems_version: 2.5.1
42
+ signing_key:
43
+ specification_version: 4
44
+ summary: GeoIP city
45
+ test_files: []