azure 0.7.0.pre2 → 0.7.0.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -2
- data/azure.gemspec +1 -1
- data/lib/azure.rb +1 -0
- data/lib/azure/version.rb +2 -2
- data/test/unit/virtual_machine_management/virtual_machine_management_service_test.rb +6 -6
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bc743f3af79017ade689b79086c0f0355b8c439
|
4
|
+
data.tar.gz: 9d4db94881f09f81b28017016c39694f21158dbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a54708e8df8f1d1046a1a78e309a71eb755bae788130aad9ec524cf4ea66bb674ae12154238df86fccac587e229a3bbde890736f8dda9975276af66e546d51f3
|
7
|
+
data.tar.gz: bfb339b5c69734f5f976b6d9594558161540a45db7bbde8921e49d1f13322f47eb0dfc16065a0a04d95c375826afe0fa0360c75321dda5336cee14b7f92a75ac
|
data/Rakefile
CHANGED
data/azure.gemspec
CHANGED
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
|
|
35
35
|
s.add_runtime_dependency('faraday', '~> 0.9')
|
36
36
|
s.add_runtime_dependency('faraday_middleware', '~> 0.10')
|
37
37
|
s.add_runtime_dependency('json', '~> 1.8')
|
38
|
-
s.add_runtime_dependency('mime-types', '
|
38
|
+
s.add_runtime_dependency('mime-types', '>= 1')
|
39
39
|
s.add_runtime_dependency('nokogiri', '~> 1.6')
|
40
40
|
s.add_runtime_dependency('systemu', '~> 2.6')
|
41
41
|
s.add_runtime_dependency('thor', '~> 0.19')
|
data/lib/azure.rb
CHANGED
data/lib/azure/version.rb
CHANGED
@@ -18,7 +18,7 @@ module Azure
|
|
18
18
|
MAJOR = 0 unless defined? MAJOR
|
19
19
|
MINOR = 7 unless defined? MINOR
|
20
20
|
UPDATE = 0 unless defined? UPDATE
|
21
|
-
PRE = '
|
21
|
+
PRE = 'pre3' unless defined? PRE
|
22
22
|
|
23
23
|
class << self
|
24
24
|
|
@@ -28,4 +28,4 @@ module Azure
|
|
28
28
|
end
|
29
29
|
end
|
30
30
|
end
|
31
|
-
end
|
31
|
+
end
|
@@ -318,8 +318,8 @@ describe Azure::VirtualMachineManagementService do
|
|
318
318
|
it 'throws error when certificate path is not invalid.' do
|
319
319
|
options = {
|
320
320
|
winrm_transport: %w(https http),
|
321
|
-
private_key_file: '
|
322
|
-
certificate_file: '
|
321
|
+
private_key_file: 'c:/invalid_path/private_key',
|
322
|
+
certificate_file: 'c:/invalid_path/certificate.pem'
|
323
323
|
}
|
324
324
|
ex = assert_raises(RuntimeError) {subject.create_virtual_machine(windows_params, options)}
|
325
325
|
error_msg = 'No such file or directory -'
|
@@ -329,8 +329,8 @@ describe Azure::VirtualMachineManagementService do
|
|
329
329
|
it 'should not throws certificate error when wirnm_transport is http' do
|
330
330
|
options = {
|
331
331
|
winrm_transport: ['http'],
|
332
|
-
private_key_file: '
|
333
|
-
certificate_file: '
|
332
|
+
private_key_file: 'c:/invalid_path/private_key',
|
333
|
+
certificate_file: 'c:/invalid_path/certificate.pem'
|
334
334
|
}
|
335
335
|
virtual_machine = subject.create_virtual_machine(windows_params, options)
|
336
336
|
virtual_machine.must_be_kind_of VirtualMachine
|
@@ -465,8 +465,8 @@ describe Azure::VirtualMachineManagementService do
|
|
465
465
|
it 'throws error when certificate path is not invalid.' do
|
466
466
|
options = {
|
467
467
|
winrm_transport: %w(https http),
|
468
|
-
private_key_file: '
|
469
|
-
certificate_file: '
|
468
|
+
private_key_file: 'c:/invalid_path/private_key',
|
469
|
+
certificate_file: 'c:/invalid_path/certificate.pem'
|
470
470
|
}
|
471
471
|
exception = assert_raises(RuntimeError) do
|
472
472
|
subject.add_role(windows_params, options)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.0.
|
4
|
+
version: 0.7.0.pre3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-08-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: addressable
|
@@ -71,16 +71,16 @@ dependencies:
|
|
71
71
|
name: mime-types
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- - "
|
74
|
+
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
76
|
+
version: '1'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- - "
|
81
|
+
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
83
|
+
version: '1'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: nokogiri
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|