stuartpreston-azure-sdk-for-ruby 0.7.0 → 0.7.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 168818b6312e69bfee5ae31a19daaf3aedb30d43
|
4
|
+
data.tar.gz: 159d71764c6b99cc371284a72a1bd931adde5313
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: accb3bc4b00956ad29d644854e99dd87f579d75d22615df7af4234834d0fdd52d35381cf919895f2075269f7760b207c6a12bfa5102cc45b8946d4ec69e8ee9d
|
7
|
+
data.tar.gz: 914fc6325120767d616ed99fbcb95919436274c1e6f7605bbd48b48ac2bccaab4a1dee44a13c8cce86c2c56021872eff8d61484a3fd2c57eabfda5dc6f3c74e9
|
data/ChangeLog.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
|
2
|
+
2014.04.13 - version 0.7.1 (stuartpreston-azure-sdk-for-ruby)
|
3
|
+
* Fix inability to determine location of virtual network
|
4
|
+
|
1
5
|
2014.04.03 - version 0.7.0 (stuartpreston-azure-sdk-for-ruby)
|
2
6
|
* Update dependencies for compatibility with latest chef-client and chef-provisioning
|
3
7
|
|
data/lib/azure/version.rb
CHANGED
@@ -41,6 +41,10 @@ module Azure
|
|
41
41
|
virtual_network_service_xml,
|
42
42
|
'State'
|
43
43
|
)
|
44
|
+
virtual_network.location = xml_content(
|
45
|
+
virtual_network_service_xml,
|
46
|
+
'Location'
|
47
|
+
)
|
44
48
|
address_prefixes = virtual_network_service_xml.css(
|
45
49
|
'AddressSpace AddressPrefixes AddressPrefix'
|
46
50
|
)
|
@@ -164,7 +168,7 @@ module Azure
|
|
164
168
|
dns_list = {}
|
165
169
|
dns_list.merge!(merge_dns(new_dns_servers))
|
166
170
|
dns_list.merge!(merge_dns(dns_servers))
|
167
|
-
|
171
|
+
|
168
172
|
dns_list.each do |name, ip_address|
|
169
173
|
xml.DnsServer('name' => name, 'IPAddress' => ip_address)
|
170
174
|
end
|
@@ -172,7 +176,7 @@ module Azure
|
|
172
176
|
|
173
177
|
def self.merge_dns(dns_list)
|
174
178
|
new_dns_list = {}
|
175
|
-
|
179
|
+
|
176
180
|
dns_list.each do |dns|
|
177
181
|
unless dns_list.include?(dns[:name])
|
178
182
|
new_dns_list.merge!(dns[:name] => dns[:ip_address])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stuartpreston-azure-sdk-for-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|