rbbt-util 5.33.17 → 5.33.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rbbt/util/misc/system.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 972b137af2c124d5288389d49e188d3973246a912c0405c391cdb6b8a5987cae
|
|
4
|
+
data.tar.gz: 4744dc8f03a8230ad8d5f61f1d15f14c4e5635d5e3798be584083217269b88a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 34f7cbdd329d23341cc6591bfe19f584a4c50862c8fae6c2ccd8d72bcd76fbb129acbaa3bbb03e08eb633aa475d5d0eacb1a015e667db169ebf1f09e588ab579
|
|
7
|
+
data.tar.gz: 8110363114c606214d115ffb6475ce277dc3f605c1e8eafd97911a53cc259386ed6173d45cca4a5692b8e4ca0a89db71a77b6fb5eca69400b565b820a83a8d56
|
|
@@ -94,7 +94,7 @@ module Misc
|
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
def self.is_filename?(string, need_to_exists = true)
|
|
97
|
-
return false if string.nil?
|
|
97
|
+
return false if string.nil? or string.include? "\n"
|
|
98
98
|
return true if defined? Path and Path === string
|
|
99
99
|
return true if string.respond_to? :exists
|
|
100
100
|
return true if String === string and string.split("/").select{|p| p.length > 265}.empty? and (! need_to_exists || File.exist?(string))
|