net-ssh-xlogin 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +5 -11
- data/lib/net/ssh/xlogin/connection.rb +1 -1
- data/lib/net/ssh/xlogin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1a3c3f9e810eb5b7ecf8f42207dacdb92fdc8d46d71868133ee97520a2c9228
|
4
|
+
data.tar.gz: 5d6e14f9b766979a55d2e378acbf3019337e6ac9b2d6de4a0af2be16bbeac87d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d49ba142f0db57a7c0cb49f4b76b2a14100f230b9c0ea652093c01323abd2f43ffa1f97675217bc17d09d6d72cfe7f58f8f46ac79cd65f4410c85ae09f9544a
|
7
|
+
data.tar.gz: d6a547f74528675199e50e49e5297bc5a32f18d016d9df1d9656db9901c6376de20047c457be0aeac0e8b5d11e310f1f0e3de86d50e0b95bc5db490229dc5400
|
data/Gemfile.lock
CHANGED
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(
|
40
|
+
args['Session'] = Net::SSH.start(name, nil, ssh_options)
|
41
41
|
end
|
42
42
|
|
43
43
|
super(args)
|
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.
|
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-
|
11
|
+
date: 2019-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|