ghq-cache 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ghq/cache/builder.rb +1 -1
- data/lib/ghq/cache/directory.rb +3 -3
- data/lib/ghq/cache/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d9368162f00c4bdb0adea8729c40ababe4be28a
|
4
|
+
data.tar.gz: 0bd77faae814a37885104b29af27f389634849de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12b8366e9cb0392821e2034d63e9c5fa3fd51ef825d6fc4cb02a80a30feb9f719ed46057dfa64a40a3cffb660f29c9a374da79a4ea20f62eedd041cb8a19a6ad
|
7
|
+
data.tar.gz: 1d80ecb3bb9d73875edede2c6c0729599abce865ad0ed5f7cf19daec55f470b784660d3cacb964bf2ecfa72e0c1f9736162c46407a1c5bda0bb51b83d890b039
|
data/lib/ghq/cache/builder.rb
CHANGED
data/lib/ghq/cache/directory.rb
CHANGED
@@ -40,9 +40,9 @@ module Ghq
|
|
40
40
|
self.name.include?('/')
|
41
41
|
end
|
42
42
|
|
43
|
-
def
|
44
|
-
return name
|
45
|
-
File.join(parent.
|
43
|
+
def path_from_root
|
44
|
+
return name if parent.nil? || parent.root?
|
45
|
+
File.join(parent.path_from_root, name)
|
46
46
|
end
|
47
47
|
|
48
48
|
private
|
data/lib/ghq/cache/version.rb
CHANGED