rbfind 1.7.1 → 1.8
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/rbfind.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5ad1ea90993fab6b5755dde2f356913246a615d2
|
|
4
|
+
data.tar.gz: cefcd11a0a1d0bad1db056b83bf854fac75f8169
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca1803b87dd0ec6c1f3781555e3ad07920b380b561b627842c9c2e535e3e5c5b72b7c056c5af3d99957057959d3f53122b260a4f7e770fd47ec48f09832c38b6
|
|
7
|
+
data.tar.gz: 8694e27a954f2d629125e6f0afef8b5990ed04f68180c29616fe4ea4225a2f74e005d09fa4033eebf3e7c0f76853b6d8039f4ccd9b346733e3a86c4c4b778224
|
data/lib/rbfind.rb
CHANGED
|
@@ -277,7 +277,7 @@ Sort without case sensitivity and preceding dot:
|
|
|
277
277
|
|
|
278
278
|
class RbFind
|
|
279
279
|
|
|
280
|
-
VERSION = "1.
|
|
280
|
+
VERSION = "1.8".freeze
|
|
281
281
|
|
|
282
282
|
class <<self
|
|
283
283
|
private :new
|
|
@@ -323,6 +323,7 @@ class RbFind
|
|
|
323
323
|
@start, @count = Time.now, count
|
|
324
324
|
@wd = Dir.getwd
|
|
325
325
|
if path then
|
|
326
|
+
@max_depth += 1 if @max_depth
|
|
326
327
|
File.lstat path
|
|
327
328
|
@wd = nil unless absolute_path? path
|
|
328
329
|
@levels.push path
|
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: 1.
|
|
4
|
+
version: '1.8'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bertram Scharpf
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-10-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: |
|
|
14
14
|
A replacement for the standard UNIX command find.
|