vcloud-core 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +1 -0
- data/CHANGELOG.md +7 -0
- data/lib/vcloud/core/version.rb +1 -1
- data/spec/integration/core/fog/login_spec.rb +1 -1
- data/spec/integration/core/vapp_spec.rb +1 -1
- data/spec/integration/core/vdc_spec.rb +1 -1
- data/spec/integration/core/vm_spec.rb +2 -2
- data/spec/support/stub_fog_interface.rb +0 -5
- data/vcloud-core.gemspec +2 -4
- metadata +25 -39
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/lib/vcloud/core/version.rb
CHANGED
@@ -174,7 +174,7 @@ describe Vcloud::Core::Vapp do
|
|
174
174
|
"invalid-vapp-template-id",
|
175
175
|
@test_params.vdc_1_name
|
176
176
|
)
|
177
|
-
}.to raise_error(Fog::Compute::VcloudDirector::Forbidden,
|
177
|
+
}.to raise_error(Fog::Compute::VcloudDirector::Forbidden, /This operation is denied/)
|
178
178
|
end
|
179
179
|
|
180
180
|
it "raises a Fog error if the vAppTemplate id is nil" do
|
@@ -82,7 +82,7 @@ describe Vcloud::Core::Vdc do
|
|
82
82
|
it "throws a Forbidden error when trying to access the #name of the Vdc" do
|
83
83
|
expect { subject.name }.to raise_error(
|
84
84
|
Fog::Compute::VcloudDirector::Forbidden,
|
85
|
-
|
85
|
+
/No access to entity/
|
86
86
|
)
|
87
87
|
end
|
88
88
|
|
@@ -257,7 +257,7 @@ describe Vcloud::Core::Vm do
|
|
257
257
|
expect { @vm.add_extra_disks(extra_disks) }.
|
258
258
|
to raise_error(
|
259
259
|
Fog::Compute::VcloudDirector::BadRequest,
|
260
|
-
|
260
|
+
/The attached disks on VM \"#{@vm.name}\" cannot be modified/
|
261
261
|
)
|
262
262
|
end
|
263
263
|
|
@@ -276,7 +276,7 @@ describe Vcloud::Core::Vm do
|
|
276
276
|
pending("There is only one StorageProfile in vDC #{@test_params.vdc_1_name}: cannot test.")
|
277
277
|
end
|
278
278
|
expect{ @vm.update_storage_profile(@test_params.storage_profile) }.
|
279
|
-
to raise_error(Fog::Compute::VcloudDirector::TaskError)
|
279
|
+
to raise_error(Fog::Compute::VcloudDirector::TaskError, /attached to a virtual machine/)
|
280
280
|
end
|
281
281
|
end
|
282
282
|
end
|
data/vcloud-core.gemspec
CHANGED
@@ -22,16 +22,14 @@ Gem::Specification.new do |s|
|
|
22
22
|
|
23
23
|
s.required_ruby_version = '>= 1.9.3'
|
24
24
|
|
25
|
-
s.add_runtime_dependency 'fog', '~> 1.
|
26
|
-
# FIXME: Remove fog-core line below once fog/fog-core@58556e4b1 is pulled in by `fog` gem
|
27
|
-
s.add_runtime_dependency 'fog-core', '~> 1.0', '>= 1.27.4'
|
25
|
+
s.add_runtime_dependency 'fog', '~> 1.34.0'
|
28
26
|
s.add_runtime_dependency 'mustache', '~> 0.99.0'
|
29
27
|
s.add_runtime_dependency 'highline'
|
30
28
|
s.add_development_dependency 'gem_publisher', '1.2.0'
|
31
29
|
s.add_development_dependency 'pry'
|
32
30
|
s.add_development_dependency 'rake'
|
33
31
|
s.add_development_dependency 'rspec', '~> 2.14.1'
|
34
|
-
s.add_development_dependency 'rubocop', '~> 0.
|
32
|
+
s.add_development_dependency 'rubocop', '~> 0.30.1'
|
35
33
|
s.add_development_dependency 'simplecov', '~> 0.7.1'
|
36
34
|
s.add_development_dependency 'vcloud-tools-tester', '~> 1.0'
|
37
35
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vcloud-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,36 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-09-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fog
|
16
|
-
requirement: &
|
16
|
+
requirement: &8115000 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 1.34.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: fog-core
|
27
|
-
requirement: &13134380 !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
|
-
requirements:
|
30
|
-
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '1.0'
|
33
|
-
- - ! '>='
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version: 1.27.4
|
36
|
-
type: :runtime
|
37
|
-
prerelease: false
|
38
|
-
version_requirements: *13134380
|
24
|
+
version_requirements: *8115000
|
39
25
|
- !ruby/object:Gem::Dependency
|
40
26
|
name: mustache
|
41
|
-
requirement: &
|
27
|
+
requirement: &8114320 !ruby/object:Gem::Requirement
|
42
28
|
none: false
|
43
29
|
requirements:
|
44
30
|
- - ~>
|
@@ -46,10 +32,10 @@ dependencies:
|
|
46
32
|
version: 0.99.0
|
47
33
|
type: :runtime
|
48
34
|
prerelease: false
|
49
|
-
version_requirements: *
|
35
|
+
version_requirements: *8114320
|
50
36
|
- !ruby/object:Gem::Dependency
|
51
37
|
name: highline
|
52
|
-
requirement: &
|
38
|
+
requirement: &10071740 !ruby/object:Gem::Requirement
|
53
39
|
none: false
|
54
40
|
requirements:
|
55
41
|
- - ! '>='
|
@@ -57,10 +43,10 @@ dependencies:
|
|
57
43
|
version: '0'
|
58
44
|
type: :runtime
|
59
45
|
prerelease: false
|
60
|
-
version_requirements: *
|
46
|
+
version_requirements: *10071740
|
61
47
|
- !ruby/object:Gem::Dependency
|
62
48
|
name: gem_publisher
|
63
|
-
requirement: &
|
49
|
+
requirement: &10070460 !ruby/object:Gem::Requirement
|
64
50
|
none: false
|
65
51
|
requirements:
|
66
52
|
- - =
|
@@ -68,10 +54,10 @@ dependencies:
|
|
68
54
|
version: 1.2.0
|
69
55
|
type: :development
|
70
56
|
prerelease: false
|
71
|
-
version_requirements: *
|
57
|
+
version_requirements: *10070460
|
72
58
|
- !ruby/object:Gem::Dependency
|
73
59
|
name: pry
|
74
|
-
requirement: &
|
60
|
+
requirement: &10070040 !ruby/object:Gem::Requirement
|
75
61
|
none: false
|
76
62
|
requirements:
|
77
63
|
- - ! '>='
|
@@ -79,10 +65,10 @@ dependencies:
|
|
79
65
|
version: '0'
|
80
66
|
type: :development
|
81
67
|
prerelease: false
|
82
|
-
version_requirements: *
|
68
|
+
version_requirements: *10070040
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: rake
|
85
|
-
requirement: &
|
71
|
+
requirement: &10069580 !ruby/object:Gem::Requirement
|
86
72
|
none: false
|
87
73
|
requirements:
|
88
74
|
- - ! '>='
|
@@ -90,10 +76,10 @@ dependencies:
|
|
90
76
|
version: '0'
|
91
77
|
type: :development
|
92
78
|
prerelease: false
|
93
|
-
version_requirements: *
|
79
|
+
version_requirements: *10069580
|
94
80
|
- !ruby/object:Gem::Dependency
|
95
81
|
name: rspec
|
96
|
-
requirement: &
|
82
|
+
requirement: &10069020 !ruby/object:Gem::Requirement
|
97
83
|
none: false
|
98
84
|
requirements:
|
99
85
|
- - ~>
|
@@ -101,21 +87,21 @@ dependencies:
|
|
101
87
|
version: 2.14.1
|
102
88
|
type: :development
|
103
89
|
prerelease: false
|
104
|
-
version_requirements: *
|
90
|
+
version_requirements: *10069020
|
105
91
|
- !ruby/object:Gem::Dependency
|
106
92
|
name: rubocop
|
107
|
-
requirement: &
|
93
|
+
requirement: &10068480 !ruby/object:Gem::Requirement
|
108
94
|
none: false
|
109
95
|
requirements:
|
110
96
|
- - ~>
|
111
97
|
- !ruby/object:Gem::Version
|
112
|
-
version: 0.
|
98
|
+
version: 0.30.1
|
113
99
|
type: :development
|
114
100
|
prerelease: false
|
115
|
-
version_requirements: *
|
101
|
+
version_requirements: *10068480
|
116
102
|
- !ruby/object:Gem::Dependency
|
117
103
|
name: simplecov
|
118
|
-
requirement: &
|
104
|
+
requirement: &10068000 !ruby/object:Gem::Requirement
|
119
105
|
none: false
|
120
106
|
requirements:
|
121
107
|
- - ~>
|
@@ -123,10 +109,10 @@ dependencies:
|
|
123
109
|
version: 0.7.1
|
124
110
|
type: :development
|
125
111
|
prerelease: false
|
126
|
-
version_requirements: *
|
112
|
+
version_requirements: *10068000
|
127
113
|
- !ruby/object:Gem::Dependency
|
128
114
|
name: vcloud-tools-tester
|
129
|
-
requirement: &
|
115
|
+
requirement: &10067520 !ruby/object:Gem::Requirement
|
130
116
|
none: false
|
131
117
|
requirements:
|
132
118
|
- - ~>
|
@@ -134,7 +120,7 @@ dependencies:
|
|
134
120
|
version: '1.0'
|
135
121
|
type: :development
|
136
122
|
prerelease: false
|
137
|
-
version_requirements: *
|
123
|
+
version_requirements: *10067520
|
138
124
|
description: Core tools for interacting with VMware vCloud Director. Includes vCloud
|
139
125
|
Query, a light wrapper round the vCloud Query API.
|
140
126
|
email:
|
@@ -247,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
233
|
version: '0'
|
248
234
|
segments:
|
249
235
|
- 0
|
250
|
-
hash: -
|
236
|
+
hash: -4307019916057884210
|
251
237
|
requirements: []
|
252
238
|
rubyforge_project:
|
253
239
|
rubygems_version: 1.8.11
|