azure_mgmt_graph 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: 0b91b475f72d78931ff6cb683a23d54e26b734f3
4
- data.tar.gz: 6f93842d987248e01ef02eacf498f971265fd6a9
3
+ metadata.gz: 5b0e98cb434204158c84c0325a0a3eee59edf8ff
4
+ data.tar.gz: 59d48bd953945f59a4c763d7ca21762048b612a3
5
5
  SHA512:
6
- metadata.gz: ef2df6a3ad469004ff7d5377d7b4a020a4937c0770e627d00f39e215f8cc58a2986c5d65d042c0718ac5c708324c02d57881f099b608912726fd20d8508fd649
7
- data.tar.gz: e92503ae13360d48d6c703b49fc6cc3be947a68a0f0a94bf6aa126520b329be6807dec7d7794e27412b87ffecd3c329857e484dd099fa0b8e3ea13898935ddf7
6
+ metadata.gz: edb05efb07dc3ac675711975270c7584a6f0b0205bae5a1851d8e19ddfae953d3b485c19532225daa7722395b482252e0bffcdccf2d532ac1dd4355195949296
7
+ data.tar.gz: 8c028f689c1eadde375757b504f1baf850e5957e63815f7bff5c3a0b8beac514c59a6555389d2893b7963ce5091a5474d4deab49cf27bac6d26686f271d4beb7
@@ -52,12 +52,11 @@ module Azure::ARM::Graph
52
52
  # @param base_url [String] the base URI of the service.
53
53
  # @param options [Array] filters to be applied to the HTTP requests.
54
54
  #
55
- def initialize(credentials, base_url = nil, options = nil)
55
+ def initialize(credentials = nil, base_url = nil, options = nil)
56
56
  super(credentials, options)
57
57
  @base_url = base_url || 'https://graph.windows.net'
58
58
 
59
- fail ArgumentError, 'credentials is nil' if credentials.nil?
60
- fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
59
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
61
60
  @credentials = credentials
62
61
 
63
62
  @objects = Objects.new(self)
@@ -73,7 +72,7 @@ module Azure::ARM::Graph
73
72
 
74
73
  #
75
74
  # Makes a request and returns the body of the response.
76
- # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
75
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
77
76
  # @param path [String] the path, relative to {base_url}.
78
77
  # @param options [Hash{String=>String}] specifying any request options like :body.
79
78
  # @return [Hash{String=>String}] containing the body of the response.
@@ -134,7 +133,7 @@ module Azure::ARM::Graph
134
133
  def add_telemetry
135
134
  sdk_information = 'azure_mgmt_graph'
136
135
  if defined? Azure::ARM::Graph::VERSION
137
- sdk_information = "#{sdk_information}/#{Azure::ARM::Graph::VERSION}"
136
+ sdk_information = "#{sdk_information}/#{Azure::ARM::Graph::VERSION}"
138
137
  end
139
138
  add_user_agent_information(sdk_information)
140
139
  end
@@ -33,14 +33,14 @@ module Azure::ARM::Graph
33
33
  model_properties: {
34
34
  code: {
35
35
  required: false,
36
- serialized_name: 'odata.error.code',
36
+ serialized_name: 'odata\\.error.code',
37
37
  type: {
38
38
  name: 'String'
39
39
  }
40
40
  },
41
41
  message: {
42
42
  required: false,
43
- serialized_name: 'odata.error.message.value',
43
+ serialized_name: 'odata\\.error.message.value',
44
44
  type: {
45
45
  name: 'String'
46
46
  }
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Graph
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_graph
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 Active Directory Graph Management Client Library for
84
84
  Ruby
85
85
  email: azrubyteam@microsoft.com