knife-server 0.3.2 → 0.3.3

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.
data/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
- ## 0.3.3.dev (unreleased)
1
+ ## 0.3.4.dev (unreleased)
2
+
3
+
4
+ ## 0.3.3 (December 24, 2012)
5
+
6
+ ### Bug fixes
7
+
8
+ * Pull request [#15](https://github.com/fnichol/knife-server/pull/15): Fix
9
+ identity-file when `nil` is passed in. ([@erikh][])
2
10
 
3
11
 
4
12
  ## 0.3.2 (December 19, 2012)
@@ -93,7 +93,7 @@ class Chef
93
93
  :user => config[:ssh_user],
94
94
  :password => config[:ssh_password],
95
95
  :port => config[:ssh_port],
96
- :keys => [config[:identity_file]]
96
+ :keys => [config[:identity_file]].compact
97
97
  )
98
98
  end
99
99
  end
@@ -18,6 +18,6 @@
18
18
 
19
19
  module Knife
20
20
  module Server
21
- VERSION = "0.3.2"
21
+ VERSION = "0.3.3"
22
22
  end
23
23
  end
@@ -206,7 +206,7 @@ describe Chef::Knife::ServerBootstrapStandalone do
206
206
  it "creates an SSH connection without a password" do
207
207
  Knife::Server::SSH.should_receive(:new).with({
208
208
  :host => "192.168.0.1", :port => "2345",
209
- :user => "root", :password => nil, :keys => [nil]
209
+ :user => "root", :password => nil, :keys => []
210
210
  })
211
211
 
212
212
  @knife.run
@@ -221,7 +221,7 @@ describe Chef::Knife::ServerBootstrapStandalone do
221
221
  it "creates an SSH connection with a password" do
222
222
  Knife::Server::SSH.should_receive(:new).with({
223
223
  :host => "192.168.0.1", :port => "2345",
224
- :user => "root", :password => "snoopy", :keys => [nil]
224
+ :user => "root", :password => "snoopy", :keys => []
225
225
  })
226
226
 
227
227
  @knife.run
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
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: 2012-12-19 00:00:00.000000000 Z
12
+ date: 2012-12-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog
@@ -171,7 +171,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  segments:
173
173
  - 0
174
- hash: 2770646326129995573
174
+ hash: -302357605861096338
175
175
  required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  none: false
177
177
  requirements:
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  version: '0'
181
181
  segments:
182
182
  - 0
183
- hash: 2770646326129995573
183
+ hash: -302357605861096338
184
184
  requirements: []
185
185
  rubyforge_project:
186
186
  rubygems_version: 1.8.24