vagrant-scp-sync 0.5.18 → 0.5.19

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: 202a5cc4b0e787ee75edac044883999f882f8a16915f11ee922aefb9b44c9bc6
4
- data.tar.gz: d2adac7f2cd87ab29a2d8d3f20ca07a8727b93af1af17d2cd486eef26dd86c3e
3
+ metadata.gz: 47eea421ec71b6dbfdddc958eba3616cf3d0da994704bdd36b7caccee8f1ddef
4
+ data.tar.gz: 32c2ff2906c1a9986000201fb4d7dfdeddac123367ad80bbbb5ac589e1051dd2
5
5
  SHA512:
6
- metadata.gz: d4058c20ffda654f4daa6124b42696bc2748c6c5275226fa3c44ea568d69782b8da5c3e4a48563efad0fbddb2d141a0578141376f0e1bbe657b7a41a94b315dc
7
- data.tar.gz: 220dfc0f19c48566db5d556ef38e9610db96ae5113210881dd3bc1b9cd1e28ab0cfdce76bad14982cd941d2a0d582deee94441b6e156927ec0746d20b1655178
6
+ metadata.gz: f1270675daf21f2caeadf84da174053504beff07ab356c96956a37f7497684596a017dde61bd6a986807d2b8fc5a22916f43e398a3efc6235d465cf7ef393a0d
7
+ data.tar.gz: 05a8780de9fddea45d84135fc25d660aa8fa9751bcdd3d1fc520b63390b830e377c1f76956860d57195e2f8154e4877a21464e48ca93829e9476e9581f1e558f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.19](https://github.com/STARTcloud/vagrant-scp-sync/compare/v0.5.18...v0.5.19) (2025-01-13)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * application ([5e7dfdb](https://github.com/STARTcloud/vagrant-scp-sync/commit/5e7dfdb466a633aa1d2019ba109c86571d47450f))
9
+
3
10
  ## [0.5.18](https://github.com/STARTcloud/vagrant-scp-sync/compare/v0.5.17...v0.5.18) (2024-12-23)
4
11
 
5
12
 
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
- ## Examples
28
+ ## Example
29
29
 
30
30
  If you have just one guest, you can copy files to it like this:
31
31
 
@@ -134,7 +134,7 @@ module VagrantPlugins
134
134
 
135
135
  result = Vagrant::Util::Subprocess.execute('sh', '-c', command)
136
136
 
137
- raise_scp_error(message_key, command, result.stderr) if raise_error && !result.exit_code.zero?
137
+ raise_scp_error(command, result.stderr) if raise_error && !result.exit_code.zero?
138
138
  end
139
139
 
140
140
  def self.execute_command_with_output(_machine, command)
@@ -144,8 +144,8 @@ module VagrantPlugins
144
144
  result.stdout
145
145
  end
146
146
 
147
- def self.raise_scp_error(message_key, command, stderr)
148
- raise Errors.const_get("SyncedFolderScpSync#{message_key.split('_').map(&:capitalize).join}Error"),
147
+ def self.raise_scp_error(command, stderr)
148
+ raise Errors::SyncedFolderScpSyncError,
149
149
  command: command,
150
150
  stderr: stderr
151
151
  end
@@ -10,37 +10,12 @@ module VagrantPlugins
10
10
  error_namespace('vagrant_scp_sync.errors')
11
11
  end
12
12
 
13
- # This Class denotes Errors for SCP Sync
13
+ # Generic error class for all SCP sync errors
14
14
  class SyncedFolderScpSyncError < VagrantScpSyncError
15
15
  error_key(:scp_sync_error, 'vagrant_scp_sync.errors')
16
16
  end
17
17
 
18
- # This Class denotes Errors for Manual SCP Sync
19
- class SyncedFolderScpSyncScpSyncFolderError < VagrantScpSyncError
20
- error_key(:scp_sync_folder_error, 'vagrant_scp_sync.errors')
21
- end
22
-
23
- # This Class denotes Delete Dir Errors for SCP Sync
24
- class SyncedFolderScpSyncDeleteDirError < VagrantScpSyncError
25
- error_key(:scp_sync_error_delete_directory, 'vagrant_scp_sync.errors')
26
- end
27
-
28
- # This Class denotes Make Dir Errors for SCP Sync
29
- class SyncedFolderScpSyncMakeDirError < VagrantScpSyncError
30
- error_key(:scp_sync_error_make_directory, 'vagrant_scp_sync.errors')
31
- end
32
-
33
- # This Class denotes Make Dir Errors for SCP Sync
34
- class SyncedFolderScpSyncChangePermissionsDirError < VagrantScpSyncError
35
- error_key(:scp_sync_error_change_permissions_directory, 'vagrant_scp_sync.errors')
36
- end
37
-
38
- # This Class denotes Make Dir Errors for SCP Sync
39
- class SyncedFolderScpSyncChangeOwnershipDirError < VagrantScpSyncError
40
- error_key(:scp_sync_error_change_ownership_directory, 'vagrant_scp_sync.errors')
41
- end
42
-
43
- # This Class denotes that SCP Sync is not found
18
+ # This Class denotes that SCP is not installed
44
19
  class SCPNotFound < VagrantScpSyncError
45
20
  error_key(:scp_installed_error, 'vagrant_scp_sync.errors')
46
21
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Vagrant
4
4
  module ScpSync
5
- VERSION = '0.5.18'
5
+ VERSION = '0.5.19'
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.18
4
+ version: 0.5.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Gilbert
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-23 00:00:00.000000000 Z
11
+ date: 2025-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -157,7 +157,7 @@ metadata:
157
157
  documentation_uri: http://rubydoc.info/gems/vagrant-scp-sync
158
158
  source_code_uri: https://github.com/STARTCloud/vagrant-scp-sync
159
159
  github_repo: https://github.com/STARTCloud/vagrant-scp-sync
160
- post_install_message:
160
+ post_install_message:
161
161
  rdoc_options: []
162
162
  require_paths:
163
163
  - lib
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  version: 1.3.6
174
174
  requirements: []
175
175
  rubygems_version: 3.2.3
176
- signing_key:
176
+ signing_key:
177
177
  specification_version: 4
178
178
  summary: Copy files to a Vagrant VM via SCP.
179
179
  test_files: []