ip2proxy_ruby 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c892658fc2d74fec8e6452e2b24ff01a09213c8
4
- data.tar.gz: ebfb559012c9cb960af43be15a32f9a4c8db8c8b
3
+ metadata.gz: 0a2cf510b7ddcab2839fb65cb24544e4a8a09493
4
+ data.tar.gz: d113829de4191c7e1f568519dd1cd3e60dd28eef
5
5
  SHA512:
6
- metadata.gz: 63ac078d172c87f5af0ab76c49891ae8628875da2e6cad969b3519534592ce0127e9463c0e507a673b496519398ead88ae0c7101146196c47e07498b3f78c242
7
- data.tar.gz: 20c9df73a1191f037c72dafe5ca07119cb5faa7425c2b4bfd08c932cc5432cc723ce249b708a9d6c7696aed6b891e19ea0f9194d790cd36b587ea3a0f67f1bb5
6
+ metadata.gz: 42f3216df69b0bd061343aba038cab7673dd090dd1a3307384fd2b6a6f3fcea06ac4ba6dfa183030e54d96072dc3759b57a4faee21841e393370d6660bca58c2
7
+ data.tar.gz: b37601fa67fce773724fbb688c8b7c3acb603cf70a4a3079ed82977b91b41e1ec531a484409fe366142b6efd05d96dbe707dbc32504aedfd19648f41bdbfd7ae
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ip2proxy_ruby (1.0.0)
4
+ ip2proxy_ruby (1.0.1)
5
5
  bindata
6
6
 
7
7
  GEM
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "ip2proxy_ruby"
5
- s.version = "1.0.0"
5
+ s.version = "1.0.1"
6
6
  s.authors = ["ip2location"]
7
7
  s.email = ["support@ip2location.com"]
8
8
 
@@ -2,9 +2,9 @@ class Ip2proxyConfig < BinData::Record
2
2
  endian :little
3
3
  uint8 :databasetype
4
4
  uint8 :databasecolumn
5
- uint8 :databaseday
6
- uint8 :databasemonth
7
5
  uint8 :databaseyear
6
+ uint8 :databasemonth
7
+ uint8 :databaseday
8
8
  # uint32 :databasecount
9
9
  # uint32 :databaseaddr
10
10
  # uint32 :ipversion
data/lib/ip2proxy_ruby.rb CHANGED
@@ -9,7 +9,7 @@ require_relative 'ip2proxy_ruby/ip2proxy_record'
9
9
  class Ip2proxy
10
10
  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
11
11
 
12
- VERSION = '1.0.0'
12
+ VERSION = '1.0.1'
13
13
  FIELD_NOT_SUPPORTED = 'NOT SUPPORTED'
14
14
  INVALID_IP_ADDRESS = 'INVALID IP ADDRESS'
15
15
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ip2proxy_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ip2location
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-14 00:00:00.000000000 Z
11
+ date: 2016-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bindata