rbfind 2.8 → 2.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/rbfind +0 -3
- data/lib/rbfind.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb4aa5b122fc89b6358e4da1e8df29ec7942e04e826f51d9a0f8816cdc718156
|
4
|
+
data.tar.gz: 7d31b7146665a01a6fe8229751a2b6d866ff36fc4779de79ba766391f2ab4d4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a07828435433ee962a54d2d9447fa5fcd171a3e1c8bcc28ecc338fcabc5a8e89dd753cbc2b9938e5e9dc5fba186be681555ead5a198bba924ba3b75d4ca52696
|
7
|
+
data.tar.gz: 238e1a4a07b9fbe4e7b33b9eb3ee438d52057ab81f735ed30672ef9123e144c9cac4d4c8f75c6f9b2107079233f75b4268da8770e7910ce2f9d07956b16931f5
|
data/bin/rbfind
CHANGED
@@ -358,9 +358,6 @@ module RbFind
|
|
358
358
|
error_handle do
|
359
359
|
eval @blkbegin if @blkbegin
|
360
360
|
b = @block
|
361
|
-
if not @args.empty? and @params[ :max_depth] then
|
362
|
-
@params[ :max_depth] -= 1
|
363
|
-
end
|
364
361
|
Walk.run *@args, **@params do instance_eval b end
|
365
362
|
eval @blkend if @blkend
|
366
363
|
end
|
data/lib/rbfind.rb
CHANGED
@@ -8,7 +8,7 @@ require "rbfind/csv"
|
|
8
8
|
|
9
9
|
module RbFind
|
10
10
|
|
11
|
-
VERSION = "2.8".freeze
|
11
|
+
VERSION = "2.8.1".freeze
|
12
12
|
|
13
13
|
=begin rdoc
|
14
14
|
|
@@ -343,7 +343,7 @@ Sort without case sensitivity and preceding dot:
|
|
343
343
|
end
|
344
344
|
|
345
345
|
def visit_dir dir
|
346
|
-
return if @params.max_depth and @params.max_depth
|
346
|
+
return if @params.max_depth and @params.max_depth <= @depth
|
347
347
|
list = (Dir.new dir).children.map { |f| Entry.new f, self }
|
348
348
|
@params.sort.call list
|
349
349
|
list.reverse! if @params.reverse
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbfind
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bertram Scharpf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
A replacement for the standard UNIX command find.
|