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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9dd1d283922e8aa96883838e6d018d17762b0ce
4
- data.tar.gz: f1acae159ec7febe3a4799b712e9ea34f97f6713
3
+ metadata.gz: 7bc743f3af79017ade689b79086c0f0355b8c439
4
+ data.tar.gz: 9d4db94881f09f81b28017016c39694f21158dbf
5
5
  SHA512:
6
- metadata.gz: 4607decea2d04f8178c75817b67370ffacb6d8310a5cc18efd80e4b226ae95471fabe9eb0042e961c3ebd7836d0b8e961011df9432c88febdbbd74d0079ba153
7
- data.tar.gz: 16e9dd28e7ae27e69b45c77c3fe66fd58b657f920e80c003a1bce4ba7cdb97e58b8ca1e2f678bf22ff30caf0a84d6c6d2269876687561dbf4b3a30777b8a2fef
6
+ metadata.gz: a54708e8df8f1d1046a1a78e309a71eb755bae788130aad9ec524cf4ea66bb674ae12154238df86fccac587e229a3bbde890736f8dda9975276af66e546d51f3
7
+ data.tar.gz: bfb339b5c69734f5f976b6d9594558161540a45db7bbde8921e49d1f13322f47eb0dfc16065a0a04d95c375826afe0fa0360c75321dda5336cee14b7f92a75ac
data/Rakefile CHANGED
@@ -49,8 +49,6 @@ namespace :test do
49
49
  t.verbose = true
50
50
  t.libs = %w(lib test)
51
51
  end
52
-
53
- task component => 'test:require_environment'
54
52
  end
55
53
 
56
54
  component_task :affinity_group
@@ -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', '~> 2.0')
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')
@@ -64,6 +64,7 @@ module Azure
64
64
 
65
65
  module Core
66
66
  autoload :Utility, 'azure/core/utility'
67
+ autoload :Logger, 'azure/core/utility'
67
68
  autoload :Error, 'azure/core/error'
68
69
  autoload :Service, 'azure/core/service'
69
70
  autoload :FilteredService, 'azure/core/filtered_service'
@@ -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 = 'pre2' unless defined? 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: 'f:/invalid_path/private_key',
322
- certificate_file: 'f:/invalid_path/certificate.pem'
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: 'f:/invalid_path/private_key',
333
- certificate_file: 'f:/invalid_path/certificate.pem'
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: 'f:/invalid_path/private_key',
469
- certificate_file: 'f:/invalid_path/certificate.pem'
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.pre2
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-07-13 00:00:00.000000000 Z
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: '2.0'
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: '2.0'
83
+ version: '1'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: nokogiri
86
86
  requirement: !ruby/object:Gem::Requirement