Skip to content

Commit 0f901d7

Browse files
committed
Fixed getDatabaseVersion error.
1 parent 40cd8a3 commit 0f901d7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ip2proxy_ruby.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |s|
44
s.name = "ip2proxy_ruby"
5-
s.version = "1.0.0"
5+
s.version = "1.0.1"
66
s.authors = ["ip2location"]
77
s.email = ["[email protected]"]
88

lib/ip2proxy_ruby.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class Ip2proxy
1010
attr_accessor :record_class4, :record_class6, :v4, :file, :db_index, :count, :base_addr, :ipno, :record, :database, :columns, :ip_version, :ipv4databasecount, :ipv4databaseaddr, :ipv4indexbaseaddr, :ipv6databasecount, :ipv6databaseaddr, :ipv6indexbaseaddr, :databaseyear, :databasemonth, :databaseday
1111

12-
VERSION = '1.0.0'
12+
VERSION = '1.0.1'
1313
FIELD_NOT_SUPPORTED = 'NOT SUPPORTED'
1414
INVALID_IP_ADDRESS = 'INVALID IP ADDRESS'
1515

lib/ip2proxy_ruby/ip2proxy_config.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ class Ip2proxyConfig < BinData::Record
22
endian :little
33
uint8 :databasetype
44
uint8 :databasecolumn
5-
uint8 :databaseday
6-
uint8 :databasemonth
75
uint8 :databaseyear
6+
uint8 :databasemonth
7+
uint8 :databaseday
88
# uint32 :databasecount
99
# uint32 :databaseaddr
1010
# uint32 :ipversion

0 commit comments

Comments
 (0)