net-ssh 2.10.0.beta2 → 2.10.1.rc1
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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGES.txt +6 -0
- data/README.rdoc +6 -6
- data/Rakefile +2 -1
- data/lib/net/ssh/version.rb +2 -2
- data/net-ssh.gemspec +4 -3
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3c4abca301bc0bb3e5652b5c78f646e3383e057c
|
|
4
|
+
data.tar.gz: 2ae99eb859c3e80bf502f271573fbc43b3aa8572
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 53f1409be2a64dfaff1df3e2a8bd8ded6840402e9776d390baac27a3342c0a532dfdcff98019e147cffb462092caaf039a973d1e904f554afcb7fc5d6c3eb295
|
|
7
|
+
data.tar.gz: 3bf1852a3f1605c787905c0d5d5b464e7349ff26273fec63370cb7b320177427fa3a6eea7812ff62d6b92a9d570ca44e6217b40af53caadfe667a1bd0743ecda
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGES.txt
CHANGED
data/README.rdoc
CHANGED
|
@@ -32,6 +32,7 @@ In a nutshell:
|
|
|
32
32
|
Net::SSH.start('host', 'user', :password => "password") do |ssh|
|
|
33
33
|
# capture all stderr and stdout output from a remote process
|
|
34
34
|
output = ssh.exec!("hostname")
|
|
35
|
+
puts output
|
|
35
36
|
|
|
36
37
|
# capture only stdout matching a particular pattern
|
|
37
38
|
stdout = ""
|
|
@@ -101,8 +102,8 @@ However, in order to be sure the code you're installing hasn't been tampered wit
|
|
|
101
102
|
|
|
102
103
|
# Add the public key as a trusted certificate
|
|
103
104
|
# (You only need to do this once)
|
|
104
|
-
$ curl -O https://raw.
|
|
105
|
-
$ gem cert --add
|
|
105
|
+
$ curl -O https://raw.githubusercontent.com/net-ssh/net-ssh/master/net-ssh-public_cert.pem
|
|
106
|
+
$ gem cert --add net-ssh-public_cert.pem
|
|
106
107
|
|
|
107
108
|
Then, when install the gem, do so with high security:
|
|
108
109
|
|
|
@@ -112,10 +113,9 @@ If you don't add the public key, you'll see an error like "Couldn't verify data
|
|
|
112
113
|
|
|
113
114
|
== RUBY 1.x SUPPORT
|
|
114
115
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
Current
|
|
118
|
-
|
|
116
|
+
* Ruby 1.8.x is supported up until the net-ssh 2.5.1 release.
|
|
117
|
+
* Ruby 1.9.x is supported up until the net-ssh 2.9.x release.
|
|
118
|
+
* Current net-ssh releases require Ruby 2.0 or later.
|
|
119
119
|
|
|
120
120
|
== RUNNING TESTS
|
|
121
121
|
|
data/Rakefile
CHANGED
|
@@ -30,6 +30,7 @@ begin
|
|
|
30
30
|
s.email = "net-ssh@solutious.com"
|
|
31
31
|
s.homepage = "https://github.com/net-ssh/net-ssh"
|
|
32
32
|
s.authors = ["Jamis Buck", "Delano Mandelbaum", "Miklós Fazekas"]
|
|
33
|
+
s.required_ruby_version = '>= 2.0'
|
|
33
34
|
|
|
34
35
|
# Note: this is run at package time not install time so if you are
|
|
35
36
|
# running on jruby, you need to install jruby-pageant manually.
|
|
@@ -79,4 +80,4 @@ end
|
|
|
79
80
|
Rake::TestTask.new(:'integration-test') do |t|
|
|
80
81
|
t.libs = ["lib", "test/integration"]
|
|
81
82
|
t.pattern = 'test/integration/test_*.rb'
|
|
82
|
-
end
|
|
83
|
+
end
|
data/lib/net/ssh/version.rb
CHANGED
|
@@ -51,11 +51,11 @@ module Net; module SSH
|
|
|
51
51
|
MINOR = 10
|
|
52
52
|
|
|
53
53
|
# The tiny component of this version of the Net::SSH library
|
|
54
|
-
TINY =
|
|
54
|
+
TINY = 1
|
|
55
55
|
|
|
56
56
|
# The prerelease component of this version of the Net::SSH library
|
|
57
57
|
# nil allowed
|
|
58
|
-
PRE = '
|
|
58
|
+
PRE = 'rc1'
|
|
59
59
|
|
|
60
60
|
# The current version of the Net::SSH library as a Version instance
|
|
61
61
|
CURRENT = new(*[MAJOR, MINOR, TINY, PRE].compact)
|
data/net-ssh.gemspec
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: net-ssh 2.10.
|
|
5
|
+
# stub: net-ssh 2.10.1.rc1 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "net-ssh"
|
|
9
|
-
s.version = "2.10.
|
|
9
|
+
s.version = "2.10.1.rc1"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib"]
|
|
13
13
|
s.authors = ["Jamis Buck", "Delano Mandelbaum", "Mikl\u{f3}s Fazekas"]
|
|
14
14
|
s.cert_chain = ["net-ssh-public_cert.pem"]
|
|
15
|
-
s.date = "2015-
|
|
15
|
+
s.date = "2015-08-03"
|
|
16
16
|
s.description = "Net::SSH: a pure-Ruby implementation of the SSH2 client protocol. It allows you to write programs that invoke and interact with processes on remote servers, via SSH2."
|
|
17
17
|
s.email = "net-ssh@solutious.com"
|
|
18
18
|
s.extra_rdoc_files = [
|
|
@@ -185,6 +185,7 @@ Gem::Specification.new do |s|
|
|
|
185
185
|
]
|
|
186
186
|
s.homepage = "https://github.com/net-ssh/net-ssh"
|
|
187
187
|
s.licenses = ["MIT"]
|
|
188
|
+
s.required_ruby_version = Gem::Requirement.new(">= 2.0")
|
|
188
189
|
s.rubyforge_project = "net-ssh"
|
|
189
190
|
s.rubygems_version = "2.4.6"
|
|
190
191
|
s.signing_key = "/mnt/gem/net-ssh-private_key.pem"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: net-ssh
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.10.
|
|
4
|
+
version: 2.10.1.rc1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jamis Buck
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
MbvRpzgROzyfw1qYi4dnIyMwTtXFFcZ0a2jpxHPkcTYFK6TzvFgDLAP0Y/u9jqUQ
|
|
32
32
|
eZ7/3CdSi/isZHEw
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2015-
|
|
34
|
+
date: 2015-08-03 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: test-unit
|
|
@@ -245,7 +245,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
245
245
|
requirements:
|
|
246
246
|
- - ">="
|
|
247
247
|
- !ruby/object:Gem::Version
|
|
248
|
-
version: '0'
|
|
248
|
+
version: '2.0'
|
|
249
249
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
250
250
|
requirements:
|
|
251
251
|
- - ">"
|
metadata.gz.sig
CHANGED
|
Binary file
|