azure_mgmt_features 0.8.0 → 0.9.0

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: 1532c62efb291e6702580a01dde440e51ceca249
4
- data.tar.gz: 150add0d65aa128ede60b2a62bb49ca4fc266260
3
+ metadata.gz: 5178d236cc32764e40bc716ffae8c86b3b3b0992
4
+ data.tar.gz: d320755f233679215417d6810505973e616c48c8
5
5
  SHA512:
6
- metadata.gz: 3db4d5ec6daac7780af9c8df22bcc1b189fa6f3e423dcd156e2360baeba11d49b420a382a706c767241e10083a8100b9915d9cd7d0d99ea18682baf397840f49
7
- data.tar.gz: a960ff35639717794ac91b6713b5d8073a489dff7d1caf12e1a1c5ba7b651d941d51148c93f5d180a4d5327334a440658f559bf6443dfd75a9e520ee096c05a2
6
+ metadata.gz: 5e2db4c4f66e68c8f3e7cdda3428df2da3d0d6da21f40162fb99ba00b53def1ff1fca1f9682c62293aae1d56ef7248f93ac8c1e7d4b5506fa54bd182b8929959
7
+ data.tar.gz: e5678fd5b1c20cf778efd3e7ac2c92af6c3a3de9d54684b1f4a8c9d21f594c44b3c08b3c5dd97a6e9402797f2a4b6a95f5a2a4080b0bcbe019fbd9834e46c716
@@ -43,12 +43,11 @@ module Azure::ARM::Features
43
43
  # @param base_url [String] the base URI of the service.
44
44
  # @param options [Array] filters to be applied to the HTTP requests.
45
45
  #
46
- def initialize(credentials, base_url = nil, options = nil)
46
+ def initialize(credentials = nil, base_url = nil, options = nil)
47
47
  super(credentials, options)
48
48
  @base_url = base_url || 'https://management.azure.com'
49
49
 
50
- fail ArgumentError, 'credentials is nil' if credentials.nil?
51
- fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
50
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
52
51
  @credentials = credentials
53
52
 
54
53
  @features = Features.new(self)
@@ -61,7 +60,7 @@ module Azure::ARM::Features
61
60
 
62
61
  #
63
62
  # Makes a request and returns the body of the response.
64
- # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
63
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
65
64
  # @param path [String] the path, relative to {base_url}.
66
65
  # @param options [Hash{String=>String}] specifying any request options like :body.
67
66
  # @return [Hash{String=>String}] containing the body of the response.
@@ -122,7 +121,7 @@ module Azure::ARM::Features
122
121
  def add_telemetry
123
122
  sdk_information = 'azure_mgmt_features'
124
123
  if defined? Azure::ARM::Features::VERSION
125
- sdk_information = "#{sdk_information}/#{Azure::ARM::Features::VERSION}"
124
+ sdk_information = "#{sdk_information}/#{Azure::ARM::Features::VERSION}"
126
125
  end
127
126
  add_user_agent_information(sdk_information)
128
127
  end
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Features
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_features
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 Resource Provider Feature Management Client Library for
84
84
  Ruby
85
85
  email: azrubyteam@microsoft.com