openstack-compute 1.1.9 → 1.1.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/openstack/compute/server.rb +1 -1
  3. metadata +33 -49
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.9
1
+ 1.1.10
@@ -203,7 +203,7 @@ module Compute
203
203
  data = JSON.generate(:createImage => options)
204
204
  response = @connection.req('POST', "/servers/#{@id}/action", :data => data)
205
205
  OpenStack::Compute::Exception.raise_exception(response) unless response.code.match(/^20.$/)
206
- image_id = response["Location"].scan(/.*\/(.*)/).flatten
206
+ image_id = response["Location"].scan(/.*\/(.*)/).flatten[0]
207
207
  OpenStack::Compute::Image.new(@connection, image_id)
208
208
  end
209
209
 
metadata CHANGED
@@ -1,45 +1,39 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: openstack-compute
3
- version: !ruby/object:Gem::Version
4
- hash: 1
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.10
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 1
9
- - 9
10
- version: 1.1.9
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Dan Prince
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-06-12 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-07-24 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: json
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :runtime
33
- version_requirements: *id001
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
34
30
  description: API Binding for OpenStack Compute
35
31
  email: dan.prince@rackspace.com
36
32
  executables: []
37
-
38
33
  extensions: []
39
-
40
- extra_rdoc_files:
34
+ extra_rdoc_files:
41
35
  - README.rdoc
42
- files:
36
+ files:
43
37
  - COPYING
44
38
  - README.rdoc
45
39
  - VERSION
@@ -55,36 +49,26 @@ files:
55
49
  - lib/openstack/compute/server.rb
56
50
  homepage: https://launchpad.net/ruby-openstack-compute
57
51
  licenses: []
58
-
59
52
  post_install_message:
60
53
  rdoc_options: []
61
-
62
- require_paths:
54
+ require_paths:
63
55
  - lib
64
- required_ruby_version: !ruby/object:Gem::Requirement
56
+ required_ruby_version: !ruby/object:Gem::Requirement
65
57
  none: false
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- hash: 3
70
- segments:
71
- - 0
72
- version: "0"
73
- required_rubygems_version: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ required_rubygems_version: !ruby/object:Gem::Requirement
74
63
  none: false
75
- requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- hash: 3
79
- segments:
80
- - 0
81
- version: "0"
64
+ requirements:
65
+ - - ! '>='
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
82
68
  requirements: []
83
-
84
69
  rubyforge_project:
85
- rubygems_version: 1.8.15
70
+ rubygems_version: 1.8.24
86
71
  signing_key:
87
72
  specification_version: 3
88
73
  summary: OpenStack Compute Ruby API
89
74
  test_files: []
90
-