azure_mgmt_batch 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0cd7cd5d2a82d1883832650e1dce46d106f4a632
4
- data.tar.gz: 285b42794ec5617915297524d7149256c2afebb5
3
+ metadata.gz: 12269fa7e9379123f449ee5798aaf9a2d7096c22
4
+ data.tar.gz: d43afdf4a44c6b29d7d974bd2d219f437db8ad4f
5
5
  SHA512:
6
- metadata.gz: e63346ef072252463e4424f299feef1a42c5a4a24e434aad88217c2c575c968156ce7ca6cc4863c04ada7279114e2db75ae7cb8c4c0562e863d320cfc56c4a10
7
- data.tar.gz: b908601ec3cbd039379ee42a168a64d652408e5697b69158152cfe18f6e25470040c0c0cacb0916bc8786a4209a23a29850da6ec35d3e4f62b2d68a85db66b3c
6
+ metadata.gz: 7dcf3bb4ec7edbb3c4093cb8c014d13c842fb741e03427d56a6b282475d29f7d92354c9735d41e9010403ee2e2fffd094d19053aa3a912f81a10958e2ce4eb40
7
+ data.tar.gz: 8a23738ab658fc83f077c1c368efc00d9be2346af91f1916b676efc5434400ce003e07ec7170843dad7f15fd573ff4912cba12446131a10f5df7764c38e53db2
@@ -29,9 +29,9 @@ module Azure::ARM::Batch
29
29
  module Models
30
30
  autoload :AddApplicationParameters, 'generated/azure_mgmt_batch/models/add_application_parameters.rb'
31
31
  autoload :AutoStorageBaseProperties, 'generated/azure_mgmt_batch/models/auto_storage_base_properties.rb'
32
- autoload :Application, 'generated/azure_mgmt_batch/models/application.rb'
33
- autoload :AutoStorageProperties, 'generated/azure_mgmt_batch/models/auto_storage_properties.rb'
34
32
  autoload :ApplicationPackage, 'generated/azure_mgmt_batch/models/application_package.rb'
33
+ autoload :AutoStorageProperties, 'generated/azure_mgmt_batch/models/auto_storage_properties.rb'
34
+ autoload :Application, 'generated/azure_mgmt_batch/models/application.rb'
35
35
  autoload :BatchAccountUpdateParameters, 'generated/azure_mgmt_batch/models/batch_account_update_parameters.rb'
36
36
  autoload :ListApplicationsResult, 'generated/azure_mgmt_batch/models/list_applications_result.rb'
37
37
  autoload :BatchAccountRegenerateKeyParameters, 'generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb'
@@ -53,12 +53,11 @@ module Azure::ARM::Batch
53
53
  # @param base_url [String] the base URI of the service.
54
54
  # @param options [Array] filters to be applied to the HTTP requests.
55
55
  #
56
- def initialize(credentials, base_url = nil, options = nil)
56
+ def initialize(credentials = nil, base_url = nil, options = nil)
57
57
  super(credentials, options)
58
58
  @base_url = base_url || 'https://management.azure.com'
59
59
 
60
- fail ArgumentError, 'credentials is nil' if credentials.nil?
61
- fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
60
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
62
61
  @credentials = credentials
63
62
 
64
63
  @batch_account_operations = BatchAccountOperations.new(self)
@@ -74,7 +73,7 @@ module Azure::ARM::Batch
74
73
 
75
74
  #
76
75
  # Makes a request and returns the body of the response.
77
- # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
76
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
78
77
  # @param path [String] the path, relative to {base_url}.
79
78
  # @param options [Hash{String=>String}] specifying any request options like :body.
80
79
  # @return [Hash{String=>String}] containing the body of the response.
@@ -135,7 +134,7 @@ module Azure::ARM::Batch
135
134
  def add_telemetry
136
135
  sdk_information = 'azure_mgmt_batch'
137
136
  if defined? Azure::ARM::Batch::VERSION
138
- sdk_information = "#{sdk_information}/#{Azure::ARM::Batch::VERSION}"
137
+ sdk_information = "#{sdk_information}/#{Azure::ARM::Batch::VERSION}"
139
138
  end
140
139
  add_user_agent_information(sdk_information)
141
140
  end
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Batch
7
- VERSION = '0.8.0'
7
+ VERSION = '0.9.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_batch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-16 00:00:00.000000000 Z
11
+ date: 2017-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.6.2
75
+ version: 0.7.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.6.2
82
+ version: 0.7.0
83
83
  description: Microsoft Azure Batch Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []