ehbrs_ruby_utils 0.12.1 → 0.12.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54140d1a239396122b8554925ae4a09d63baa410518ed9c01dad2af0095dd1f5
|
4
|
+
data.tar.gz: 22068ffc417f96c492fce8681727556acc12a8e92109492daa6f6ea6d957dcb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f7178cf59de3f899897637b64598c81a842e0a3fb0029e411395a74049cf9a4f9aaaed7e4fba2a59fe7677b113de5d4e2543cdb2811eea018fb1fcdeb23adb0
|
7
|
+
data.tar.gz: d80204e45d77da1402fd1ed65298952645c1ef22e2ae136ebda3086be5681e5861078c6dafbfb2b8832532bc5d853d0b609ad95dc5cceeb2cb03dfa2fca49c7f
|
@@ -1,5 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'eac_fs/traverser'
|
3
4
|
require 'eac_ruby_utils/core_ext'
|
4
5
|
|
5
6
|
module EhbrsRubyUtils
|
@@ -28,7 +29,16 @@ module EhbrsRubyUtils
|
|
28
29
|
|
29
30
|
# @return [Pathname]
|
30
31
|
def found_uncached
|
31
|
-
|
32
|
+
r = []
|
33
|
+
ft = ::EacFs::Traverser.new(
|
34
|
+
recursive: true,
|
35
|
+
hidden_directories: true,
|
36
|
+
check_file: lambda do |file|
|
37
|
+
r << file.parent if file.basename.to_path == filename.to_s
|
38
|
+
end
|
39
|
+
)
|
40
|
+
ft.check_path(root_path)
|
41
|
+
r.sort
|
32
42
|
end
|
33
43
|
end
|
34
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ehbrs_ruby_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo H. Bogoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha-parsers
|