diff options
author | Jared Beck <jared@jaredbeck.com> | 2018-03-24 12:10:07 -0400 |
---|---|---|
committer | Jared Beck <jared@jaredbeck.com> | 2018-04-04 12:54:53 -0400 |
commit | 29a8e97ae8d2eaf674a8694b775dc119985fa5e9 (patch) | |
tree | 287bda47f4a14170a93cebc528915d68f8e8e8c7 /Manifest | |
parent | 6edb6caaaaa661f6f1472faa43e7ef0b4618cf7b (diff) | |
download | net-ssh-29a8e97ae8d2eaf674a8694b775dc119985fa5e9.tar.gz |
New options for :verify_host_key
Deprecate some existing values, replacing them with a set of words
that match the classes in the `Net::SSH::Verifiers` module. Values
would be replaced as follows:
- `false` becomes `:never`,
- `true` becomes `:accept_new_or_local_tunnel`,
- `:very` becomes `:accept_new`, and
- `:secure` becomes `:always`.
This is a nice improvement, improving data type consistency (they're
all symbols) and expressiveness (they reveal the underlying classes).
This change was preliminarily approved in
https://github.com/net-ssh/net-ssh/issues/532
Diffstat (limited to 'Manifest')
-rw-r--r-- | Manifest | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -75,10 +75,10 @@ lib/net/ssh/transport/packet_stream.rb lib/net/ssh/transport/server_version.rb lib/net/ssh/transport/session.rb lib/net/ssh/transport/state.rb -lib/net/ssh/verifiers/lenient.rb -lib/net/ssh/verifiers/null.rb -lib/net/ssh/verifiers/secure.rb -lib/net/ssh/verifiers/strict.rb +lib/net/ssh/verifiers/accept_new.rb +lib/net/ssh/verifiers/accept_new_or_local_tunnel.rb +lib/net/ssh/verifiers/always.rb +lib/net/ssh/verifiers/never.rb lib/net/ssh/version.rb net-ssh.gemspec setup.rb |