sshkit 1.21.0 → 1.21.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/sshkit/version.rb +1 -1
- data/test/functional/backends/test_netssh.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 302bdf2103654ae9a2cf858bf4c9cc585a57fac04a340f70c494a59cc0a8633f
|
|
4
|
+
data.tar.gz: 9dc1fe14a5ccfc3e3ae756c04790a37c6c84564f62c5a506df078fa9e8e07d83
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 62dab7dd19368a572930d0eb704eed44f989e57cd68e7470998040f835b568f199ee230caf52ba519d58d596890b12e45fc010775a112fbcfe3ec7d9b94e3e4e
|
|
7
|
+
data.tar.gz: d9185a014c779dfa43dfa7586223bb56cfae83b4e25f7d74a69badafce37e680ee2f3c04bbbf2cffda82366b982e09cde13b9321a10f73a2b065a10d0cd45c9c
|
data/lib/sshkit/version.rb
CHANGED
|
@@ -180,7 +180,7 @@ module SSHKit
|
|
|
180
180
|
size = 25
|
|
181
181
|
fills = SecureRandom.random_bytes(1024*1024)
|
|
182
182
|
file_name = "/tmp/file-#{size}.txt"
|
|
183
|
-
File.open(file_name, '
|
|
183
|
+
File.open(file_name, 'wb') do |f|
|
|
184
184
|
(size).times {f.write(fills) }
|
|
185
185
|
end
|
|
186
186
|
file_contents = ""
|
|
@@ -188,7 +188,7 @@ module SSHKit
|
|
|
188
188
|
upload!(file_name, file_name)
|
|
189
189
|
file_contents = download!(file_name)
|
|
190
190
|
end.run
|
|
191
|
-
assert_equal File.open(file_name).read, file_contents
|
|
191
|
+
assert_equal File.open(file_name, 'rb').read, file_contents
|
|
192
192
|
end
|
|
193
193
|
|
|
194
194
|
def test_upload_via_pathname
|
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sshkit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.21.
|
|
4
|
+
version: 1.21.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lee Hambley
|
|
8
8
|
- Tom Clements
|
|
9
|
-
autorequire:
|
|
9
|
+
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2020-
|
|
12
|
+
date: 2020-11-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: net-ssh
|
|
@@ -275,7 +275,7 @@ licenses:
|
|
|
275
275
|
- MIT
|
|
276
276
|
metadata:
|
|
277
277
|
changelog_uri: https://github.com/capistrano/sshkit/releases
|
|
278
|
-
post_install_message:
|
|
278
|
+
post_install_message:
|
|
279
279
|
rdoc_options: []
|
|
280
280
|
require_paths:
|
|
281
281
|
- lib
|
|
@@ -290,8 +290,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
290
290
|
- !ruby/object:Gem::Version
|
|
291
291
|
version: '0'
|
|
292
292
|
requirements: []
|
|
293
|
-
rubygems_version: 3.1.
|
|
294
|
-
signing_key:
|
|
293
|
+
rubygems_version: 3.1.4
|
|
294
|
+
signing_key:
|
|
295
295
|
specification_version: 4
|
|
296
296
|
summary: SSHKit makes it easy to write structured, testable SSH commands in Ruby
|
|
297
297
|
test_files:
|