rbbt-util 5.17.88 → 5.17.89
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/resource/path.rb +2 -1
- data/lib/rbbt/resource/util.rb +1 -0
- 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: 56653aeb0297a9c75d251c516332e80d4c8dab3d
|
4
|
+
data.tar.gz: c15ac190a4700594eee5d50e72ee0a28446f339a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e8f2f8eae1892499a33dba6d43c28cfa65065e6df074a3728e937bae108ba6e1929a12545022f02708a62b25bc6abd0f9fa576dd6cc8ad76770115a60e4ac4e
|
7
|
+
data.tar.gz: 3727fb8076c8e6ac692d947d19abae675198c2795d508c652fcd7a34c1febe96a624c5b6697ba1b3eedaeefec119c17371c907cc79b6b4f1df5436e7abd6f067
|
data/lib/rbbt/resource/path.rb
CHANGED
@@ -94,7 +94,8 @@ module Path
|
|
94
94
|
def find(where = nil, caller_lib = nil, paths = nil)
|
95
95
|
@path ||= {}
|
96
96
|
rsearch_paths = (resource and resource.respond_to?(:search_paths)) ? resource.search_paths : nil
|
97
|
-
|
97
|
+
key_elems = [where, caller_lib, rsearch_paths, paths]
|
98
|
+
key = Misc.digest(key_elems.inspect)
|
98
99
|
@path[key] ||= begin
|
99
100
|
paths = [paths, rsearch_paths, self.search_paths, SEARCH_PATHS].reverse.compact.inject({}){|acc,h| acc.merge! h; acc }
|
100
101
|
where = paths[:default] if where == :default
|
data/lib/rbbt/resource/util.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.17.
|
4
|
+
version: 5.17.89
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|