capistrano3-consul 0.3.0 → 0.3.1

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
  SHA1:
3
- metadata.gz: 0c1dc53661e5990e5a1a71de57d8b16a9f3fdad1
4
- data.tar.gz: 298f293f80fbdae3764f0c2554ef822aaa41f383
3
+ metadata.gz: 97e4dc5a48c3b4441fe9ea8cb4ec5ebdeed5add2
4
+ data.tar.gz: c2ffd16cc1f601f0e9dc4f824392549f24f92d19
5
5
  SHA512:
6
- metadata.gz: 87df52bc48e5f23c229154786bba477e746a8d217460d4f1c6165f0f47f971706b330c53aa63831773642c81aa026962576eab4024717e5598b2f802d0dad8c0
7
- data.tar.gz: abb3cd5d1d3cd1700aa1a7f8582c39265f9566407eb95651ba9b7739b40e4f56143a8eb439149677995e434be6c1304b1142315a90573fe4a2e15a48cb6c4c18
6
+ metadata.gz: 48d05c09769887b3821b9fbc4994520bc5f4da5a4db3084d5ac84f1712adaca2ed6e2e1bbd323230e463eeddfbb64a6b139a921971e4b2895c7cebfbae703a83
7
+ data.tar.gz: f76d2c61d78f3d3acddfc3e25b08ee0eadcb43f309e13f55266e244e4b69c21460626f9f0ad149ae12ab6bd313085c159eba5b273207d8b98f3ab9a6469f29e3
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Consul
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
@@ -10,14 +10,10 @@ module Capistrano
10
10
  return false unless @url
11
11
  @ssh_gateway = fetch(:consul_ssh_gateway)
12
12
  if @ssh_gateway
13
- @gateway = Net::SSH::Gateway.new(@ssh_gateway[:host], @ssh_gateway[:username], @ssh_gateway[:options])
13
+ @gateway = Net::SSH::Gateway.new(@ssh_gateway[:host], @ssh_gateway[:username], @ssh_gateway[:options] || {})
14
14
  @gateway.open('127.0.0.1', @ssh_gateway[:port], @ssh_gateway[:port])
15
15
  end
16
16
 
17
- if @use_ssh_proxy
18
- @ssh_options = fetch(:ssh_options)
19
- return false unless @ssh_options[:proxy]
20
- end
21
17
  Diplomat.configure do |config|
22
18
  config.url = @url
23
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano3-consul
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jose Fernandez (magec)