hocho 0.3.2 → 0.3.3

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: 1a70049bc394f2185d24039b5eb5f8bb47847891681e002bdc3a6bb7ef229c02
4
- data.tar.gz: c3d6dfaca7333206d3fcd54d440facdb534cd2b178f0d83e72d9f881f73e445f
3
+ metadata.gz: a0a27364ca6e9a0cdc3df4159605e91725b46a712c1e90c314ab28ef76c05f5a
4
+ data.tar.gz: 68715a21908659b21d85b0242a34ca7375d6c8275fc7931e2f3d13a33d29b24b
5
5
  SHA512:
6
- metadata.gz: eac87e4cf5840f81d2880215a6c50609819518bd3fbe6bfb7aeee7097fefb19e24120e82e369af0b6482bfdbadf0f27fcaedef1a675fef7500f241204e993f0d
7
- data.tar.gz: '06666955518c19926814e909db32e8d4d559c4b204d0de5ad4cb9788a7c20085bcfa6aa79d4be84faa1a45ec2054455a3a16d9404bc2846f6aba5d7584db0bce'
6
+ metadata.gz: b30d5707e5f02eee6b53ab304e5e95ba9e5cd156d4b27b56a6f8d8e9c4b8384b0652baf16241ba7a7c14ab0f952ae0572ded41039626da27f65b7f19d670e4fe
7
+ data.tar.gz: 1effb0cdc7805063ba202db29c125d6648e9810ce7cadedaddbdac36eb10404769c4fff2dd2e2601fe63d31a4499d1a3db1aebb90a879655dd7a09d2e3c141bf
data/hocho.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_dependency "thor"
22
22
  spec.add_dependency "itamae"
23
- spec.add_dependency "net-ssh"
23
+ spec.add_dependency "net-ssh", ">= 4.1.0"
24
24
  spec.add_dependency "hashie"
25
25
 
26
26
  spec.add_development_dependency "bundler"
data/lib/hocho/host.rb CHANGED
@@ -150,6 +150,8 @@ module Hocho
150
150
  [["Port", value]]
151
151
  when :proxy
152
152
  case value
153
+ when Net::SSH::Proxy::Jump
154
+ [["ProxyJump", value.jump_proxies]]
153
155
  when Net::SSH::Proxy::Command
154
156
  [["ProxyCommand", value.command_line_template]]
155
157
  when false
@@ -163,8 +165,6 @@ module Hocho
163
165
  [["User", value]]
164
166
  when :user_known_hosts_file
165
167
  [["UserKnownHostsFile", value]]
166
- when :proxy_jump
167
- [["ProxyJump", value]]
168
168
  end
169
169
  end.compact.map do |keyval|
170
170
  keyval.join(separator)
data/lib/hocho/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Hocho
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hocho
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - sorah (Shota Fukumori)
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: 4.1.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: 4.1.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: hashie
57
57
  requirement: !ruby/object:Gem::Requirement