rbfind 2.1 → 2.1.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rbfind +1 -0
  3. data/lib/rbfind.rb +3 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ccb45a241d65a9dadc83c1ba5a72515f2165d18bf84564e15fad687010221a8
4
- data.tar.gz: aef115794fdd548ba799413611e39964eca2c9ce9dc10d7ee355e95c52af1ff9
3
+ metadata.gz: ceecae8ade339a4cd276462cda193baa69a5c956ae942fe421861f333913bdad
4
+ data.tar.gz: e362ee60d3078d1325512cb78607a2d7f6b9e4b5d45c7eb2f2ca41547c931d43
5
5
  SHA512:
6
- metadata.gz: 95c622fbc6cadf9b86eafa357c1a3dadbdb9ca8df85a83569e2855254c38bc219c11fc4e6a2c59dbeb730ff0f7e6b3133e8e5827158821c8d7ad9d6e3b03be04
7
- data.tar.gz: f7d5151eb5402104aa7cedc31e932ec9471b0d73df230a1b7943c664ba3d2be98c8bf340624c9c6779330776eefea64241b0cdf449dd61d5ecea70c8625dd4a2
6
+ metadata.gz: 12e0872e576fd9fda282631373c95d8ab8b91781828c07190d466ae1e2829f99a07d4c2dc36ba47298f4ccf27eec8049d4210ddfb7c1bb3a6578871247a77cd7
7
+ data.tar.gz: 4c0aada931ba589b63a9578711c2b2f808c1551c66d849679b43afca801dc57fb83cb8ccd11801481c7928ed014493b7b15863625d9842631f431b2a6d12937a
data/bin/rbfind CHANGED
@@ -369,6 +369,7 @@ module RbFind
369
369
  alias hidden hidden?
370
370
  alias visible visible?
371
371
  alias broken_link broken_link?
372
+ alias broken broken?
372
373
  alias dir dir?
373
374
  alias binary binary?
374
375
  alias bin bin?
@@ -8,7 +8,7 @@ require "rbfind/csv"
8
8
 
9
9
  module RbFind
10
10
 
11
- VERSION = "2.1".freeze
11
+ VERSION = "2.1.1".freeze
12
12
 
13
13
  =begin rdoc
14
14
 
@@ -519,12 +519,13 @@ Sort without case sensitivity and preceding dot:
519
519
  def readlink ; File.readlink @path if stat.symlink? ; end
520
520
 
521
521
  def broken_link?
522
- return if stat.symlink?
522
+ return unless stat.symlink?
523
523
  rstat
524
524
  false
525
525
  rescue
526
526
  true
527
527
  end
528
+ alias broken? broken_link?
528
529
 
529
530
  ARROW = " -> "
530
531
  def arrow
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: '2.1'
4
+ version: 2.1.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: 2020-07-20 00:00:00.000000000 Z
11
+ date: 2020-07-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  A replacement for the standard UNIX command find.