vagrant-properties 0.6.0 → 0.7.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 +4 -0
- 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: 51bd367e4e07b82c60b445b97ecf34cc66bcef77
|
4
|
+
data.tar.gz: 376bc819488355d69bd43133f1757ac72f5c4844
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ab883990a4e4f4c995ed8b624bb48e98170ed6f58dff5a002887f8db5ca1b2c42b4ebbaf6ec8e65d706caf4ebd0a78db724bab14921626a32754aae39c41bd9
|
7
|
+
data.tar.gz: 76d1b542d4c387ad4e39de430ece1c1e782f8dd116a8a51c5ffe1f3ff93217cb2556c87e4f86902a1e8622c6b1fa4be16de8e1f996c3372c8a31c08db9a78b5f
|
@@ -44,6 +44,10 @@ module VagrantProperties
|
|
44
44
|
write_to_hosts(property['ip'], property['domains'])
|
45
45
|
end
|
46
46
|
|
47
|
+
if ip_valid?(property['vip']) && domains_valid?([property['vip_domain']])
|
48
|
+
write_to_hosts(property['vip'], [property['vip_domain']])
|
49
|
+
end
|
50
|
+
|
47
51
|
keys = property.keys.inject([]) { |m, k| m << k.to_sym }
|
48
52
|
memo[name.to_sym] = Struct.new(*keys).new(*property.values)
|
49
53
|
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.7.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-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|