gun 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/gunify +2 -1
- data/lib/gun/version.rb +1 -1
- metadata +3 -3
data/bin/gunify
CHANGED
@@ -48,6 +48,7 @@ class GunTrigger
|
|
48
48
|
:location => 'testthedepot.com',
|
49
49
|
:ssh_port => '2203',
|
50
50
|
:ssh_user => 'root',
|
51
|
+
:ssh_key => 'localpath/to/ssh_key.pem',
|
51
52
|
:repository => "httpdocs/thedepot",
|
52
53
|
:local_checkout_directory => '/tmp',
|
53
54
|
:remote_release_directory => '/http/thedepot',
|
@@ -69,7 +70,7 @@ class GunTrigger
|
|
69
70
|
|
70
71
|
def uname
|
71
72
|
puts '+++Running uname'
|
72
|
-
lbox = Rye::Box.new( @machine[:location], { :port => @machine[:ssh_port], :user => @machine[:ssh_user]} )
|
73
|
+
lbox = Rye::Box.new( @machine[:location], { :port => @machine[:ssh_port], :user => @machine[:ssh_user], :keys => @machine[:ssh_key]} )
|
73
74
|
puts lbox.uname(:a)
|
74
75
|
end
|
75
76
|
|
data/lib/gun/version.rb
CHANGED
metadata
CHANGED