azure-armrest 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +5 -0
- data/lib/azure/armrest/model/storage_account.rb +2 -1
- data/lib/azure/armrest/storage_account_service.rb +19 -1
- data/lib/azure/armrest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e89c3fbbfe48ed417ffd5ffd8a7d0c31d99ac0b
|
4
|
+
data.tar.gz: a7dffd29227228c2a59e4e4b1bdf751fd1dc052a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae33ec0c1675d5c13bb674d7bea315aac0eb3657ec854d8c98e1aab4c024f4d4cfff4c9f0616feaf9c0f25424784307fd13e67ad1eb0ff1080c2e4e0a8f2ac6b
|
7
|
+
data.tar.gz: 77ae01437b56cf5322885e6c19850c94ccce7d3d4654ece3b1bf25f3e144cf40544b0dad68d1f718b0a7564aeabf5c44ad2fcda990add72fb862c07beaffd4f0
|
data/CHANGES
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
= 0.1.3 - 7-Mar-2016
|
2
|
+
* StorageAccount model objects now have their proxy value automatically
|
3
|
+
set to whatever the proxy was set to in the configuration argument
|
4
|
+
for StorageAccountService.
|
5
|
+
|
1
6
|
= 0.1.2 - 2-Mar-2016
|
2
7
|
* When selecting the appropriate api version string, we now reject dates
|
3
8
|
that are ahead of the current date.
|
@@ -20,6 +20,24 @@ module Azure
|
|
20
20
|
super(configuration, 'storageAccounts', 'Microsoft.Storage', options)
|
21
21
|
end
|
22
22
|
|
23
|
+
# Same as other resource based get methods, but also sets the proxy on the model object.
|
24
|
+
#
|
25
|
+
def get(name, resource_group = configuration.resource_group)
|
26
|
+
super.tap { |m| m.proxy = configuration.proxy }
|
27
|
+
end
|
28
|
+
|
29
|
+
# Same as other resource based list methods, but also sets the proxy on each model object.
|
30
|
+
#
|
31
|
+
def list(resource_group = configuration.resource_group)
|
32
|
+
super.each { |m| m.proxy = configuration.proxy }
|
33
|
+
end
|
34
|
+
|
35
|
+
# Same as other resource based list_all methods, but also sets the proxy on each model object.
|
36
|
+
#
|
37
|
+
def list_all
|
38
|
+
super.each { |m| m.proxy = configuration.proxy }
|
39
|
+
end
|
40
|
+
|
23
41
|
# Creates a new storage account, or updates an existing account with the
|
24
42
|
# specified parameters.
|
25
43
|
#
|
@@ -65,7 +83,7 @@ module Azure
|
|
65
83
|
|
66
84
|
super(account_name, rgroup, options) do |url|
|
67
85
|
url << "&validating=" << validating if validating
|
68
|
-
end
|
86
|
+
end.tap { |m| m.proxy = configuration.proxy }
|
69
87
|
end
|
70
88
|
|
71
89
|
# Returns the primary and secondary access keys for the given
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure-armrest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-03-
|
14
|
+
date: 2016-03-07 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json
|