cowtech-lib 1.9.1.2 → 1.9.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/cowtech-lib.gemspec +1 -1
- data/lib/cowtech-lib/shell.rb +2 -1
- data/lib/cowtech-lib/version.rb +1 -1
- metadata +2 -2
data/cowtech-lib.gemspec
CHANGED
data/lib/cowtech-lib/shell.rb
CHANGED
@@ -110,7 +110,8 @@ module Cowtech
|
|
110
110
|
if args[:file] then
|
111
111
|
rv = true
|
112
112
|
tests.each do |test|
|
113
|
-
|
113
|
+
method = (test.to_s + "?").to_sym
|
114
|
+
rv = rv && (FileTest.respond_to?(method) ? FileTest.send(method, args[:file]) : false)
|
114
115
|
end
|
115
116
|
end
|
116
117
|
|
data/lib/cowtech-lib/version.rb
CHANGED