lib/ip2proxy_ruby.rb in ip2proxy_ruby-1.0.0 vs lib/ip2proxy_ruby.rb in ip2proxy_ruby-1.0.1
- old
+ new
@@ -7,10 +7,10 @@
require_relative 'ip2proxy_ruby/ip2proxy_record'
class Ip2proxy
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
- VERSION = '1.0.0'
+ VERSION = '1.0.1'
FIELD_NOT_SUPPORTED = 'NOT SUPPORTED'
INVALID_IP_ADDRESS = 'INVALID IP ADDRESS'
def open(url)
self.file = File.open(File.expand_path url, 'rb')
\ No newline at end of file