azure_mgmt_search 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: 8619831edcf6d6fa9bd7f38f9bed2fe36106fc29
4
- data.tar.gz: 4c0277bb37069854894cfb90c5936ca7f8cf44e4
3
+ metadata.gz: 196fff50dfe1cc43ac452dda39e3b5e1eb15dd7a
4
+ data.tar.gz: 10fed779cc143002b34839fc61c5b4f6f75787ff
5
5
  SHA512:
6
- metadata.gz: d5da5a55c1fd73731d52be520f105551909e916a08995f94d82fe93b2a34be41ce15acb5e960ab9dc929c63ed3385fbc106e69cd4eea203e4202508110162803
7
- data.tar.gz: 571f3290abf13d7e315f2959fac51df24b8833bb5ae37f36bad485d3a41c89cd7e9e8a5b569f19e694d94207798d3f153590805a74b7b90a0eaed53ee64ee810
6
+ metadata.gz: 044525cdb1f383f690704c6b4367391fdbb593c5b2deea0f1f430b6a7bf24edf621eee1060df833418404cc57cf0c7162b19327cf0e6e23f47f874354ccc79d1
7
+ data.tar.gz: 2f7d4bedb756c6645dcf8b8907804ac96db963f8b25dc59b8e85aa1d1c9a379aa1f4b0003ac9975d40f18db25b73a3e39ca2150b3bfab9fe90ca040415306e3f
@@ -52,12 +52,11 @@ module Azure::ARM::Search
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://management.azure.com'
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
  @admin_keys = AdminKeys.new(self)
@@ -72,7 +71,7 @@ module Azure::ARM::Search
72
71
 
73
72
  #
74
73
  # Makes a request and returns the body of the response.
75
- # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
74
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
76
75
  # @param path [String] the path, relative to {base_url}.
77
76
  # @param options [Hash{String=>String}] specifying any request options like :body.
78
77
  # @return [Hash{String=>String}] containing the body of the response.
@@ -133,7 +132,7 @@ module Azure::ARM::Search
133
132
  def add_telemetry
134
133
  sdk_information = 'azure_mgmt_search'
135
134
  if defined? Azure::ARM::Search::VERSION
136
- sdk_information = "#{sdk_information}/#{Azure::ARM::Search::VERSION}"
135
+ sdk_information = "#{sdk_information}/#{Azure::ARM::Search::VERSION}"
137
136
  end
138
137
  add_user_agent_information(sdk_information)
139
138
  end
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Search
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_search
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 Search Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []