vagrant-scp-sync 0.5.21 → 0.5.22

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: 9f5bcd76f36f7b30f2aff03631ac0ced18c7aa5be08422f94bf7c758f36518e9
4
- data.tar.gz: 8214f16102033371ab75f40e717ead67053dc471bd1ded43d51097b50ad3be2e
3
+ metadata.gz: 118c8a7f4131343bad9fc3f019f66c6a8df7259b0c9e7f4779737ef5edb95ad6
4
+ data.tar.gz: 3ca0ee379eb5ab8a2590149a2ee4538a213340a7709055a13ea4683f258625e3
5
5
  SHA512:
6
- metadata.gz: 95667dee1d5cf50a69a18fca9a235d254cdc45865ab3e40311e4cce3895c56506947b0484663fe748bc4cb92de7c6566c886a24fda808c1d2890a256b197e2ba
7
- data.tar.gz: 3ef802db12cb5edf2e0ba385762dc7500dd16174b6ce17c7da1065cf1e1c7467587d656ef1a1011f239b9a54f5c2d677440f96bfee649ef3f516ca7cc09fa154
6
+ metadata.gz: 411fbf3bb456ac7940e9fbd0fac4edfb65a101f14164b31cae1639194269cda1a2594851645ae79f31789a4da8e0a96ed5459228caa7de02f23b18f6308d4edb
7
+ data.tar.gz: 9e6c6e515f831c6286adf8f817e60ad47ca0675e243a8c807445ea64b38b327ce0a326f05593144d22b4c5fb3de5f28280c02c0ce67abfee6e46f4545e62977d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.22](https://github.com/STARTcloud/vagrant-scp-sync/compare/v0.5.21...v0.5.22) (2025-01-14)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * FIle paths with quotes break things, this is an attempt to workaround/fix that ([9fc2bc4](https://github.com/STARTcloud/vagrant-scp-sync/commit/9fc2bc4ca84034819aab90cc7aa9423979134fb8))
9
+
3
10
  ## [0.5.21](https://github.com/STARTcloud/vagrant-scp-sync/compare/v0.5.20...v0.5.21) (2025-01-14)
4
11
 
5
12
 
@@ -111,11 +111,11 @@ module VagrantPlugins
111
111
  end
112
112
 
113
113
  def self.build_ssh_command(ssh_opts, command, ssh_info)
114
- ['ssh', *ssh_opts, "#{ssh_info[:username]}@#{ssh_info[:host]}", command].join(' ')
114
+ ['ssh', *ssh_opts, "#{ssh_info[:username]}@#{ssh_info[:host]}", "'#{command}'"].join(' ')
115
115
  end
116
116
 
117
117
  def self.build_scp_command(scp_path, ssh_opts, source, target)
118
- [scp_path, '-r', *ssh_opts, source, target].join(' ')
118
+ [scp_path, '-r', *ssh_opts, "'#{source}'", "'#{target}'"].join(' ')
119
119
  end
120
120
 
121
121
  def self.execute_command(machine, command, raise_error, message_key, opts)
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Vagrant
4
4
  module ScpSync
5
- VERSION = '0.5.21'
5
+ VERSION = '0.5.22'
6
6
  NAME = 'vagrant-scp-sync'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-scp-sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.21
4
+ version: 0.5.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Gilbert