net-ssh-xlogin 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18c8fc6e098ac2b9b1ed5afa083f7a7afb4fa1ce04b9d8fb5dfa183e3cd5782c
4
- data.tar.gz: 686efa8e6793a4eece0a0440d70ab622c6ee175bb6555d7e6e1b152cf9da517a
3
+ metadata.gz: c1a3c3f9e810eb5b7ecf8f42207dacdb92fdc8d46d71868133ee97520a2c9228
4
+ data.tar.gz: 5d6e14f9b766979a55d2e378acbf3019337e6ac9b2d6de4a0af2be16bbeac87d
5
5
  SHA512:
6
- metadata.gz: 2009700c3d15ec329126bc626f673b3e7eec66f6c47de9d0c6d3a53121d08d97058dc5a8cec7718f6dbb47474afa06add8083ca7f03334d7995ff2e3e8c9e555
7
- data.tar.gz: f2c166bdd18fbae04e301ac1bad0e1929b536887e1be5004406ef477e2834a91baead80cfb4349d717af79d7e15a1a875c1b589fa7cbbc4c1f60b961e8a33b80
6
+ metadata.gz: 2d49ba142f0db57a7c0cb49f4b76b2a14100f230b9c0ea652093c01323abd2f43ffa1f97675217bc17d09d6d72cfe7f58f8f46ac79cd65f4410c85ae09f9544a
7
+ data.tar.gz: d6a547f74528675199e50e49e5297bc5a32f18d016d9df1d9656db9901c6376de20047c457be0aeac0e8b5d11e310f1f0e3de86d50e0b95bc5db490229dc5400
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- net-ssh-xlogin (0.2.0)
4
+ net-ssh-xlogin (0.2.1)
5
5
  bcrypt_pbkdf
6
6
  ed25519
7
7
  net-ssh
data/README.md CHANGED
@@ -24,7 +24,11 @@ require 'net/ssh/xlogin'
24
24
 
25
25
  Net::SSH::Xlogin.configure do
26
26
  source "centos7 'exsample-server', 'ssh://vagrant:vagrant@localhost', port: 2222"
27
- template(type: :centos7){}
27
+ template(type: :centos7) do
28
+ bind(:iplist) do
29
+ cmd('ifconfig')
30
+ end
31
+ end
28
32
  end
29
33
 
30
34
 
@@ -67,13 +71,3 @@ s.close
67
71
  #=>
68
72
  #=> [vagrant@exsample-server ~]$
69
73
  ```
70
-
71
- ## Development
72
-
73
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
74
-
75
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
76
-
77
- ## Contributing
78
-
79
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/net-ssh-xlogin.
@@ -37,7 +37,7 @@ module Net::SSH::Xlogin
37
37
  else
38
38
  ssh_options = @options.slice(*Net::SSH::VALID_OPTIONS)
39
39
  ssh_options = @options[:host] unless @options[:host_name]
40
- args['Session'] = Net::SSH.start(nil, nil, ssh_options)
40
+ args['Session'] = Net::SSH.start(name, nil, ssh_options)
41
41
  end
42
42
 
43
43
  super(args)
@@ -1,7 +1,7 @@
1
1
  module Net
2
2
  module SSH
3
3
  module Xlogin
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-ssh-xlogin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ito.toshifumi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-10 00:00:00.000000000 Z
11
+ date: 2019-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh