fog 0.3.27 → 0.3.28

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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fog (0.3.27)
4
+ fog (0.3.28)
5
5
  builder
6
6
  excon (>= 0.2.8)
7
7
  formatador (>= 0.0.16)
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
7
7
  ## If your rubyforge_project name is different, then edit it and comment out
8
8
  ## the sub! line in the Rakefile
9
9
  s.name = 'fog'
10
- s.version = '0.3.27'
11
- s.date = '2010-12-04'
10
+ s.version = '0.3.28'
11
+ s.date = '2010-12-05'
12
12
  s.rubyforge_project = 'fog'
13
13
 
14
14
  ## Make sure your summary is short. The description may be as long
data/lib/fog.rb CHANGED
@@ -19,7 +19,7 @@ module Fog
19
19
  @mocking = false
20
20
 
21
21
  unless const_defined?(:VERSION)
22
- VERSION = '0.3.27'
22
+ VERSION = '0.3.28'
23
23
  end
24
24
 
25
25
  module Mock
@@ -10,6 +10,7 @@ module Fog
10
10
 
11
11
  attribute :architecture
12
12
  attribute :block_device_mapping, :aliases => 'blockDeviceMapping'
13
+ attribute :description
13
14
  attribute :location, :aliases => 'imageLocation'
14
15
  attribute :owner_id, :aliases => 'imageOwnerId'
15
16
  attribute :state, :aliases => 'imageState'
@@ -167,7 +167,7 @@ module Fog
167
167
  Timeout::timeout(4) do
168
168
  Fog::SSH.new(ip_address, username, credentials).run(commands)
169
169
  end
170
- rescue Net::SSH::AuthenticationFailed, Timeout::Error
170
+ rescue Timeout::Error
171
171
  retry
172
172
  end
173
173
  end
@@ -26,7 +26,7 @@ module Fog
26
26
 
27
27
  def end_element(name)
28
28
  case name
29
- when 'architecture', 'imageId', 'imageLocation', 'imageOwnerId', 'imageState', 'imageType', 'kernelId', 'platform', 'ramdiskId', 'rootDeviceType','rootDeviceName'
29
+ when 'architecture', 'description', 'imageId', 'imageLocation', 'imageOwnerId', 'imageState', 'imageType', 'kernelId', 'platform', 'ramdiskId', 'rootDeviceType','rootDeviceName'
30
30
  @image[name] = @value
31
31
  when 'blockDeviceMapping'
32
32
  @in_block_device_mapping = false
@@ -22,6 +22,7 @@ module Fog
22
22
  # * 'imagesSet'<~Array>:
23
23
  # * 'architecture'<~String> - Architecture of the image
24
24
  # * 'blockDeviceMapping'<~Array> - An array of mapped block devices
25
+ # * 'description'<~String> - Description of image
25
26
  # * 'imageId'<~String> - Id of the image
26
27
  # * 'imageLocation'<~String> - Location of the image
27
28
  # * 'imageOwnerId'<~String> - Id of the owner of the image
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 27
9
- version: 0.3.27
8
+ - 28
9
+ version: 0.3.28
10
10
  platform: ruby
11
11
  authors:
12
12
  - geemus (Wesley Beary)
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-12-04 00:00:00 -08:00
17
+ date: 2010-12-05 00:00:00 -08:00
18
18
  default_executable: fog
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency