rbfind 1.3.1 → 1.3.2
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/rbfind.rb +4 -9
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YzgxMDEyZjc3MGY1YTdkZmRmOTMyMmMzMTQwMDIzOWE1MGUwZDEyYg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZjMyODgzN2U0NGVjNDZiYWRkOTkwZTRlODZjYTcwMjhjYWI5MjNjYw==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MDUxNjE4Y2Y5NThhZmE0ODUwOTYxMDMyYjEwYTM2NGY1NDJjZDdjYzQ4MjY5
|
|
10
|
+
MDdmNmNkMGY0MDU4MDAwODUyZTAyODlmNGZjMWFhNGQ3ZTQzYTRiYTQ5NmZi
|
|
11
|
+
Y2I3NzU4MGYyZTYwOWJjMTcyZGFlM2Y1NTdkYzIwMzc2NTc3ODI=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
Yzk4YWQyMGVjMTg3YTdhOWI0ODhmZmU2YWYyYjAxNDA2YjEyOGQ2MTZlODg5
|
|
14
|
+
MGU4Nzk1OGQ0ZmIyM2JjMDI4NGUwZTA1M2E0YWFiNzg0ODAwZjE5ZTc2N2Yx
|
|
15
|
+
NGUwYThlNzg0MTgwYWIzYWFmNTM1ZDRlNmViY2UzODRiYzliZGQ=
|
data/lib/rbfind.rb
CHANGED
|
@@ -249,7 +249,7 @@ Sort without case sensitivity and preceding dot:
|
|
|
249
249
|
|
|
250
250
|
class RbFind
|
|
251
251
|
|
|
252
|
-
VERSION = "1.3.
|
|
252
|
+
VERSION = "1.3.2"
|
|
253
253
|
|
|
254
254
|
class <<self
|
|
255
255
|
private :new
|
|
@@ -518,6 +518,7 @@ class RbFind
|
|
|
518
518
|
end
|
|
519
519
|
end
|
|
520
520
|
|
|
521
|
+
autoload :Etc, "etc"
|
|
521
522
|
|
|
522
523
|
# :call-seq:
|
|
523
524
|
# user() -> str
|
|
@@ -526,7 +527,7 @@ class RbFind
|
|
|
526
527
|
#
|
|
527
528
|
def user
|
|
528
529
|
u = stat.uid
|
|
529
|
-
(
|
|
530
|
+
(Etc.getpwuid u).name rescue u.to_s
|
|
530
531
|
end
|
|
531
532
|
alias owner user
|
|
532
533
|
|
|
@@ -537,7 +538,7 @@ class RbFind
|
|
|
537
538
|
#
|
|
538
539
|
def group
|
|
539
540
|
g = stat.gid
|
|
540
|
-
(
|
|
541
|
+
(Etc.getgrgid g).name rescue g.to_s
|
|
541
542
|
end
|
|
542
543
|
|
|
543
544
|
|
|
@@ -879,12 +880,6 @@ class RbFind
|
|
|
879
880
|
# end
|
|
880
881
|
end
|
|
881
882
|
|
|
882
|
-
def etc
|
|
883
|
-
Etc
|
|
884
|
-
rescue NameError
|
|
885
|
-
require "etc" and retry
|
|
886
|
-
end
|
|
887
|
-
|
|
888
883
|
class <<self
|
|
889
884
|
def find *args
|
|
890
885
|
raise NotImplementedError, "This is not the standard Find."
|
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.3.
|
|
4
|
+
version: 1.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bertram Scharpf
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-10-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: ! 'A replacement for the standard UNIX command find.
|
|
14
14
|
|
|
@@ -32,7 +32,7 @@ files:
|
|
|
32
32
|
- LICENSE
|
|
33
33
|
- bin/rbfind
|
|
34
34
|
- Rakefile
|
|
35
|
-
homepage: http://www.bertram-scharpf.de
|
|
35
|
+
homepage: http://www.bertram-scharpf.de/software/rbfind
|
|
36
36
|
licenses:
|
|
37
37
|
- BSD
|
|
38
38
|
metadata: {}
|
|
@@ -42,7 +42,6 @@ rdoc_options:
|
|
|
42
42
|
- utf-8
|
|
43
43
|
- --main
|
|
44
44
|
- README
|
|
45
|
-
- README
|
|
46
45
|
require_paths:
|
|
47
46
|
- lib
|
|
48
47
|
required_ruby_version: !ruby/object:Gem::Requirement
|