vagrant-scp-sync 0.5.17 → 0.5.18

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: acd257f1f65be09bc6f854e7ea5231036ee7f007a0686e9e446f623564272147
4
- data.tar.gz: e053ef9545b383f205efecd994cb5decc4c578f1f59a01533007fcac2aad1789
3
+ metadata.gz: 202a5cc4b0e787ee75edac044883999f882f8a16915f11ee922aefb9b44c9bc6
4
+ data.tar.gz: d2adac7f2cd87ab29a2d8d3f20ca07a8727b93af1af17d2cd486eef26dd86c3e
5
5
  SHA512:
6
- metadata.gz: 4398e00868c4f33266a50a2398c2977fc64e75d11e76aa8e3866eb77bf73a104c42a8acae5abe0a2e54a9c3593189d4a744f9b5f477876741228f16acc9d6c38
7
- data.tar.gz: c67273ff215c79145b3844e8838ba890722a6cb884e153117e14be83a6ca8437c789e4b9f52a84f7cae18c00544c3e2a2bcebd1e76c6807ec62f1a6d7b41bc5d
6
+ metadata.gz: d4058c20ffda654f4daa6124b42696bc2748c6c5275226fa3c44ea568d69782b8da5c3e4a48563efad0fbddb2d141a0578141376f0e1bbe657b7a41a94b315dc
7
+ data.tar.gz: 220dfc0f19c48566db5d556ef38e9610db96ae5113210881dd3bc1b9cd1e28ab0cfdce76bad14982cd941d2a0d582deee94441b6e156927ec0746d20b1655178
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.18](https://github.com/STARTcloud/vagrant-scp-sync/compare/v0.5.17...v0.5.18) (2024-12-23)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * added vagrant sync as an alias ([b4519cd](https://github.com/STARTcloud/vagrant-scp-sync/commit/b4519cd9a0cd1e4b00481266ab91196392fcb277))
9
+ * added vagrant sync as an alias ([fef3ce9](https://github.com/STARTcloud/vagrant-scp-sync/commit/fef3ce994a291d0b1c795af3101049b325740510))
10
+
3
11
  ## [0.5.17](https://github.com/STARTcloud/vagrant-scp-sync/compare/v0.5.16...v0.5.17) (2024-12-23)
4
12
 
5
13
 
@@ -58,8 +58,8 @@ module VagrantPlugins
58
58
 
59
59
  def parse_args
60
60
  opts = OptionParser.new do |o|
61
- o.banner = "Usage: vagrant scp <local_path> [vm_name]:<remote_path> \n"
62
- o.banner += " vagrant scp [vm_name]:<remote_path> <local_path> \n"
61
+ o.banner = "Usage: vagrant scp|sync <local_path> [vm_name]:<remote_path> \n"
62
+ o.banner += " vagrant scp|sync [vm_name]:<remote_path> <local_path> \n"
63
63
  o.banner += 'Directories will be copied recursively.'
64
64
  o.separator ''
65
65
  o.separator 'Options:'
@@ -64,9 +64,12 @@ module VagrantPlugins
64
64
  setup_logging
65
65
  setup_i18n
66
66
 
67
- command('scp') do
68
- require_relative 'command/scp'
69
- Command::ScpSyncCommand
67
+ # Register both 'scp' and 'sync' commands to point to the same command class
68
+ %w[scp sync].each do |cmd|
69
+ command(cmd) do
70
+ require_relative 'command/scp'
71
+ Command::ScpSyncCommand
72
+ end
70
73
  end
71
74
  end
72
75
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Vagrant
4
4
  module ScpSync
5
- VERSION = '0.5.17'
5
+ VERSION = '0.5.18'
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.17
4
+ version: 0.5.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Gilbert