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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a2e715b2b2c47d5abef1ae8d72edade68e86b6e
4
- data.tar.gz: 0394bd9c9bf48dfe88fb781c692da2d5e6d1c5f8
3
+ metadata.gz: 51bd367e4e07b82c60b445b97ecf34cc66bcef77
4
+ data.tar.gz: 376bc819488355d69bd43133f1757ac72f5c4844
5
5
  SHA512:
6
- metadata.gz: c9e4e4bf0757a36a86b64dea34ac23c9c4a527f2bec5c9c54ea308a4c816d3d3807885593d094abf666053a9afc3e16e0f74762104b468e99a29f161f3f7d9ae
7
- data.tar.gz: a08a3e0aed23771c7df8708fb988527a46de2284293c2d41d59559fdb8352ec2f72d8f2cee0ba1bd53cbf9d447ce2a6ec52b8464370289f996a23970bf359a56
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
@@ -1,3 +1,3 @@
1
1
  module VagrantProperties
2
- VERSION = '0.6.0'
2
+ VERSION = '0.7.0'
3
3
  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.6.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-20 00:00:00.000000000 Z
11
+ date: 2015-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler