net-ssh 2.10.1.rc1 → 2.10.1.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.travis.yml +1 -0
- data/lib/net/ssh/authentication/pageant.rb +12 -12
- data/lib/net/ssh/version.rb +1 -1
- data/net-ssh.gemspec +3 -3
- metadata +2 -2
- 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: 53314dd4042109ef57afae20cee929c52ea44ec5
|
4
|
+
data.tar.gz: 594fec12a5d588ec79e2a9e35802c7e411767960
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da0ffcbf7aac40e8ffcfe4356c48b82df5ed60e360cd09f4d2f1c99e513ba8e7e23ce40428a7f6a367c3ea4810b893c75e916bb2e93e811f25c1584f50ef8ca6
|
7
|
+
data.tar.gz: c7eab4d6ee7ad0e6553480afafd0c932e15c4ab35581258a26c6e90fcd00324f49ae95c2506232386cfba09a463ea737ddafd926daca2180f11fcd4f7e11f20b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.travis.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
if RUBY_VERSION < "1.9"
|
2
2
|
require 'dl/import'
|
3
3
|
require 'dl/struct'
|
4
|
-
elsif RUBY_VERSION < "2.
|
4
|
+
elsif RUBY_VERSION < "2.1"
|
5
5
|
require 'dl/import'
|
6
6
|
require 'dl/types'
|
7
7
|
require 'dl'
|
@@ -46,7 +46,7 @@ module Net; module SSH; module Authentication
|
|
46
46
|
dlload 'advapi32'
|
47
47
|
|
48
48
|
SIZEOF_DWORD = DL.sizeof('L')
|
49
|
-
elsif RUBY_VERSION < "2.
|
49
|
+
elsif RUBY_VERSION < "2.1"
|
50
50
|
extend DL::Importer
|
51
51
|
dlload 'user32','kernel32', 'advapi32'
|
52
52
|
include DL::Win32Types
|
@@ -88,7 +88,7 @@ module Net; module SSH; module Authentication
|
|
88
88
|
extern 'HANDLE CreateFileMapping(HANDLE, void *, DWORD, ' +
|
89
89
|
'DWORD, DWORD, LPCTSTR)'
|
90
90
|
|
91
|
-
# args: hFileMappingObject, dwDesiredAccess, dwFileOffsetHigh,
|
91
|
+
# args: hFileMappingObject, dwDesiredAccess, dwFileOffsetHigh,
|
92
92
|
# dwfileOffsetLow, dwNumberOfBytesToMap
|
93
93
|
extern 'LPVOID MapViewOfFile(HANDLE, DWORD, DWORD, DWORD, DWORD)'
|
94
94
|
|
@@ -101,7 +101,7 @@ module Net; module SSH; module Authentication
|
|
101
101
|
# args: hWnd, Msg, wParam, lParam, fuFlags, uTimeout, lpdwResult
|
102
102
|
extern 'LRESULT SendMessageTimeout(HWND, UINT, WPARAM, LPARAM, ' +
|
103
103
|
'UINT, UINT, PDWORD_PTR)'
|
104
|
-
|
104
|
+
|
105
105
|
# args: none
|
106
106
|
extern 'DWORD GetLastError()'
|
107
107
|
|
@@ -127,8 +127,8 @@ module Net; module SSH; module Authentication
|
|
127
127
|
extern 'BOOL IsValidSecurityDescriptor(LPVOID)'
|
128
128
|
|
129
129
|
# Constants needed for security attribute retrieval.
|
130
|
-
# Specifies the access mask corresponding to the desired access
|
131
|
-
# rights.
|
130
|
+
# Specifies the access mask corresponding to the desired access
|
131
|
+
# rights.
|
132
132
|
TOKEN_QUERY = 0x8
|
133
133
|
|
134
134
|
# The value of TOKEN_USER from the TOKEN_INFORMATION_CLASS enum.
|
@@ -295,7 +295,7 @@ module Net; module SSH; module Authentication
|
|
295
295
|
new
|
296
296
|
end
|
297
297
|
|
298
|
-
# Create a new instance that communicates with the running pageant
|
298
|
+
# Create a new instance that communicates with the running pageant
|
299
299
|
# instance. If no such instance is running, this will cause an error.
|
300
300
|
def initialize
|
301
301
|
@win = Win.FindWindow("Pageant", "Pageant")
|
@@ -313,20 +313,20 @@ module Net; module SSH; module Authentication
|
|
313
313
|
# the first.
|
314
314
|
def send(data, *args)
|
315
315
|
@input_buffer.append(data)
|
316
|
-
|
316
|
+
|
317
317
|
ret = data.length
|
318
|
-
|
318
|
+
|
319
319
|
while true
|
320
320
|
return ret if @input_buffer.length < 4
|
321
321
|
msg_length = @input_buffer.read_long + 4
|
322
322
|
@input_buffer.reset!
|
323
|
-
|
323
|
+
|
324
324
|
return ret if @input_buffer.length < msg_length
|
325
325
|
msg = @input_buffer.read!(msg_length)
|
326
326
|
@output_buffer.append(send_query(msg))
|
327
327
|
end
|
328
328
|
end
|
329
|
-
|
329
|
+
|
330
330
|
# Reads +n+ bytes from the cached result of the last query. If +n+
|
331
331
|
# is +nil+, returns all remaining data from the last query.
|
332
332
|
def read(n = nil)
|
@@ -358,7 +358,7 @@ module Net; module SSH; module Authentication
|
|
358
358
|
"Creation of file mapping failed with error: #{Win.GetLastError}"
|
359
359
|
end
|
360
360
|
|
361
|
-
ptr = Win.MapViewOfFile(filemap, Win::FILE_MAP_WRITE, 0, 0,
|
361
|
+
ptr = Win.MapViewOfFile(filemap, Win::FILE_MAP_WRITE, 0, 0,
|
362
362
|
0)
|
363
363
|
|
364
364
|
if ptr.nil? || ptr.null?
|
data/lib/net/ssh/version.rb
CHANGED
@@ -55,7 +55,7 @@ module Net; module SSH
|
|
55
55
|
|
56
56
|
# The prerelease component of this version of the Net::SSH library
|
57
57
|
# nil allowed
|
58
|
-
PRE = '
|
58
|
+
PRE = 'rc2'
|
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.1.
|
5
|
+
# stub: net-ssh 2.10.1.rc2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "net-ssh"
|
9
|
-
s.version = "2.10.1.
|
9
|
+
s.version = "2.10.1.rc2"
|
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-08
|
15
|
+
s.date = "2015-09-08"
|
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 = [
|
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.1.
|
4
|
+
version: 2.10.1.rc2
|
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-08
|
34
|
+
date: 2015-09-08 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: test-unit
|
metadata.gz.sig
CHANGED
Binary file
|