kitchen-sshtgz 2.0.0 → 2.0.1
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/lib/kitchen/transport/ssh_tgz.rb +6 -0
- data/lib/kitchen/transport/sshtgz_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 83dc968f5629d63692a0346ff60ce98c946ca6725eba164d96f01e74bc8fd6d0
|
|
4
|
+
data.tar.gz: 1878e592966f6e9b00b7a864068cbaeccdedb5dc85e5edb96241d9bc95c0d0c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 677f54a2060951720607e6e5a362970b96fd9d5c2ee584f123262c96b9868b0a204b8f7dfc3f824a094af0d4277428b92c988b70049d85c7795f2a8b5a5d6396
|
|
7
|
+
data.tar.gz: 27c75296c5246adcca31a7438899d0c2810d709404427776eaf745b2d1c4a418e5317dbe6b6d62f9e433e174c0aed756125eade2c28c6f317048d3af24d1110b
|
|
@@ -60,6 +60,12 @@ module Kitchen
|
|
|
60
60
|
|
|
61
61
|
# (see Ssh::Connection#upload)
|
|
62
62
|
def upload(locals, remote)
|
|
63
|
+
# dirty work-around when this transport is used to push the "install script"
|
|
64
|
+
if Array(locals).length == 1
|
|
65
|
+
super
|
|
66
|
+
return
|
|
67
|
+
end
|
|
68
|
+
|
|
63
69
|
# attempt tar-gzip upload, to improve performance.
|
|
64
70
|
return if Array(locals).empty? || upload_via_tgz(Array(locals), remote)
|
|
65
71
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kitchen-sshtgz
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeremy Jacque
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-kitchen
|