net-ssh 5.2.0.rc1 → 5.2.0.rc2

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
2
  SHA1:
3
- metadata.gz: f322b0b79581a7d7b24a917b79ddabc8563b5a5c
4
- data.tar.gz: a9e3a2c9cfa281f1b91a335bda58f4b6dcc568fd
3
+ metadata.gz: c2765bde2cf7f2d2712d570614a8b88b0eb60a48
4
+ data.tar.gz: dd2b510a4bfb2534d2a271280959dc400a0230df
5
5
  SHA512:
6
- metadata.gz: fcd0f1c4c2a6833e75509523cf19195cbb2320860f5f20800ce780f785d52093ae24331b27ac3dcfd49d62de341048ed611078f15449f3052830cf7c1630e309
7
- data.tar.gz: 3b3fa8989372dbbe9a84fdfdbc22dde5b9ea69fcb206b9e859aa83f6a46b729b117dfe024c49a1fe969a2fedc2dbacbc190d2b5764603efe6780c10f15b31f58
6
+ metadata.gz: 05a267b12dd182983c5a773282fcc9d84188e3dada4ecc5a90cccaab33443f402bd7a63955f355beb497118b91222534f911c808b93a252f042c6b2eab4b9472
7
+ data.tar.gz: e4424e278bb6b1cfef965f471f0cc046d5cda8c0cef23391710ec7759ad4ee0314853a9ae6075da0c8c4fbf6065c99cbde576589c550f9f32bb66eaba12da955
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1,3 @@
1
- ?�7&Ar�^�spw��H��`W�"�� W����K���:�Y~<K�T&������M��7�뉕WkhS7��F�������,gf�-�}T=@ Wl�/�iSj/84�XfxHN���Vy^��˛=�q�oۂ(vO3����xx_�����In�ժ�!���r����QyK���k��,K5n��Ye�80�o!W
1
+ 1���������-��7�"����q� ��B+�2<�����b:M��hE+*|P7nH{v"PEN�"���(n�qky�_��'�������sO d=�m7��*H
2
+ ��w!�� ��}�14$�h@ :��z�K'���&^RN6^��������3.�f��J�qq�H���G����Ǖ���?^��Y���|҉�Da�E ��9� �<bOl30���V�=hf� L(�o�ӀT��
3
+ ��*| k�5�U��
data/CHANGES.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 5.2.0.rc2
2
+
3
+ * Read check_host_ip from ssh config files
4
+
1
5
  === 5.2.0.rc1
2
6
 
3
7
  * Interpret * and ? in know_hosts file [Romain Tartière, #660]
@@ -24,6 +24,7 @@ module Net
24
24
  # * IdentityFile => maps to the :keys option
25
25
  # * IdentityAgent => :identity_agent
26
26
  # * IdentitiesOnly => :keys_only
27
+ # * CheckHostIP => :check_host_ip
27
28
  # * Macs => maps to the :hmac option
28
29
  # * PasswordAuthentication => maps to the :auth_methods option password
29
30
  # * Port => :port
@@ -76,6 +77,10 @@ module Net
76
77
  # #translate for how to convert the OpenSSH options into Net::SSH
77
78
  # options.)
78
79
  def load(path, host, settings={}, base_dir = nil)
80
+ translated_globals = {
81
+ "checkhostip" => "check_host_ip"
82
+ }
83
+
79
84
  file = File.expand_path(path)
80
85
  base_dir ||= File.dirname(file)
81
86
  return settings unless File.readable?(file)
@@ -96,6 +101,7 @@ module Net
96
101
  next if value.nil?
97
102
 
98
103
  key.downcase!
104
+ key = translated_globals[key] || key
99
105
  value = unquote(value)
100
106
 
101
107
  value = case value.strip
@@ -202,7 +208,8 @@ module Net
202
208
  fingerprinthash: :fingerprint_hash,
203
209
  port: :port,
204
210
  user: :user,
205
- userknownhostsfile: :user_known_hosts_file
211
+ userknownhostsfile: :user_known_hosts_file,
212
+ checkhostip: :check_host_ip
206
213
  }
207
214
  case key
208
215
  when :ciphers
@@ -56,7 +56,7 @@ module Net
56
56
 
57
57
  # The prerelease component of this version of the Net::SSH library
58
58
  # nil allowed
59
- PRE = "rc1"
59
+ PRE = "rc2"
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)
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: 5.2.0.rc1
4
+ version: 5.2.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck
@@ -32,7 +32,7 @@ cert_chain:
32
32
  ZFwoIuXKeDmTTpryd/vI7sdLXDuV6MbWOLGh6gXn9RDDXG1EqEXW0bjovATBMpdH
33
33
  9OGohJvAFzcvhDTWPwT6w3PG5B80pqb9j1hEAg==
34
34
  -----END CERTIFICATE-----
35
- date: 2019-03-02 00:00:00.000000000 Z
35
+ date: 2019-03-07 00:00:00.000000000 Z
36
36
  dependencies:
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: bcrypt_pbkdf
metadata.gz.sig CHANGED
Binary file