posix-fileutils 0.1.17 → 0.1.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 +8 -8
- data/lib/posix-fileutils/fileutils.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YWU4NTYzODI1NWU1ZTRlNGVhOTY1MDA3MTAzNGFjNDNhNGFiZTQxOQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
M2U3N2RjZWEyYWE0NDg5YTQzNTA2NWYzZmRlZmNkMGNlYjAwODRjZQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MmFmMWM0YWI0MTkyMmIzM2IzMDU4ZTc1Y2ExOTVkMjIzYjFlYWE0YWZhNGE0
|
|
10
|
+
YWQwMmE1NWI2OWQ1NmQ0YWViMzYwN2Y0MzA5N2RhNjYwODZlNWMwOTBmYjAy
|
|
11
|
+
Y2RiN2FlYmU0NmExZjRhYmE4N2E3YzAxY2QxMWU5YzMxY2FiMDI=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
OTJiYTI2NDhjMmMwMTQ4YzI0NWU4YmQ0ODY2NmQzOWNlOTJlZmZiZDhjNmNj
|
|
14
|
+
M2M1ZTQ5Y2RlNDE0Y2M4OTZmNzY4MzIxODUxZjI0YzYwZWM4MjZhNzZkYzBi
|
|
15
|
+
ZWFlZTQ3NzdlYTQxMDdmYzhlYjFiZmRlNTFjOTIxYzM3NDk5MDQ=
|
|
@@ -82,7 +82,7 @@ module Fs
|
|
|
82
82
|
|
|
83
83
|
src, dst, opts = parse_cp_args src, dst, *opts
|
|
84
84
|
|
|
85
|
-
opts << :r if src.a? ? src.inject(false) do |a,p| p.directory? | a end : src.directory?
|
|
85
|
+
opts << :r if src.a? ? (src.inject(false) do |a,p| p.directory? | a end) : src.directory?
|
|
86
86
|
|
|
87
87
|
Kernel.system "cp #{opts.to_s}#{src.to_s} #{dst.to_s}"
|
|
88
88
|
end
|
|
@@ -174,7 +174,7 @@ module Fs
|
|
|
174
174
|
list, opts = parse_list_args list, *opts
|
|
175
175
|
opts.flags = [:v, :f, :r]
|
|
176
176
|
|
|
177
|
-
opts << :r if list.a? ? list.inject(false) do |a,p| p.directory? | a end : list.directory?
|
|
177
|
+
opts << :r if list.a? ? (list.inject(false) do |a,p| p.directory? | a end) : list.directory?
|
|
178
178
|
|
|
179
179
|
Kernel.system "rm #{opts.to_s}#{list.to_s}"
|
|
180
180
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: posix-fileutils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.18
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- A. Levenkov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-06-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: FileUtils library
|
|
14
14
|
email: artem@levenkov.org
|