gun 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/bin/gunify +2 -1
  2. data/lib/gun/version.rb +1 -1
  3. 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
 
@@ -1,3 +1,3 @@
1
1
  module Gun
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gun
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matt Carr