kapify 0.0.15 → 0.0.16

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: 24dd10eccfb4b520512860b8c25e68ba9009c902
4
- data.tar.gz: 407683ff720691a5d2138ecf71af9fc10febec7a
3
+ metadata.gz: 428564b42ba3c16743fa2b1f0e2acd1bcf20e92d
4
+ data.tar.gz: 46c8a2207c25977e38af7d826d2297e49004b86b
5
5
  SHA512:
6
- metadata.gz: 9473401cecbafa83a6d5fcf734c507a633248f4653a62aef56d0a9dd82d23974bca6b639a732899c5c7520d62f41cd2f3d781ba8c0ffa969739265dcba24e68a
7
- data.tar.gz: 53924a4e1e00ff0d9fcae3faaec742a927f0e9633115854518a136df89427bd095fec011c290942c559c01a310984d951773cb570a2225934c7e4014452cf1b0
6
+ metadata.gz: 7ac428592703c4bc96c23bfb0e9753a272cfdfb1f30e037707814c7cacb6d297f3c2401b1f1afdb4df6e9680e8b67c165a9c0e682edc0b2334ff50b3f9da3d92
7
+ data.tar.gz: e97e77b3879c766e840daeb9acd0dbd4b1ac9f4f3ccd47b33fc52b59acc6716d54bf75e7eb6cc4d7bc7130ce91fc481552f8adc2f8db58eb42664cdcf98b9143
data/lib/kapify/base.rb CHANGED
@@ -22,7 +22,8 @@ Capistrano::Configuration.instance.load do
22
22
 
23
23
  def run_interactively(command, server=nil)
24
24
  server ||= find_servers_for_task(current_task).first
25
- exec %Q(ssh #{user}@#{server.host} -p #{port} -t '#{command}')
25
+ ssh_port = server.port || port
26
+ exec %Q(ssh #{user}@#{server.host} -p #{ssh_port} -t '#{command}')
26
27
  end
27
28
 
28
29
  set_default(:templates_path, "#{Dir.pwd}/config/deploy/templates")
@@ -1,3 +1,3 @@
1
1
  module Kapify
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kapify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Tkalin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-10 00:00:00.000000000 Z
11
+ date: 2013-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano