rbfind 1.7.1 → 1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rbfind.rb +2 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa963adbf03dfe7c4f52cf4ad13b97d8487ed5c1
4
- data.tar.gz: 02d28ba1afd4e8c5df2f0eff7c704302ee4f8d18
3
+ metadata.gz: 5ad1ea90993fab6b5755dde2f356913246a615d2
4
+ data.tar.gz: cefcd11a0a1d0bad1db056b83bf854fac75f8169
5
5
  SHA512:
6
- metadata.gz: 1e44b949748ea70b64259ea9c41bdf3c7be595cb294fd5a87049f3a84c2ccc82fb651505ccde85f94b5715aa519c3e484488ce78e8d3c3c2f001d8a0f463c459
7
- data.tar.gz: bd2701eb9b8bbf1e231a38e81c235b666864b618709ba1f9037b55abb70d93daab2b8331ad0bff61a6eae3fae53de3a47fcd6d490b6a71d319111c90420c5069
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.7.1".freeze
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.7.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-08-02 00:00:00.000000000 Z
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.