vagrant-scp-sync 0.5.20 → 0.5.22

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: 656379ebce0eaae6bab0e771c2fe5a0b712ace75167a1e6f81a879cc92573d01
4
- data.tar.gz: d98e367749ce166321fbb614f1bb15ae7d292afb566bb2b0ddf790dea2cae275
3
+ metadata.gz: 118c8a7f4131343bad9fc3f019f66c6a8df7259b0c9e7f4779737ef5edb95ad6
4
+ data.tar.gz: 3ca0ee379eb5ab8a2590149a2ee4538a213340a7709055a13ea4683f258625e3
5
5
  SHA512:
6
- metadata.gz: 2e57969fbaae19d7393cdaf075697337af4af66e5b3c919473268afb51ce3c437a1e3cf52f10fa5f8ebaca6082ea77e48992e5e7988cf41c616f6fe1d46ff63a
7
- data.tar.gz: d690f3e6d3ac3b2cff3e545aa98f2134c559a765254bd293e94352c9b2c7ba4ceb317ca881706f41fcd0e7ff83c57093b4b7171966d90ae6cca4f320a04f47a1
6
+ metadata.gz: 411fbf3bb456ac7940e9fbd0fac4edfb65a101f14164b31cae1639194269cda1a2594851645ae79f31789a4da8e0a96ed5459228caa7de02f23b18f6308d4edb
7
+ data.tar.gz: 9e6c6e515f831c6286adf8f817e60ad47ca0675e243a8c807445ea64b38b327ce0a326f05593144d22b4c5fb3de5f28280c02c0ce67abfee6e46f4545e62977d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
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
+
10
+ ## [0.5.21](https://github.com/STARTcloud/vagrant-scp-sync/compare/v0.5.20...v0.5.21) (2025-01-14)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * include PR to fix paths with spaces ([d4dff56](https://github.com/STARTcloud/vagrant-scp-sync/commit/d4dff5695d7b1962f667a95839e75e74c58ddffd))
16
+
3
17
  ## [0.5.20](https://github.com/STARTcloud/vagrant-scp-sync/compare/v0.5.19...v0.5.20) (2025-01-13)
4
18
 
5
19
 
data/README.md CHANGED
@@ -25,7 +25,7 @@ Copying files out of the guest works in the same fashion
25
25
  If source is a directory it will be copied recursively.
26
26
 
27
27
 
28
- ## Example
28
+ ## Examples
29
29
 
30
30
  If you have just one guest, you can copy files to it like this:
31
31
 
@@ -13,7 +13,7 @@ module VagrantPlugins
13
13
  -o LogLevel=ERROR
14
14
  ]
15
15
  opts << "-o port=#{ssh_info[:port]}"
16
- opts << ssh_info[:private_key_path].map { |k| "-i #{k}" }.join(' ')
16
+ opts << ssh_info[:private_key_path].map { |k| "-i '#{k}'" }.join(' ')
17
17
  opts
18
18
  end
19
19
  end
@@ -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.20'
5
+ VERSION = '0.5.22'
6
6
  NAME = 'vagrant-scp-sync'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-scp-sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.20
4
+ version: 0.5.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Gilbert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-13 00:00:00.000000000 Z
11
+ date: 2025-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n