sshake 2.0.1 → 2.0.2

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
  SHA256:
3
- metadata.gz: f8d65b6b9fa8fd110291952af1d442dc69cc6845f17eaa083d02029c00f158c1
4
- data.tar.gz: 4bd250414e109112c077518dbbe3e59513f0306bf25182797ee47ad95c78339b
3
+ metadata.gz: 0b0227ad150af036e9e0690dc6386ff569c523766bc177e55cd4774b13e4af50
4
+ data.tar.gz: 350de20e2172024878b5b3e7dd2a6cc47eb620d459a3094c973a09cc766f0ac0
5
5
  SHA512:
6
- metadata.gz: 3f3f5a61a1d6927818c840894a71f0fc1b3b091201dc818071684f3e4a7a56078b94133c3303c69bac7c7b35da6819c8f03d4a291f74649a8baf3268f755a6d3
7
- data.tar.gz: 73b3e0bb2eca01591aff9835ec858b83d44366a46a2e09aa9eebbb94723d10fff525ec022a7dd83b94891564b3b158c233f405325b26a2611734e8422688fae0
6
+ metadata.gz: 56f1bebcf07705ed634e2e42ddd1fad9a0eb96ded95393808e7e8c709819c6876aa475c28d1dcb41255857f78396420812353132bd011c8c1a350913dc7d378e
7
+ data.tar.gz: f2c0e6e0879c7fa6507179b807b46602bad6d0d1aa96368fe2380262ae4d6d03bcb81d10d86b6cb06686ed3b5741718e32d1438a927cb459bb22bf4b5f7dfd72
@@ -23,7 +23,7 @@ module SSHake
23
23
  # @return [Boolean]
24
24
  attr_accessor :raise_on_error
25
25
 
26
- def initialize(*_args, klogger: nil, **options)
26
+ def initialize(*_args, klogger: nil, **_options)
27
27
  @id = SecureRandom.hex(4)
28
28
  @klogger = klogger || SSHake.klogger
29
29
  end
@@ -23,10 +23,10 @@ module SSHake
23
23
  # Create a new SSH session
24
24
  #
25
25
  # @return [Sshake::Session]
26
- def initialize(host, username = nil, **options)
26
+ def initialize(host, user = nil, **options)
27
27
  super
28
28
  @host = host
29
- @username = username
29
+ @user = user
30
30
  @session_options = options
31
31
  @session_options.delete(:klogger)
32
32
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SSHake
4
4
 
5
- VERSION = '2.0.1'
5
+ VERSION = '2.0.2'
6
6
 
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sshake
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cooke