lib/pasv_lib.rb in pasv_lib-0.1.1 vs lib/pasv_lib.rb in pasv_lib-0.1.2
- old
+ new
@@ -1,7 +1,7 @@
require "pasv_lib/version"
-require "systemu"
+require File.join __dir__, "..", "vendor", "systemu"
module PasvLib
module CoreExtensions
module Time
def date_and_time fmt="%F %T.%L"
@@ -33,10 +33,10 @@
module Process
include CoreExtensions::Time
def run_it *a, &b
- exit_status, stdout, stderr = systemu *a, &b
+ exit_status, stdout, stderr = SystemUniversal::Run.systemu *a, &b
puts stdout unless stdout.empty?
unless stderr.empty? || stderr.include?("Insecure world writable dir")
$stderr.puts stderr