unix_utils 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +6 -0
- data/lib/unix_utils.rb +2 -1
- data/lib/unix_utils/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
data/lib/unix_utils.rb
CHANGED
@@ -240,7 +240,8 @@ module UnixUtils
|
|
240
240
|
bin = bin.to_s
|
241
241
|
return @@available_query[bin] if defined?(@@available_query) and @@available_query.is_a?(::Hash) and @@available_query.has_key?(bin)
|
242
242
|
@@available_query ||= {}
|
243
|
-
|
243
|
+
`which #{bin}`
|
244
|
+
@@available_query[bin] = $?.success?
|
244
245
|
end
|
245
246
|
|
246
247
|
def self.tmp_path(ancestor, extname = nil) # :nodoc:
|
data/lib/unix_utils/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unix_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: posix-spawn
|