azure_mgmt_authorization 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: 4eaa91d0787735f5da0e780c044e1a17b39dab43
4
- data.tar.gz: e1b71e654561c000103b4e43cbb5d1119a16f088
3
+ metadata.gz: c7350ca6876bb052e958c3d3bfa0fe2852465191
4
+ data.tar.gz: 18755aa4a2eb1fc68f219f42544a2098ede5acf0
5
5
  SHA512:
6
- metadata.gz: 349488b7906e0e0308a7042e1cebb36d412fa1b993c40c26a772084f0d0a8096946114ce319f8780e1e9e03b937fce27bb4924a6c4d0247db863a870d78816ea
7
- data.tar.gz: 518fec8518e6b2485ee9cd4e313019a641002177b8e888bf784c3dd30a0b529b7b4c450fcd9f2f4d6f860196944139801ee6d98fa5d624961f25748071fe868c
6
+ metadata.gz: 95f64e7e6e54fde1e58c0b9f689f7446cfb933bea1a552af468ce3f168d4556b9a6d59bf9713332e8f901bc4e5e4b30e4e8bd5edf669ffd0094988b98a062ce6
7
+ data.tar.gz: b49281b0f4f222507a8b0ed43aa2c05e5a0c45dc1e68ab8a284278ab1272bb6246872c37872a098c987284e8159813e642c3144ab04a2fd171a0314052114793
@@ -56,12 +56,11 @@ module Azure::ARM::Authorization
56
56
  # @param base_url [String] the base URI of the service.
57
57
  # @param options [Array] filters to be applied to the HTTP requests.
58
58
  #
59
- def initialize(credentials, base_url = nil, options = nil)
59
+ def initialize(credentials = nil, base_url = nil, options = nil)
60
60
  super(credentials, options)
61
61
  @base_url = base_url || 'https://management.azure.com'
62
62
 
63
- fail ArgumentError, 'credentials is nil' if credentials.nil?
64
- fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
63
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
65
64
  @credentials = credentials
66
65
 
67
66
  @classic_administrators = ClassicAdministrators.new(self)
@@ -78,7 +77,7 @@ module Azure::ARM::Authorization
78
77
 
79
78
  #
80
79
  # Makes a request and returns the body of the response.
81
- # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
80
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
82
81
  # @param path [String] the path, relative to {base_url}.
83
82
  # @param options [Hash{String=>String}] specifying any request options like :body.
84
83
  # @return [Hash{String=>String}] containing the body of the response.
@@ -139,7 +138,7 @@ module Azure::ARM::Authorization
139
138
  def add_telemetry
140
139
  sdk_information = 'azure_mgmt_authorization'
141
140
  if defined? Azure::ARM::Authorization::VERSION
142
- sdk_information = "#{sdk_information}/#{Azure::ARM::Authorization::VERSION}"
141
+ sdk_information = "#{sdk_information}/#{Azure::ARM::Authorization::VERSION}"
143
142
  end
144
143
  add_user_agent_information(sdk_information)
145
144
  end
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Authorization
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_authorization
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 Role Based Authorization Management Client Library for
84
84
  Ruby
85
85
  email: azrubyteam@microsoft.com