lib/windows/sys/filesystem.rb in sys-filesystem-1.1.3 vs lib/windows/sys/filesystem.rb in sys-filesystem-1.1.4

- old
+ new

@@ -1,8 +1,8 @@ -require File.join(File.dirname(__FILE__), 'filesystem', 'constants') -require File.join(File.dirname(__FILE__), 'filesystem', 'functions') -require File.join(File.dirname(__FILE__), 'filesystem', 'helper') +require_relative 'filesystem/constants' +require_relative 'filesystem/functions' +require_relative 'filesystem/helper' require 'socket' require 'win32ole' require 'date' require 'time' @@ -17,11 +17,11 @@ # Error typically raised if any of the Sys::Filesystem methods fail. class Error < StandardError; end # The version of the sys-filesystem library. - VERSION = '1.1.3' + VERSION = '1.1.4' class Mount # The name of the volume. This is the device mapping. attr_reader :name @@ -426,10 +426,6 @@ # # Returns +num+ in terms of terabytes. def to_tb self / 1099511627776 end -end - -if $0 == __FILE__ - p Sys::Filesystem.stat("C:/Users/djberge") end