vagrant-fabric 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,12 @@ module VagrantPlugins
6
6
  user = ssh_info[:username]
7
7
  host = ssh_info[:host]
8
8
  port = ssh_info[:port]
9
- private_key = ssh_info[:private_key_path]
9
+ if ssh_info[:private_key_path].kind_of?(Array)
10
+ private_key = ssh_info[:private_key_path][0]
11
+ else
12
+ private_key = ssh_info[:private_key_path]
13
+ end
14
+
10
15
  if config.remote == false
11
16
  system "#{config.fabric_path} -f #{config.fabfile_path} " +
12
17
  "-i #{private_key} --user=#{user} --hosts=#{host} " +
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Fabric
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-fabric
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-13 00:00:00.000000000 Z
12
+ date: 2014-04-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -76,18 +76,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  - - ! '>='
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
- segments:
80
- - 0
81
- hash: -4340889221089363556
82
79
  required_rubygems_version: !ruby/object:Gem::Requirement
83
80
  none: false
84
81
  requirements:
85
82
  - - ! '>='
86
83
  - !ruby/object:Gem::Version
87
84
  version: '0'
88
- segments:
89
- - 0
90
- hash: -4340889221089363556
91
85
  requirements: []
92
86
  rubyforge_project:
93
87
  rubygems_version: 1.8.23