vagrant-winrmcli 1.0.3 → 1.0.4

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
  SHA1:
3
- metadata.gz: d248c8059cce7cc3df6433945ecea6ac3f97143e
4
- data.tar.gz: bb9e5cc8e755b4b18cadab89659beafbe5da3043
3
+ metadata.gz: 10fa3bfdb5b597ab80aa7b1438d978582b5b60bb
4
+ data.tar.gz: 837feb827227b92c81830059676efa5f562e479f
5
5
  SHA512:
6
- metadata.gz: 29f1a29e7e6e38cb8fb61535dff14cb472bac21e87c83491dfa11e2c7104d1b950c9c6a16e568730e062f01160955dc339c7cdc2e2bcc901de51130e2f27b112
7
- data.tar.gz: 659d03e09287702becf4a78de6fd1b279749e8ad72991af74bffc56175ac66660266f9e6829040bd8a8c3860535c7338e69e4c5958d5bd2711e38240f7fa841b
6
+ metadata.gz: af3bbc5c38f86f0b5a17451adee6d4611912fcd598a09fa7efae1206ceeb7c2750afd1c4c80fdbe3f4473a03bcc34909fcff4fc24a5688e635cdd295751db3bf
7
+ data.tar.gz: 651a4df4a014b6f8b69bc10e1fbe7cb804458534dcc7d2aef93cd8ab99ca77a082aacf19cba76a38d5d14d2c00a16ebe671114af34eaeff7939c4f633a93c0ea
@@ -45,10 +45,12 @@ module VagrantPlugins
45
45
  encoded_script = cmd.encode('UTF-16LE', 'UTF-8')
46
46
  script = Base64.strict_encode64(encoded_script)
47
47
  cmd = "powershell -encodedCommand #{script}"
48
- puts cmd
49
48
  end
50
49
 
51
- command_id = winrm.run_command(shell_id, cmd)
50
+ command_id = nil
51
+ silence_warnings do
52
+ command_id = winrm.run_command(shell_id, cmd)
53
+ end
52
54
  winrm.get_command_output(shell_id, command_id) do |stdout, stderr|
53
55
  STDOUT.print stdout
54
56
  STDERR.print stderr
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module WinrmCli
3
- VERSION = '1.0.3'
3
+ VERSION = '1.0.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-winrmcli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Cameron Ryan