net-scp 1.2.2.rc2 → 2.0.0.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 +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.travis.yml +9 -5
- data/CHANGES.txt +3 -0
- data/README.rdoc +4 -5
- data/lib/net/scp/version.rb +4 -4
- data/net-scp.gemspec +3 -5
- metadata +6 -6
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1a4020b606fc10b378bf7bbeeec7a5171cc16d32
|
4
|
+
data.tar.gz: d03c502a440e01b665da67cc73c97171604e9e7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db6d5571dc2cd16cd033f10bf4baf91343f940184739c38a2b66bcceeb077d86614ba37cdd697784048ed3ac2b75cf9eec03f66a50f7256879a63781ecbbdd22
|
7
|
+
data.tar.gz: 6889942b905f3a1a63c784e9fde79ec5cc81d57adc13a1ffd6b3d0e45d98c03c394a1c82c1587651da5b5b72938f9c99314c5e4ff24efae5794972d3fb9cc238
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.travis.yml
CHANGED
@@ -1,12 +1,16 @@
|
|
1
1
|
language: ruby
|
2
|
+
cache: bundler
|
2
3
|
rvm:
|
3
|
-
-
|
4
|
-
-
|
5
|
-
-
|
6
|
-
-
|
4
|
+
- 2.3.8
|
5
|
+
- 2.4.5
|
6
|
+
- 2.5.3
|
7
|
+
- 2.6.1
|
8
|
+
- ruby-head
|
7
9
|
|
10
|
+
matrix:
|
11
|
+
allow_failures:
|
12
|
+
- rvm: ruby-head
|
8
13
|
|
9
14
|
install: gem install jeweler test-unit mocha net-ssh
|
10
15
|
|
11
16
|
script: rake test
|
12
|
-
|
data/CHANGES.txt
CHANGED
data/README.rdoc
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
== DESCRIPTION:
|
15
15
|
|
16
|
-
Net::SCP is a pure-Ruby implementation of the SCP protocol. This operates over SSH (and requires the Net::SSH library), and allows files and directory trees to copied to and from a remote server.
|
16
|
+
Net::SCP is a pure-Ruby implementation of the SCP protocol. This operates over SSH (and requires the Net::SSH library), and allows files and directory trees to be copied to and from a remote server.
|
17
17
|
|
18
18
|
== FEATURES/PROBLEMS:
|
19
19
|
|
@@ -74,12 +74,12 @@ If you wish to run the tests, you'll also need:
|
|
74
74
|
|
75
75
|
* gem install net-scp (might need sudo privileges)
|
76
76
|
|
77
|
-
However, in order to be sure the code you're installing hasn't been tampered with, it's recommended that you verify the signiture[http://docs.
|
77
|
+
However, in order to be sure the code you're installing hasn't been tampered with, it's recommended that you verify the signiture[http://docs.seattlerb.org/rubygems/Gem/Security.html]. To do this, you need to add my public key as a trusted certificate (you only need to do this once):
|
78
78
|
|
79
79
|
# Add the public key as a trusted certificate
|
80
80
|
# (You only need to do this once)
|
81
|
-
$ curl -O https://raw.
|
82
|
-
$ gem cert --add
|
81
|
+
$ curl -O https://raw.githubusercontent.com/net-ssh/net-ssh/master/net-ssh-public_cert.pem
|
82
|
+
$ gem cert --add net-ssh-public_cert.pem
|
83
83
|
|
84
84
|
Then, when install the gem, do so with high security:
|
85
85
|
|
@@ -87,7 +87,6 @@ Then, when install the gem, do so with high security:
|
|
87
87
|
|
88
88
|
If you don't add the public key, you'll see an error like "Couldn't verify data signature". If you're still having trouble let me know and I'll give you a hand.
|
89
89
|
|
90
|
-
|
91
90
|
Or, you can do it the hard way (without Rubygems):
|
92
91
|
|
93
92
|
* tar xzf net-scp-*.tgz
|
data/lib/net/scp/version.rb
CHANGED
@@ -46,17 +46,17 @@ module Net
|
|
46
46
|
end
|
47
47
|
|
48
48
|
# The major component of this version of the Net::SSH library
|
49
|
-
MAJOR =
|
49
|
+
MAJOR = 2
|
50
50
|
|
51
51
|
# The minor component of this version of the Net::SSH library
|
52
|
-
MINOR =
|
52
|
+
MINOR = 0
|
53
53
|
|
54
54
|
# The tiny component of this version of the Net::SSH library
|
55
|
-
TINY =
|
55
|
+
TINY = 0
|
56
56
|
|
57
57
|
# The prerelease component of this version of the Net::SSH library
|
58
58
|
# nil allowed
|
59
|
-
PRE = "
|
59
|
+
PRE = "rc1"
|
60
60
|
|
61
61
|
# The current version of the Net::SSH library as a Version instance
|
62
62
|
CURRENT = new(*[MAJOR, MINOR, TINY, PRE].compact)
|
data/net-scp.gemspec
CHANGED
@@ -24,24 +24,22 @@ Gem::Specification.new do |spec|
|
|
24
24
|
]
|
25
25
|
|
26
26
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
27
|
-
spec.bindir = "exe"
|
28
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
27
|
spec.require_paths = ["lib"]
|
30
28
|
|
31
29
|
if spec.respond_to? :specification_version then
|
32
30
|
spec.specification_version = 3
|
33
31
|
|
34
32
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
35
|
-
spec.add_runtime_dependency(%q<net-ssh>, [">= 2.6.5", "<
|
33
|
+
spec.add_runtime_dependency(%q<net-ssh>, [">= 2.6.5", "< 6.0.0"])
|
36
34
|
spec.add_development_dependency(%q<test-unit>, [">= 0"])
|
37
35
|
spec.add_development_dependency(%q<mocha>, [">= 0"])
|
38
36
|
else
|
39
|
-
spec.add_dependency(%q<net-ssh>, [">= 2.6.5", "<
|
37
|
+
spec.add_dependency(%q<net-ssh>, [">= 2.6.5", "< 6.0.0"])
|
40
38
|
spec.add_dependency(%q<test-unit>, [">= 0"])
|
41
39
|
spec.add_dependency(%q<mocha>, [">= 0"])
|
42
40
|
end
|
43
41
|
else
|
44
|
-
spec.add_dependency(%q<net-ssh>, [">= 2.6.5", "<
|
42
|
+
spec.add_dependency(%q<net-ssh>, [">= 2.6.5", "< 6.0.0"])
|
45
43
|
spec.add_dependency(%q<test-unit>, [">= 0"])
|
46
44
|
spec.add_dependency(%q<mocha>, [">= 0"])
|
47
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-scp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamis Buck
|
8
8
|
- Delano Mandelbaum
|
9
9
|
- Miklós Fazekas
|
10
10
|
autorequire:
|
11
|
-
bindir:
|
11
|
+
bindir: bin
|
12
12
|
cert_chain:
|
13
13
|
- |
|
14
14
|
-----BEGIN CERTIFICATE-----
|
@@ -32,7 +32,7 @@ cert_chain:
|
|
32
32
|
uWREKzWwXbaB96/ZyzoyP7FsQBLgdDL++g2nF0neCENc5Wj5IlQZiH0a2+X3jAgm
|
33
33
|
7UnoE3CP9Tk5GHVUina5gPyzl0VI4s4pYCPehQ==
|
34
34
|
-----END CERTIFICATE-----
|
35
|
-
date:
|
35
|
+
date: 2019-03-01 00:00:00.000000000 Z
|
36
36
|
dependencies:
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: net-ssh
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: 2.6.5
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: 6.0.0
|
47
47
|
type: :runtime
|
48
48
|
prerelease: false
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
version: 2.6.5
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
56
|
+
version: 6.0.0
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: test-unit
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
requirements: []
|
131
131
|
rubyforge_project:
|
132
|
-
rubygems_version: 2.
|
132
|
+
rubygems_version: 2.6.8
|
133
133
|
signing_key:
|
134
134
|
specification_version: 3
|
135
135
|
summary: A pure Ruby implementation of the SCP client protocol.
|
metadata.gz.sig
CHANGED
Binary file
|