vagrant-vmware-esxi 2.5.4 → 2.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14496a972440d0c98a42a288447d61356a739ce42886a91183d261f768649d64
4
- data.tar.gz: 93ca8f525b4b418c887642f39bd6d1d0b7d80bd62b8019abd4f092bd117ad6ff
3
+ metadata.gz: c7256168bd0cf7cb88793f16f81f74b5cb37c6ddabb86df89310b26d14949464
4
+ data.tar.gz: a0a73b5c17da28bcae6a40117f76f495c9067d25b9dc5a4f30e3593176223a0f
5
5
  SHA512:
6
- metadata.gz: 3ec2626d31c775be0cfa9cae03e15252887523adf17bd541a680774222fb90238bfce3c0fe4c3ba9108a3c67316e3dc6f662405ed15720508eafa688d4cea9a7
7
- data.tar.gz: e1473f02056da20c4f550009ce37e08ed99462af0db2ad1ac4df782cd653843e3899bbd9fd1ca41ae117de53a6a573000a64008efe9fde8079c5216e22205323
6
+ metadata.gz: 447cee5ac8e94a97b288b75863686de0e823cd692c8871150cef3c5685bea80d18f21c92278ca49c93efda75df9d96dc2eda5b30e5438fdb148a6e2279fcc119
7
+ data.tar.gz: 839e24e533768323b505e3b303e415fd3a47b073a691f102a2fff1e7d619d91db5b0f6b2e841178effce471226eaffcf08c7fb9c7c88775c0d48c917b0211cca
data/Gemfile CHANGED
@@ -1,15 +1,3 @@
1
- #source 'https://rubygems.org'
2
- #
3
- #group :development do
4
- # #gem 'vagrant', git: 'https://github.com/hashicorp/vagrant.git', :branch => 'v2.2.3'
5
- # gem 'vagrant', git: 'https://github.com/hashicorp/vagrant.git'
6
- #end
7
- #
8
- #group :plugins do
9
- # #gemspec
10
- # gem "vagrant-vmware-esxi", path: "."
11
- #end
12
-
13
1
  source "https://rubygems.org"
14
2
 
15
3
  group :development do
data/README.md CHANGED
@@ -295,6 +295,7 @@ I work very hard to produce a stable, well documented product. I appreciate any
295
295
 
296
296
  Version History
297
297
  ---------------
298
+ * 2.5.5 Fix vagrant package for Windows (mingw)
298
299
  * 2.5.4 Add support for esxi 7.0.2 new os types.
299
300
  * 2.5.3 Fix, Add hw_versions and GuestOS vmkernel7
300
301
  * 2.5.2 Fix, snapshot restore will execute regardless of current state.
@@ -56,11 +56,15 @@ module VagrantPlugins
56
56
  " local_allow_overwrite='True' in Vagrantfile for force."
57
57
  end
58
58
 
59
+ is_mingw = Gem::Platform.local.os == "mingw32"
60
+
59
61
  # Find a tar/bsdtar
60
62
  if system 'tar --version >/dev/null 2>&1'
61
63
  tar_cmd = 'tar'
62
64
  elsif system 'bsdtar --version >/dev/null 2>&1'
63
65
  tar_cmd = 'bsdtar'
66
+ elsif is_mingw && system('tar --version > nul 2>&1')
67
+ tar_cmd = 'tar'
64
68
  else
65
69
  raise Errors::ESXiConfigError,
66
70
  message: 'unable to find tar in your path.'
@@ -120,7 +124,8 @@ module VagrantPlugins
120
124
  end
121
125
 
122
126
  env[:ui].info("tarring #{boxname}.box")
123
- unless system "cd #{tmpdir}/#{boxname} ; #{tar_cmd} cvf ../../#{boxname}.box *"
127
+ combinator_string = is_mingw ? "&&" : ";"
128
+ unless system "cd #{tmpdir}/#{boxname} #{combinator_string} #{tar_cmd} cvf ../../#{boxname}.box *"
124
129
  raise Errors::GeneralError,
125
130
  message: 'tar command failed.'
126
131
  end
@@ -1,7 +1,7 @@
1
1
  # VERSION
2
2
  module VagrantPlugins
3
3
  module ESXi
4
- VERSION = '2.5.4'
4
+ VERSION = '2.5.5'
5
5
  $vagrant_vmware_esxi_version = VERSION
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-vmware-esxi
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.4
4
+ version: 2.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Senkerik