vagrant-hostsupdater 1.2.0 → 1.2.1

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
  SHA256:
3
- metadata.gz: c931c60a9148df5bd393def93d08d89be804047f19249ccf253c4760d789f346
4
- data.tar.gz: 89c817fbfa2232694ac757058fbeed8fc519765f07078372828ffc2a66b70167
3
+ metadata.gz: 6c6b415c941a16c739c8f6b6c331fdd2b559c39e5c6ee3f7955779da3004e8b2
4
+ data.tar.gz: 8cc732de6682cca8f91f5a03c99eef3b9bf519dc758736b81f6616bcd2d941c8
5
5
  SHA512:
6
- metadata.gz: 68b582634e6a0c4fe5a10b5633a0e1bc18f7f2ce21cc78b2a0650d2413ca4c6e8ead758fc4e21455e1dba01284e3c213312bf3b2085a4559c8c06d506581a82e
7
- data.tar.gz: 3376c1d9f2a7889aea6de4e8eda2c67661e4fe9995a5a0d6a3c4ecf15018142c20ff3f3540183997f3bdd644b2c788788bad5181c8f6719b2bb0d2cc893bb32c
6
+ metadata.gz: 639e1a983ae8fd9011a02795f8dd7018ca9d16f06f7295d37f88e14c40a2061b346aff70111f2901181ca095d1767d420e092512aeb619203db99730376e1079
7
+ data.tar.gz: 7e0f3e55b11a5b2af496cccfcbf595558eb1ca9fdd7c891ff519684c3ea1b3121663c6603cde76ea9de359989e4a341a2e8066455a121f63e99561796f90db52
data/README.md CHANGED
@@ -172,6 +172,9 @@ vagrant plugin install vagrant-hostsupdater-*.gem
172
172
 
173
173
  ## Versions
174
174
 
175
+ ### 1.2.0
176
+ * Bugfix: Fixing null string [#188](/../../issues/188)
177
+
175
178
  ### 1.1.1
176
179
  * Bugfix: AWS Feature broke part of the code [#155](/../../issues/155)
177
180
 
@@ -149,7 +149,7 @@ module VagrantPlugins
149
149
  elsif Vagrant::Util::Platform.windows?
150
150
  require 'tmpdir'
151
151
  uuid = @machine.id || @machine.config.hostsupdater.id
152
- tmpPath = File.join(Dir.tmpdir, 'hosts-' + uuid + '.cmd')
152
+ tmpPath = File.join(Dir.tmpdir, 'hosts-' + uuid.to_s + '.cmd')
153
153
  File.open(tmpPath, "w") do |tmpFile|
154
154
  entries.each { |line| tmpFile.puts(">>\"#{@@hosts_path}\" echo #{line}") }
155
155
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module HostsUpdater
3
- VERSION = '1.2.0'
3
+ VERSION = '1.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-hostsupdater
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Falk Kühnel
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-11-24 00:00:00.000000000 Z
12
+ date: 2020-12-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler