net-sftp 3.0.0.beta1 → 3.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: dfaa82448aebfb3c2a205a2ee3a4a00cb79880de
4
- data.tar.gz: 80dd6481dd160bf3a25ba724c13cd1d86f2faa96
2
+ SHA256:
3
+ metadata.gz: 957073b004855dcca5c6535243c54f11eaf1db30a7c984d4910e08148415aec1
4
+ data.tar.gz: 97596162986c3be2939f8c97af3806d44250153886d285d13f85e6e95fb64a0f
5
5
  SHA512:
6
- metadata.gz: 1b420fd11f558578edd054c8413c3de74515791d05d982bad5d07ac0c5e0a540bc8af13cf23e347091431e43611b3f3116de6917754bf87a9b37e0f692ad42d8
7
- data.tar.gz: df1d630648a90a715148837346d3be01d9462a70c3831822d4a4d803fa320b1544fda4b2faab3f7f45256ad79a160e0f1d00b347f18750cbb66081fa3b6ae4fd
6
+ metadata.gz: 212b6284e7835fcb60499b8fd030bdf9774ec5f05c9cc5a5d296d2db1ca0441743a74542ff740b501bb36e5c4c668044260dbbdb282a4bb7fd823aee964c7269
7
+ data.tar.gz: 68a3ba54c28b89b3abdb8ef96a53d0f0b1f8c77b17ac7094883c53609146ee3d2ea603f13a1fb429d06923545dc7d494f8111572c29366659922d6e062db75bf
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,11 +1,11 @@
1
1
  language: ruby
2
2
  sudo: false
3
3
  rvm:
4
- - 2.2.10
5
4
  - 2.3.7
6
5
  - 2.4.5
7
6
  - 2.5.3
8
- - 2.6.0-rc2
7
+ - 2.6.5
8
+ - 2.7.1
9
9
  - ruby-head
10
10
  - jruby-head
11
11
  - rbx-3.107
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  # TODO: add to gemspec
7
- gem "bundler", "~> 1.11"
7
+ gem "bundler", "~> 2.1"
8
8
  gem "rake", "~> 12.0"
9
9
 
10
10
  gem 'byebug', group: %i[development test] if !Gem.win_platform? && RUBY_ENGINE == "ruby"
@@ -26,7 +26,7 @@ Net::SFTP is a pure-Ruby implementation of the SFTP protocol (specifically, vers
26
26
 
27
27
  In a nutshell:
28
28
 
29
- require 'net-sftp'
29
+ require 'net/sftp'
30
30
 
31
31
  Net::SFTP.start('host', 'username', :password => 'password') do |sftp|
32
32
  # upload a file or directory to the remote host
data/Rakefile CHANGED
@@ -33,35 +33,6 @@ namespace :cert do
33
33
  end
34
34
  end
35
35
 
36
- if false
37
- begin
38
- require "jeweler"
39
- Jeweler::Tasks.new do |s|
40
- s.version = version
41
- s.name = name
42
- s.rubyforge_project = s.name
43
- s.summary = "A pure Ruby implementation of the SFTP client protocol"
44
- s.description = s.summary
45
- s.email = "net-ssh@solutious.com"
46
- s.homepage = "https://github.com/net-ssh/net-sftp"
47
- s.authors = ["Jamis Buck", "Delano Mandelbaum"]
48
-
49
- s.add_dependency 'net-ssh', ">=2.6.5"
50
-
51
- s.add_development_dependency 'test-unit'
52
- s.add_development_dependency 'mocha'
53
-
54
- s.license = "MIT"
55
-
56
- s.signing_key = File.join('/mnt/gem/', 'gem-private_key.pem')
57
- s.cert_chain = ['gem-public_cert.pem']
58
- end
59
- Jeweler::GemcutterTasks.new
60
- rescue LoadError
61
- puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
62
- end
63
- end
64
-
65
36
  require 'rake/testtask'
66
37
  Rake::TestTask.new do |t|
67
38
  t.libs = ["lib", "test"]
@@ -81,6 +81,7 @@ module Net; module SFTP
81
81
  @input = Net::SSH::Buffer.new
82
82
  self.logger = session.logger
83
83
  @state = :closed
84
+ @pending_requests = {}
84
85
 
85
86
  connect(&block)
86
87
  end
@@ -56,7 +56,7 @@ module Net
56
56
 
57
57
  # The prerelease component of this version of the Net::SFTP library
58
58
  # nil allowed
59
- PRE = "beta1"
59
+ PRE = "rc1"
60
60
 
61
61
  # The current version of the Net::SFTP library as a Version instance
62
62
  CURRENT = new(*[MA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bHV0aW91cy5jb20wDQYJKoZIhvcNAQELBQAD
14
+ ggEBAHZOpj9ZNefc4eoie/20zX4iOgk3i+Rmjo04sMYWEtj0+4zLHXqSjune7+hd
15
+ ruP+u5xmEy9ueGQ/0kcLlDDM+8eQo6gjCY4GIQtwAzVLsUVeejE4291/GyfPf24v
16
+ 1dLWRtPwth0nyN5EOwOPqeiYiLAr5lO3wHTgfIgFhvdZpcXG8zB6JojuFJjDpKvO
17
+ HBV0P82HXjocnjusBt1YykGCvK4cDnaRruZJh6w2XeYQJJjlbqbDfBSQVesg97yM
18
+ bwwLGaqsVz0cC6q3EpU57oyyTu529o0HnDatc94Cz8t9p6ogkKtSM+jwsnnC6wmI
19
+ MMzdZVhRg3QdHAGYfd+TfsS3Mps=
21
20
  -----END CERTIFICATE-----
@@ -31,16 +31,17 @@ Gem::Specification.new do |spec|
31
31
  spec.specification_version = 3
32
32
 
33
33
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
34
- spec.add_runtime_dependency(%q<net-ssh>, [">= 5.0.0", "< 6.0.0"])
35
- spec.add_development_dependency(%q<test-unit>, [">= 0"])
34
+ spec.add_runtime_dependency(%q<net-ssh>, [">= 5.0.0", "< 7.0.0"])
35
+ spec.add_development_dependency(%q<minitest>, [">= 5"])
36
36
  spec.add_development_dependency(%q<mocha>, [">= 0"])
37
37
  else
38
- spec.add_dependency(%q<net-ssh>, [">= 5.0.0", "< 6.0.0"])
39
- spec.add_dependency(%q<test-unit>, [">= 0"])
38
+ spec.add_dependency(%q<net-ssh>, [">= 5.0.0", "< 7.0.0"])
39
+ spec.add_dependency(%q<minitest>, [">= 5"])
40
40
  spec.add_dependency(%q<mocha>, [">= 0"])
41
41
  end
42
42
  else
43
- spec.add_dependency(%q<net-ssh>, [">= 5.0.0", "< 6.0.0"])
43
+ spec.add_dependency(%q<net-ssh>, [">= 5.0.0", "< 7.0.0"])
44
+ spec.add_dependency(%q<minitest>, [">= 5"])
44
45
  spec.add_dependency(%q<test-unit>, [">= 0"])
45
46
  spec.add_dependency(%q<mocha>, [">= 0"])
46
47
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-sftp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.beta1
4
+ version: 3.0.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck
@@ -12,27 +12,26 @@ bindir: exe
12
12
  cert_chain:
13
13
  - |
14
14
  -----BEGIN CERTIFICATE-----
15
- MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQsFADBBMQ8wDQYDVQQDDAZuZXRz
16
- c2gxGTAXBgoJkiaJk/IsZAEZFglzb2x1dGlvdXMxEzARBgoJkiaJk/IsZAEZFgNj
17
- b20wHhcNMTgwNjA2MTYwMzExWhcNMTkwNjA2MTYwMzExWjBBMQ8wDQYDVQQDDAZu
18
- ZXRzc2gxGTAXBgoJkiaJk/IsZAEZFglzb2x1dGlvdXMxEzARBgoJkiaJk/IsZAEZ
19
- FgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDGJ4TbZ9H+qZ08
20
- pQfJhPJTHaDCyQvCsKTFrL5O9z3tllQ7B/zksMMM+qFBpNYu9HCcg4yBATacE/PB
21
- qVVyUrpr6lbH/XwoN5ljXm+bdCfmnjZvTCL2FTE6o+bcnaF0IsJyC0Q2B1fbWdXN
22
- 6Off1ZWoUk6We2BIM1bn6QJLxBpGyYhvOPXsYoqSuzDf2SJDDsWFZ8kV5ON13Ohm
23
- JbBzn0oD8HF8FuYOewwsC0C1q4w7E5GtvHcQ5juweS7+RKsyDcVcVrLuNzoGRttS
24
- KP4yMn+TzaXijyjRg7gECfJr3TGASaA4bQsILFGG5dAWcwO4OMrZedR7SHj/o0Kf
25
- 3gL7P0axAgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
26
- BBQF8qLA7Z4zg0SJGtUb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OG0LCCxRhuXQFnMDuDjK2XnUe0h4/6NCn94C+z9GsQID
24
+ AQABo3sweTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUBfKiwO2e
25
+ M4NEiRrVG793qEPLYyMwHwYDVR0RBBgwFoEUbmV0c3NoQHNvbHV0aW91cy5jb20w
26
+ HwYDVR0SBBgwFoEUbmV0c3NoQHNvbHV0aW91cy5jb20wDQYJKoZIhvcNAQELBQAD
27
+ ggEBAHZOpj9ZNefc4eoie/20zX4iOgk3i+Rmjo04sMYWEtj0+4zLHXqSjune7+hd
28
+ ruP+u5xmEy9ueGQ/0kcLlDDM+8eQo6gjCY4GIQtwAzVLsUVeejE4291/GyfPf24v
29
+ 1dLWRtPwth0nyN5EOwOPqeiYiLAr5lO3wHTgfIgFhvdZpcXG8zB6JojuFJjDpKvO
30
+ HBV0P82HXjocnjusBt1YykGCvK4cDnaRruZJh6w2XeYQJJjlbqbDfBSQVesg97yM
31
+ bwwLGaqsVz0cC6q3EpU57oyyTu529o0HnDatc94Cz8t9p6ogkKtSM+jwsnnC6wmI
32
+ MMzdZVhRg3QdHAGYfd+TfsS3Mps=
34
33
  -----END CERTIFICATE-----
35
- date: 2018-12-28 00:00:00.000000000 Z
34
+ date: 2020-04-26 00:00:00.000000000 Z
36
35
  dependencies:
37
36
  - !ruby/object:Gem::Dependency
38
37
  name: net-ssh
@@ -43,7 +42,7 @@ dependencies:
43
42
  version: 5.0.0
44
43
  - - "<"
45
44
  - !ruby/object:Gem::Version
46
- version: 6.0.0
45
+ version: 7.0.0
47
46
  type: :runtime
48
47
  prerelease: false
49
48
  version_requirements: !ruby/object:Gem::Requirement
@@ -53,21 +52,21 @@ dependencies:
53
52
  version: 5.0.0
54
53
  - - "<"
55
54
  - !ruby/object:Gem::Version
56
- version: 6.0.0
55
+ version: 7.0.0
57
56
  - !ruby/object:Gem::Dependency
58
- name: test-unit
57
+ name: minitest
59
58
  requirement: !ruby/object:Gem::Requirement
60
59
  requirements:
61
60
  - - ">="
62
61
  - !ruby/object:Gem::Version
63
- version: '0'
62
+ version: '5'
64
63
  type: :development
65
64
  prerelease: false
66
65
  version_requirements: !ruby/object:Gem::Requirement
67
66
  requirements:
68
67
  - - ">="
69
68
  - !ruby/object:Gem::Version
70
- version: '0'
69
+ version: '5'
71
70
  - !ruby/object:Gem::Dependency
72
71
  name: mocha
73
72
  requirement: !ruby/object:Gem::Requirement
@@ -147,8 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
146
  - !ruby/object:Gem::Version
148
147
  version: '0'
149
148
  requirements: []
150
- rubyforge_project:
151
- rubygems_version: 2.6.8
149
+ rubygems_version: 3.0.3
152
150
  signing_key:
153
151
  specification_version: 3
154
152
  summary: A pure Ruby implementation of the SFTP client protocol.
metadata.gz.sig CHANGED
Binary file