fog-maestrodev 1.18.0.20131219033443 → 1.18.0.20131219193542
Sign up to get free protection for your applications and to get access to all the features.
- data/fog.gemspec +2 -2
- data/lib/fog/google/compute.rb +34 -4
- data/lib/fog/google/models/compute/disk.rb +3 -2
- data/lib/fog/google/models/compute/flavor.rb +1 -0
- data/lib/fog/google/models/compute/image.rb +2 -0
- data/lib/fog/google/models/compute/server.rb +10 -2
- data/lib/fog/google/models/compute/zone.rb +1 -0
- data/lib/fog/google/requests/compute/insert_disk.rb +23 -14
- data/lib/fog/google/requests/compute/insert_server.rb +5 -8
- data/tests/google/helpers/disk_helper.rb +12 -0
- data/tests/google/models/compute/server_tests.rb +4 -1
- data/tests/google/models/compute/servers_tests.rb +1 -9
- data/tests/google/requests/compute/server_tests.rb +2 -1
- metadata +47 -45
data/fog.gemspec
CHANGED
@@ -6,8 +6,8 @@ Gem::Specification.new do |s|
|
|
6
6
|
## If your rubyforge_project name is different, then edit it and comment out
|
7
7
|
## the sub! line in the Rakefile
|
8
8
|
s.name = 'fog-maestrodev'
|
9
|
-
s.version = '1.18.0.
|
10
|
-
s.date = '2013-12-
|
9
|
+
s.version = '1.18.0.20131219193542'
|
10
|
+
s.date = '2013-12-19'
|
11
11
|
s.rubyforge_project = 'fog'
|
12
12
|
|
13
13
|
## Make sure your summary is short. The description may be as long
|
data/lib/fog/google/compute.rb
CHANGED
@@ -84,7 +84,11 @@ module Fog
|
|
84
84
|
response.body = body
|
85
85
|
if response.body and response.body["error"]
|
86
86
|
response.status = response.body["error"]["code"]
|
87
|
-
|
87
|
+
if response.body["error"]["errors"]
|
88
|
+
msg = response.body["error"]["errors"].map{|error| error["message"]}.join(", ")
|
89
|
+
else
|
90
|
+
msg = "Error [#{response.body["error"]["code"]}]: #{response.body["error"]["message"] || "GCE didn't return an error message"}"
|
91
|
+
end
|
88
92
|
case response.status
|
89
93
|
when 404
|
90
94
|
raise Fog::Errors::NotFound.new(msg)
|
@@ -301,8 +305,11 @@ module Fog
|
|
301
305
|
{
|
302
306
|
"kind" => "compute#attachedDisk",
|
303
307
|
"index" => 0,
|
304
|
-
"type" => "
|
305
|
-
"mode" => "READ_WRITE"
|
308
|
+
"type" => "PERSISTENT",
|
309
|
+
"mode" => "READ_WRITE",
|
310
|
+
"source" => "https://www.googleapis.com/compute/#{api_version}/projects/#{key}/zones/us-central1-a/disks/fog-1",
|
311
|
+
"deviceName" => "persistent-disk-0",
|
312
|
+
"boot" => true
|
306
313
|
}
|
307
314
|
],
|
308
315
|
"metadata" => {
|
@@ -777,7 +784,30 @@ module Fog
|
|
777
784
|
}
|
778
785
|
end,
|
779
786
|
:images => {},
|
780
|
-
:disks => {
|
787
|
+
:disks => {
|
788
|
+
"fog-1" => {
|
789
|
+
"kind" => "compute#disk",
|
790
|
+
"id" => "3338131294770784461",
|
791
|
+
"creationTimestamp" => "2013-12-18T19:47:10.583-08:00",
|
792
|
+
"zone" => "https://www.googleapis.com/compute/#{api_version}/projects/#{key}/zones/us-central1-a",
|
793
|
+
"status" => "READY",
|
794
|
+
"name" => "fog-1",
|
795
|
+
"sizeGb" => "10",
|
796
|
+
"selfLink" => "https://www.googleapis.com/compute/#{api_version}/projects/#{key}/zones/us-central1-a/disks/fog-1",
|
797
|
+
"sourceImage" => "https://www.googleapis.com/compute/#{api_version}/projects/debian-cloud/global/images/debian-7-wheezy-v20131120",
|
798
|
+
"sourceImageId" => "17312518942796567788"
|
799
|
+
},
|
800
|
+
"fog-2" => {
|
801
|
+
"kind" => "compute#disk",
|
802
|
+
"id" => "3338131294770784462",
|
803
|
+
"creationTimestamp" => "2013-12-18T19:47:10.583-08:00",
|
804
|
+
"zone" => "https://www.googleapis.com/compute/#{api_version}/projects/#{key}/zones/us-central1-a",
|
805
|
+
"status" => "READY",
|
806
|
+
"name" => "fog-2",
|
807
|
+
"sizeGb" => "10",
|
808
|
+
"selfLink" => "https://www.googleapis.com/compute/#{api_version}/projects/#{key}/zones/us-central1-a/disks/fog-1"
|
809
|
+
}
|
810
|
+
},
|
781
811
|
:operations => {}
|
782
812
|
}
|
783
813
|
end
|
@@ -63,8 +63,9 @@ module Fog
|
|
63
63
|
'boot' => boot,
|
64
64
|
'source' => self_link,
|
65
65
|
'mode' => mode,
|
66
|
-
'deviceName' => device_name
|
67
|
-
|
66
|
+
'deviceName' => device_name,
|
67
|
+
'type' => 'PERSISTENT'
|
68
|
+
}.select { |k, v| !v.nil? }
|
68
69
|
end
|
69
70
|
|
70
71
|
def get_as_boot_disk(writable=true)
|
@@ -18,14 +18,22 @@ module Fog
|
|
18
18
|
attribute :disks, :aliases => 'disks'
|
19
19
|
attribute :metadata
|
20
20
|
attribute :tags, :squash => 'items'
|
21
|
+
attribute :self_link, :aliases => 'selfLink'
|
21
22
|
|
22
23
|
def image_name=(args)
|
23
24
|
Fog::Logger.deprecation("image_name= is no longer used [light_black](#{caller.first})[/]")
|
24
25
|
end
|
26
|
+
|
25
27
|
def image_name
|
26
|
-
|
27
|
-
|
28
|
+
boot_disk = disks.first
|
29
|
+
unless boot_disk.is_a?(Disk)
|
30
|
+
source = boot_disk['source']
|
31
|
+
match = source.match(%r{/zones/(.*)/disks/(.*)$})
|
32
|
+
boot_disk = service.disks.get match[2], match[1]
|
33
|
+
end
|
34
|
+
boot_disk.source_image.nil? ? nil : boot_disk.source_image
|
28
35
|
end
|
36
|
+
|
29
37
|
def kernel=(args)
|
30
38
|
Fog::Logger.deprecation("kernel= is no longer used [light_black](#{caller.first})[/]")
|
31
39
|
end
|
@@ -6,21 +6,15 @@ module Fog
|
|
6
6
|
|
7
7
|
def insert_disk(disk_name, zone_name, image_name=nil, options={})
|
8
8
|
# check that image and zone exist
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
image_project = project
|
14
|
-
break;
|
15
|
-
end
|
16
|
-
end
|
17
|
-
raise ArgumentError.new("Invalid image specified: #{image_name}") unless image_project
|
18
|
-
get_image(image_name, image_project) # ok if image exists, will fail otherwise
|
9
|
+
image = nil
|
10
|
+
if image_name
|
11
|
+
image = images.get(image_name)
|
12
|
+
raise ArgumentError.new("Invalid image specified: #{image_name}") unless image
|
19
13
|
end
|
20
14
|
get_zone(zone_name)
|
21
15
|
|
22
16
|
id = Fog::Mock.random_numbers(19).to_s
|
23
|
-
|
17
|
+
object = {
|
24
18
|
"kind" => "compute#disk",
|
25
19
|
"id" => id,
|
26
20
|
"creationTimestamp" => Time.now.iso8601,
|
@@ -30,22 +24,37 @@ module Fog
|
|
30
24
|
"sizeGb" => options['sizeGb'] || "10",
|
31
25
|
"selfLink" => "https://www.googleapis.com/compute/#{api_version}/projects/#{@project}/zones/#{zone_name}/disks/#{disk_name}"
|
32
26
|
}
|
27
|
+
if image
|
28
|
+
object.merge({
|
29
|
+
"sourceImage" => image.self_link,
|
30
|
+
"sourceImageId" => image.id
|
31
|
+
})
|
32
|
+
end
|
33
|
+
self.data[:disks][disk_name] = object
|
34
|
+
|
35
|
+
if image
|
36
|
+
object.merge!({
|
37
|
+
"sourceImage" => image.self_link,
|
38
|
+
"sourceImageId" => image.id
|
39
|
+
})
|
40
|
+
end
|
41
|
+
self.data[:disks][disk_name] = object
|
33
42
|
|
34
43
|
operation = self.random_operation
|
35
44
|
self.data[:operations][operation] = {
|
36
45
|
"kind" => "compute#operation",
|
37
46
|
"id" => Fog::Mock.random_numbers(19).to_s,
|
38
47
|
"name" => operation,
|
39
|
-
"zone" => "
|
48
|
+
"zone" => object["zone"],
|
40
49
|
"operationType" => "insert",
|
41
|
-
"targetLink" => "
|
50
|
+
"targetLink" => object["selfLink"],
|
42
51
|
"targetId" => id,
|
43
52
|
"status" => Fog::Compute::Google::Operation::PENDING_STATE,
|
44
53
|
"user" => "123456789012-qwertyuiopasdfghjkl1234567890qwe@developer.gserviceaccount.com",
|
45
54
|
"progress" => 0,
|
46
55
|
"insertTime" => Time.now.iso8601,
|
47
56
|
"startTime" => Time.now.iso8601,
|
48
|
-
"selfLink" => "
|
57
|
+
"selfLink" => "#{object["zone"]}/operations/#{operation}"
|
49
58
|
}
|
50
59
|
|
51
60
|
build_response(:body => self.data[:operations][operation])
|
@@ -29,6 +29,10 @@ module Fog
|
|
29
29
|
# check that zone exists
|
30
30
|
get_zone(zone_name)
|
31
31
|
|
32
|
+
if options['disks'].nil? or options['disks'].empty?
|
33
|
+
raise ArgumentError.new "Empty value for field 'disks'. Boot disk must be specified"
|
34
|
+
end
|
35
|
+
|
32
36
|
id = Fog::Mock.random_numbers(19).to_s
|
33
37
|
self.data[:servers][server_name] = {
|
34
38
|
"kind" => "compute#instance",
|
@@ -55,14 +59,7 @@ module Fog
|
|
55
59
|
]
|
56
60
|
}
|
57
61
|
],
|
58
|
-
"disks" =>
|
59
|
-
{
|
60
|
-
"kind" => "compute#attachedDisk",
|
61
|
-
"index" => 0,
|
62
|
-
"type" => "SCRATCH",
|
63
|
-
"mode" => "READ_WRITE"
|
64
|
-
}
|
65
|
-
],
|
62
|
+
"disks" => handle_disks(options, zone_name),
|
66
63
|
"metadata" => {
|
67
64
|
"kind" => "compute#metadata",
|
68
65
|
"fingerprint" => "5_hasd_gC3E=",
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# create a disk to be used in tests
|
2
|
+
def create_test_disk(connection, zone)
|
3
|
+
zone = 'us-central1-a'
|
4
|
+
disk = connection.disks.create({
|
5
|
+
:name => "fogservername",
|
6
|
+
:size_gb => "2",
|
7
|
+
:zone_name => zone,
|
8
|
+
:source_image => "debian-7-wheezy-v20131120",
|
9
|
+
})
|
10
|
+
disk.wait_for { ready? }
|
11
|
+
disk
|
12
|
+
end
|
@@ -1,6 +1,9 @@
|
|
1
1
|
Shindo.tests("Fog::Compute[:google] | server model", ['google']) do
|
2
2
|
|
3
|
-
|
3
|
+
@zone = 'us-central1-a'
|
4
|
+
@disk = create_test_disk(Fog::Compute[:google], @zone)
|
5
|
+
|
6
|
+
model_tests(Fog::Compute[:google].servers, {:name => 'fogservername', :zone_name => @zone, :machine_type => 'n1-standard-1', :disks => [@disk]})
|
4
7
|
|
5
8
|
tests('servers') do
|
6
9
|
@instance = nil
|
@@ -1,15 +1,7 @@
|
|
1
1
|
Shindo.tests("Fog::Compute[:google] | servers", ['google']) do
|
2
2
|
|
3
|
-
@google = Fog::Compute[:google]
|
4
|
-
|
5
3
|
@zone = 'us-central1-a'
|
6
|
-
@disk = @
|
7
|
-
:name => "fogservername",
|
8
|
-
:size_gb => "2",
|
9
|
-
:zone_name => @zone,
|
10
|
-
:source_image => "debian-7-wheezy-v20131120",
|
11
|
-
})
|
12
|
-
@disk.wait_for { ready? }
|
4
|
+
@disk = create_test_disk(Fog::Compute[:google], @zone)
|
13
5
|
|
14
6
|
collection_tests(Fog::Compute[:google].servers, {:name => 'fogservername', :zone_name => @zone, :machine_type => 'n1-standard-1', :disks => [@disk]})
|
15
7
|
|
@@ -59,10 +59,11 @@ Shindo.tests('Fog::Compute[:google] | server requests', ['google']) do
|
|
59
59
|
zone_name = "us-central1-a"
|
60
60
|
|
61
61
|
tests("#insert_server").formats(@insert_server_format) do
|
62
|
+
disk = create_test_disk(Fog::Compute[:google], zone_name)
|
62
63
|
@google.insert_server(
|
63
64
|
server_name,
|
64
65
|
zone_name,
|
65
|
-
{ 'image' => image_name, 'machineType' => machine_type }
|
66
|
+
{ 'image' => image_name, 'machineType' => machine_type, 'disks' => [disk] }
|
66
67
|
).body
|
67
68
|
end
|
68
69
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-maestrodev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.18.0.
|
4
|
+
version: 1.18.0.20131219193542
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-12-
|
12
|
+
date: 2013-12-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: builder
|
16
|
-
requirement: &
|
16
|
+
requirement: &16462360 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *16462360
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: excon
|
27
|
-
requirement: &
|
27
|
+
requirement: &16460300 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.31.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *16460300
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: formatador
|
38
|
-
requirement: &
|
38
|
+
requirement: &16458820 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 0.2.0
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *16458820
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: multi_json
|
49
|
-
requirement: &
|
49
|
+
requirement: &16457500 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '1.0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *16457500
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: mime-types
|
60
|
-
requirement: &
|
60
|
+
requirement: &16456820 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *16456820
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: net-scp
|
71
|
-
requirement: &
|
71
|
+
requirement: &16481540 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '1.1'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *16481540
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: net-ssh
|
82
|
-
requirement: &
|
82
|
+
requirement: &16479260 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: 2.1.3
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *16479260
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: nokogiri
|
93
|
-
requirement: &
|
93
|
+
requirement: &16477720 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '1.5'
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *16477720
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: ruby-hmac
|
104
|
-
requirement: &
|
104
|
+
requirement: &16477160 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: '0'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *16477160
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: jekyll
|
115
|
-
requirement: &
|
115
|
+
requirement: &16491400 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ! '>='
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: '0'
|
121
121
|
type: :development
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *16491400
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: rake
|
126
|
-
requirement: &
|
126
|
+
requirement: &16489860 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,10 +131,10 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *16489860
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: rbvmomi
|
137
|
-
requirement: &
|
137
|
+
requirement: &16487960 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
140
|
- - ! '>='
|
@@ -142,10 +142,10 @@ dependencies:
|
|
142
142
|
version: '0'
|
143
143
|
type: :development
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *16487960
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: yard
|
148
|
-
requirement: &
|
148
|
+
requirement: &16487360 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ! '>='
|
@@ -153,10 +153,10 @@ dependencies:
|
|
153
153
|
version: '0'
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *16487360
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: thor
|
159
|
-
requirement: &
|
159
|
+
requirement: &16486660 !ruby/object:Gem::Requirement
|
160
160
|
none: false
|
161
161
|
requirements:
|
162
162
|
- - ! '>='
|
@@ -164,10 +164,10 @@ dependencies:
|
|
164
164
|
version: '0'
|
165
165
|
type: :development
|
166
166
|
prerelease: false
|
167
|
-
version_requirements: *
|
167
|
+
version_requirements: *16486660
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: rspec
|
170
|
-
requirement: &
|
170
|
+
requirement: &16484620 !ruby/object:Gem::Requirement
|
171
171
|
none: false
|
172
172
|
requirements:
|
173
173
|
- - ~>
|
@@ -175,10 +175,10 @@ dependencies:
|
|
175
175
|
version: 1.3.1
|
176
176
|
type: :development
|
177
177
|
prerelease: false
|
178
|
-
version_requirements: *
|
178
|
+
version_requirements: *16484620
|
179
179
|
- !ruby/object:Gem::Dependency
|
180
180
|
name: rbovirt
|
181
|
-
requirement: &
|
181
|
+
requirement: &16495180 !ruby/object:Gem::Requirement
|
182
182
|
none: false
|
183
183
|
requirements:
|
184
184
|
- - ! '>='
|
@@ -186,10 +186,10 @@ dependencies:
|
|
186
186
|
version: 0.0.11
|
187
187
|
type: :development
|
188
188
|
prerelease: false
|
189
|
-
version_requirements: *
|
189
|
+
version_requirements: *16495180
|
190
190
|
- !ruby/object:Gem::Dependency
|
191
191
|
name: shindo
|
192
|
-
requirement: &
|
192
|
+
requirement: &16493780 !ruby/object:Gem::Requirement
|
193
193
|
none: false
|
194
194
|
requirements:
|
195
195
|
- - ~>
|
@@ -197,10 +197,10 @@ dependencies:
|
|
197
197
|
version: 0.3.4
|
198
198
|
type: :development
|
199
199
|
prerelease: false
|
200
|
-
version_requirements: *
|
200
|
+
version_requirements: *16493780
|
201
201
|
- !ruby/object:Gem::Dependency
|
202
202
|
name: fission
|
203
|
-
requirement: &
|
203
|
+
requirement: &16492320 !ruby/object:Gem::Requirement
|
204
204
|
none: false
|
205
205
|
requirements:
|
206
206
|
- - ! '>='
|
@@ -208,10 +208,10 @@ dependencies:
|
|
208
208
|
version: '0'
|
209
209
|
type: :development
|
210
210
|
prerelease: false
|
211
|
-
version_requirements: *
|
211
|
+
version_requirements: *16492320
|
212
212
|
- !ruby/object:Gem::Dependency
|
213
213
|
name: pry
|
214
|
-
requirement: &
|
214
|
+
requirement: &16522940 !ruby/object:Gem::Requirement
|
215
215
|
none: false
|
216
216
|
requirements:
|
217
217
|
- - ! '>='
|
@@ -219,10 +219,10 @@ dependencies:
|
|
219
219
|
version: '0'
|
220
220
|
type: :development
|
221
221
|
prerelease: false
|
222
|
-
version_requirements: *
|
222
|
+
version_requirements: *16522940
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: google-api-client
|
225
|
-
requirement: &
|
225
|
+
requirement: &16522040 !ruby/object:Gem::Requirement
|
226
226
|
none: false
|
227
227
|
requirements:
|
228
228
|
- - ~>
|
@@ -230,10 +230,10 @@ dependencies:
|
|
230
230
|
version: 0.6.2
|
231
231
|
type: :development
|
232
232
|
prerelease: false
|
233
|
-
version_requirements: *
|
233
|
+
version_requirements: *16522040
|
234
234
|
- !ruby/object:Gem::Dependency
|
235
235
|
name: unf
|
236
|
-
requirement: &
|
236
|
+
requirement: &16521300 !ruby/object:Gem::Requirement
|
237
237
|
none: false
|
238
238
|
requirements:
|
239
239
|
- - ! '>='
|
@@ -241,7 +241,7 @@ dependencies:
|
|
241
241
|
version: '0'
|
242
242
|
type: :development
|
243
243
|
prerelease: false
|
244
|
-
version_requirements: *
|
244
|
+
version_requirements: *16521300
|
245
245
|
description: The Ruby cloud services library. Supports all major cloud providers including
|
246
246
|
AWS, Rackspace, Linode, Blue Box, StormOnDemand, and many others. Full support for
|
247
247
|
most AWS services including EC2, S3, CloudWatch, SimpleDB, ELB, and RDS.
|
@@ -4812,6 +4812,7 @@ files:
|
|
4812
4812
|
- tests/glesys/requests/compute/server_tests.rb
|
4813
4813
|
- tests/glesys/requests/compute/template_tests.rb
|
4814
4814
|
- tests/go_grid/requests/compute/image_tests.rb
|
4815
|
+
- tests/google/helpers/disk_helper.rb
|
4815
4816
|
- tests/google/models/compute/disk_tests.rb
|
4816
4817
|
- tests/google/models/compute/disks_tests.rb
|
4817
4818
|
- tests/google/models/compute/server_tests.rb
|
@@ -5413,7 +5414,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
5413
5414
|
version: '0'
|
5414
5415
|
segments:
|
5415
5416
|
- 0
|
5416
|
-
hash:
|
5417
|
+
hash: -1401150800215848202
|
5417
5418
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
5418
5419
|
none: false
|
5419
5420
|
requirements:
|
@@ -5746,6 +5747,7 @@ test_files:
|
|
5746
5747
|
- tests/glesys/requests/compute/server_tests.rb
|
5747
5748
|
- tests/glesys/requests/compute/template_tests.rb
|
5748
5749
|
- tests/go_grid/requests/compute/image_tests.rb
|
5750
|
+
- tests/google/helpers/disk_helper.rb
|
5749
5751
|
- tests/google/models/compute/disk_tests.rb
|
5750
5752
|
- tests/google/models/compute/disks_tests.rb
|
5751
5753
|
- tests/google/models/compute/server_tests.rb
|