vagrant-properties 0.2.2 → 0.3.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 +8 -2
- data/lib/vagrant-properties/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a256cf92ea84f81605fc88635da7b3595598da3f
|
4
|
+
data.tar.gz: 276ce59049293554ce5fc37277a32062eb62fec3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12b5b2dbba5beb7dc135734e0b81fa1d183ddae40eb0cb3ca6b5a9b92ca19cd4ed6b5173db95e2ffd8772553b112d4f822618ec61d9934f3a0dd0f1b3c74bfe2
|
7
|
+
data.tar.gz: 1ab94f0de86af6d06db93fc5ba09f26576ef1e8d9887b765529971f617fa8e7fc737ae0230b8e48daf5b40909aeb08794aec2c98d7aeb2fcfcf75d63e886a4b0
|
@@ -17,8 +17,14 @@ module VagrantPlugins
|
|
17
17
|
|
18
18
|
def build_properties
|
19
19
|
load_properties.each_with_object({}) do |(name, property), memo|
|
20
|
-
|
21
|
-
|
20
|
+
unless property['repo'].empty?
|
21
|
+
property['path'] = pull_project(property['repo'])
|
22
|
+
end
|
23
|
+
|
24
|
+
if !property['ip'].empty? && !property['hostname'].empty?
|
25
|
+
write_to_hosts(property['ip'], property['hostname'])
|
26
|
+
end
|
27
|
+
|
22
28
|
keys = property.keys.inject([]) { |m, k| m << k.to_sym }
|
23
29
|
memo[name.to_sym] = Struct.new(*keys).new(*property.values)
|
24
30
|
end
|
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.3.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-
|
11
|
+
date: 2015-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
76
|
rubyforge_project:
|
77
|
-
rubygems_version: 2.
|
77
|
+
rubygems_version: 2.4.5
|
78
78
|
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: Mnagement multiple machines.
|