vagrant-scp-sync 0.5.23 → 0.5.24
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/vagrant-scp-sync/action/scp_sync.rb +2 -2
- data/lib/vagrant-scp-sync/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8ea86918db593ce6126add66de0626dcacfd459be232571d5bcce2a37a2001b
|
4
|
+
data.tar.gz: 5e89431618de8223b5e1f3aae8d674ecec9fde75e99e67ffce0be7e534119825
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9385b53ed26fda63f126b11df9b00b2498bcde636adc314bf8586d9bf226f816a664cba69592cee9edace2717ad78b16501935d8496d139deb53cfcec002d415
|
7
|
+
data.tar.gz: f28ab6c87f427e35d50e65c2503b46b313e5a10e5a1286bc39f351c3a493432a4471fab7fed4dad704f4c06aff8c983e995e9b4cc724487e6383d5f234bf5e95
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [0.5.24](https://github.com/STARTcloud/vagrant-scp-sync/compare/v0.5.23...v0.5.24) (2025-01-14)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* FIle paths with quotes break things, this is an attempt to workaround/fix that ([0c0afc0](https://github.com/STARTcloud/vagrant-scp-sync/commit/0c0afc012bb99fb28de97575c4256bf622e60d16))
|
9
|
+
|
3
10
|
## [0.5.23](https://github.com/STARTcloud/vagrant-scp-sync/compare/v0.5.22...v0.5.23) (2025-01-14)
|
4
11
|
|
5
12
|
|
@@ -51,7 +51,7 @@ module VagrantPlugins
|
|
51
51
|
|
52
52
|
# Determine source path based on trailing slash and directory status
|
53
53
|
source = if is_source_directory && has_trailing_slash_source
|
54
|
-
"'#{source_files}/*
|
54
|
+
"'#{source_files}'/*" # Quote path but leave glob outside quotes
|
55
55
|
else
|
56
56
|
"'#{source_files}'" # Copy directory itself or single file with quotes
|
57
57
|
end
|
@@ -77,7 +77,7 @@ module VagrantPlugins
|
|
77
77
|
elsif opts[:direction] == :download
|
78
78
|
# For download direction
|
79
79
|
source = "#{ssh_info[:username]}@#{ssh_info[:host]}:'#{source_files}'"
|
80
|
-
source = "#{ssh_info[:username]}@#{ssh_info[:host]}:'#{source_files}/*
|
80
|
+
source = "#{ssh_info[:username]}@#{ssh_info[:host]}:'#{source_files}'/*" if has_trailing_slash_source
|
81
81
|
|
82
82
|
# Create local target directory without sudo
|
83
83
|
target = "'#{target_files}'"
|