azure_mgmt_dns 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: fa1b6f94a19f0a92bb2917bba94654a6a677cb18
4
- data.tar.gz: 59dc2dcfc39c8e91416b484ec0b02571d7531134
3
+ metadata.gz: 8cc7cbf8055e86860c34fa15d33eea72cce23fc6
4
+ data.tar.gz: c145f4cd95d68a41c38b160f29a50e35d9126d47
5
5
  SHA512:
6
- metadata.gz: 24db1e0661138c9074bb82571179d6a64ed0a064793a44865fe5a4a9359955a9423eebee7ed3f00676cc9f6c789b832ab9fd903293b3e38089b04a6759757481
7
- data.tar.gz: d0d99173e772328d8abe6ca04c847b9e04183bf64af9bbf38d708e7328991b00b312b5ae604aa881b25d40e80bc8304d83c1660e7eaac8b06c3e0bacbd9eeb5d
6
+ metadata.gz: 4115456f0e18ab23e977df30fa22009deb3990fbf1c5e7bb51b5a86338d7f8f5ef3b4c17b7b28430871731e85942643265f3e3bd1496c3119eaef7f22b3a2e9b
7
+ data.tar.gz: cc46c086ae88943f0e87f8fc5d043117841477de0ed3bc3b105c9d05a10c5f51e5ba4cd3124c766f8ce21facf4109372ac2f8b9d2fd773e39057c0c5fdc241ad
@@ -47,12 +47,11 @@ module Azure::ARM::Dns
47
47
  # @param base_url [String] the base URI of the service.
48
48
  # @param options [Array] filters to be applied to the HTTP requests.
49
49
  #
50
- def initialize(credentials, base_url = nil, options = nil)
50
+ def initialize(credentials = nil, base_url = nil, options = nil)
51
51
  super(credentials, options)
52
52
  @base_url = base_url || 'https://management.azure.com'
53
53
 
54
- fail ArgumentError, 'credentials is nil' if credentials.nil?
55
- fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
54
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
56
55
  @credentials = credentials
57
56
 
58
57
  @record_sets = RecordSets.new(self)
@@ -66,7 +65,7 @@ module Azure::ARM::Dns
66
65
 
67
66
  #
68
67
  # Makes a request and returns the body of the response.
69
- # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
68
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
70
69
  # @param path [String] the path, relative to {base_url}.
71
70
  # @param options [Hash{String=>String}] specifying any request options like :body.
72
71
  # @return [Hash{String=>String}] containing the body of the response.
@@ -127,7 +126,7 @@ module Azure::ARM::Dns
127
126
  def add_telemetry
128
127
  sdk_information = 'azure_mgmt_dns'
129
128
  if defined? Azure::ARM::Dns::VERSION
130
- sdk_information = "#{sdk_information}/#{Azure::ARM::Dns::VERSION}"
129
+ sdk_information = "#{sdk_information}/#{Azure::ARM::Dns::VERSION}"
131
130
  end
132
131
  add_user_agent_information(sdk_information)
133
132
  end
@@ -20,7 +20,7 @@ module Azure::ARM::Dns
20
20
  # this value will be ignored.
21
21
  attr_accessor :max_number_of_record_sets
22
22
 
23
- # @return [Integer] The current number of record sets in this DNS zone.
23
+ # @return [Integer] The current number of record sets in this DNS zone.
24
24
  # This is a read-only property and any attempt to set this value will be
25
25
  # ignored.
26
26
  attr_accessor :number_of_record_sets
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Dns
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_dns
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 Dns Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []