posix-fileutils 0.1.12 → 0.1.14
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 +8 -8
- data/lib/posix-fileutils/fileutils.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZDE2ODkxYTZiMDVkMDEzZGFkYzQzMTI1OTMwZTI4ODRkMmMxZjNlZg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MWUxYjk0MzNlMmQwMDE1NTVjZTFlN2I5N2MyZjEwNzc3MmI1ZThkOA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
OGIwYzE2ZGY4MzI5MTAzMzM0MjZlYTIwOTMzN2VhNTJlZjZiNjMxYWMxMzlk
|
|
10
|
+
ODZhNDk4MGJiZjE3NWVjNzlmMjUyYmNlYzczN2M4NTQ1YmQ0OWMxMmNjM2E5
|
|
11
|
+
NjE5NDhlNmVmNzNjNDU0MThmZWVjOTk4NmEyZTFhNTdhNjUzZDE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MzAxMGE2OTczYTZlNTBkNmYwOTFlMjZlYWRlOTQxZGRhYjc0MjBlOWQ5ZWQx
|
|
14
|
+
NTU4NjQ1MzY2MjVkZWEyZTNiMDVhYjM0NzExYjQ0YjgwNTNlNTYwZDVmYTk5
|
|
15
|
+
NjliZGE1MzFmZTg0NDg4MTY5Mjg0YWY2NDEwNTJjNWMxNjQ4NzM=
|
|
@@ -194,14 +194,14 @@ module Fs
|
|
|
194
194
|
end
|
|
195
195
|
|
|
196
196
|
def self.touch list, *opts
|
|
197
|
-
opts = opts.to_set
|
|
198
|
-
|
|
199
197
|
list, opts = parse_list_args list, *opts
|
|
200
198
|
opts.flags = [:v]
|
|
201
199
|
|
|
200
|
+
opts = opts.to_set
|
|
201
|
+
|
|
202
202
|
res = Kernel.system "touch #{list.to_s}"
|
|
203
203
|
|
|
204
|
-
puts "touched files #{list.to_s}" if opts.include? :v
|
|
204
|
+
puts "touched files #{list.to_s}" if (opts|@defopts.to_set).include? :v
|
|
205
205
|
|
|
206
206
|
res
|
|
207
207
|
end
|