files.com 1.0.38 → 1.0.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/lib/files.com/models/folder.rb +4 -4
- 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: ba2a7329677d424a14d08d028ff1350868d60d840f81d2a03c26e05ed54fdf7f
|
4
|
+
data.tar.gz: 493f62a6f2f4a7ff6b6789e12dded92bc679541f4c164d41f822487058889b3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75175132b519ac32912be56cd13a5743d528ddde1c15a5b7ef2927a7c2c6a3f2bcff3305359e9f5bce5db820e09a9da63053580754beb838bed0066f928ee910
|
7
|
+
data.tar.gz: 44aefca6a991161fd2ef1a5adf15465a7be937a3bcd973a24f39a9d45c8c52a10dc35fa5225941af1ef94f06ecd35c82520c83f7c67d4280bce76aacd64f375d
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.39
|
@@ -52,18 +52,18 @@ module Files
|
|
52
52
|
File.find(path, params, options)
|
53
53
|
end
|
54
54
|
|
55
|
-
def self.find_recursive(path, type = "dir")
|
55
|
+
def self.find_recursive(path, type = "dir", params = {}, options = {})
|
56
56
|
return path if type == "file"
|
57
57
|
|
58
|
-
|
58
|
+
list_for(path, params, options).map { |c| find_recursive(c.path, c.type, params, options) }.flatten.compact
|
59
59
|
end
|
60
60
|
|
61
61
|
def self.get(path, params = {}, options = {})
|
62
62
|
File.get(path, params, options)
|
63
63
|
end
|
64
64
|
|
65
|
-
def self.foreach(path, _encoding)
|
66
|
-
|
65
|
+
def self.foreach(path, _encoding = "", params = {}, options = {})
|
66
|
+
list_for(path, params, options).each { |x| yield x }
|
67
67
|
end
|
68
68
|
|
69
69
|
def self.getwd(*_args)
|