best_ip 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module BestIp
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/best_ip.rb CHANGED
@@ -2,7 +2,7 @@ require "best_ip/version"
2
2
 
3
3
  module BestIp
4
4
  class IpSearch
5
- def initialize(file='lib/qqwry.dat')
5
+ def initialize(file='lib/ipdate.dat')
6
6
  filename = file
7
7
  @file = File.open(filename,"r")
8
8
  @index_first,@index_last = @file.read(8).unpack('L2')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: best_ip
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:
@@ -26,7 +26,6 @@ files:
26
26
  - best_ip.gemspec
27
27
  - lib/best_ip.rb
28
28
  - lib/best_ip/version.rb
29
- - lib/qqwry.dat
30
29
  homepage: ''
31
30
  licenses: []
32
31
  post_install_message:
data/lib/qqwry.dat DELETED
Binary file