vagrant-properties 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant-properties/config.rb +7 -1
- data/lib/vagrant-properties/version.rb +1 -1
- 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: 213da81f99531c415f04cc62bc1107a110c0cf3c
|
4
|
+
data.tar.gz: d87a876a3f33e125876133a5bf00f4ba40f85e1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18c2d7c0eac2b146e3840098d1d21364b470bc79b2cced1b28e61d46bff2086462f3070587f770ef9c82de54c32a598c4c7b6ab66885fa1361b98a12a81477c6
|
7
|
+
data.tar.gz: 020a4b5acfb651bf839c0743b713f3800e172b701046da4919b367d1315b5c63fdb7cba21823d24860e7f0ad8e335d58ecb479fc755b73d33de08fecd992bd06
|
@@ -43,7 +43,13 @@ module VagrantPlugins
|
|
43
43
|
matched = repo.match(path_matcher)
|
44
44
|
|
45
45
|
if ghq?
|
46
|
-
|
46
|
+
ghq_root = `ghq root`.chomp
|
47
|
+
|
48
|
+
if ghq_root == "No help topic for 'root'"
|
49
|
+
raise StandardError.new '"ghq root" not found. please update ghq'
|
50
|
+
end
|
51
|
+
|
52
|
+
path = "#{ghq_root}/#{matched[1..3].join('/')}"
|
47
53
|
ghq_get path, repo
|
48
54
|
else
|
49
55
|
path = "../#{matched[3]}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-properties
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- linyows
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|