azure-armrest 0.8.7 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -3
- data/CHANGES +8 -10
- data/azure-armrest.gemspec +1 -1
- data/lib/azure/armrest/armrest_service.rb +1 -3
- data/lib/azure/armrest/model/base_model.rb +0 -1
- data/lib/azure/armrest/version.rb +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08c5087ce23f2daa38369e7209b6c9e461ac70ab'
|
4
|
+
data.tar.gz: '0551476210886181f01aec220a6399839284c8e5'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7614753ebd6a2b6c3a8c863cfc8839c002f1a93b761bbc6c78989564b845d7ea4e878a2f88c9acf60f4848c582b3e880fe150c98cc9cd933a5ae38db6d07d68c
|
7
|
+
data.tar.gz: f053bb0a354ede6d36d50e99411cdced13c4be06176c21e6ba51fc3c65432759146de3cb2aa5c1d8c0534f929a44f4cc03f9f287f65b4530cd955a2994444883
|
data/.travis.yml
CHANGED
data/CHANGES
CHANGED
@@ -1,11 +1,9 @@
|
|
1
|
-
= 0.
|
2
|
-
*
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
= 0.8.5 - 10-Oct-2017
|
8
|
-
* Backported the light model changes from 0.9.0.
|
1
|
+
= 0.9.0 - 6-Oct-2017
|
2
|
+
* Bump nokogiri to at least 1.8.1 to avoid security warnings.
|
3
|
+
* Adds the 'skip_attribute_definitions' flag on all azure armrest models. This
|
4
|
+
allows us to significantly reduce memory and increase speed within internal
|
5
|
+
methods that generate lots of intermediate objects. Thanks go to Nick LaMuro
|
6
|
+
for this work.
|
9
7
|
|
10
8
|
= 0.8.4 - 2-Oct-2017
|
11
9
|
* Logging bug fix in StorageAccount#all_blobs method.
|
@@ -145,7 +143,7 @@
|
|
145
143
|
|
146
144
|
= 0.4.2 - 19-Dec-2016
|
147
145
|
* Added the delete_by_id method, so you can now delete by ID string.
|
148
|
-
* Added the TemplateDeploymentService#delete_associated_resources method.
|
146
|
+
* Added the TemplateDeploymentService#delete_associated_resources method.
|
149
147
|
|
150
148
|
= 0.4.1 - 16-Dec-2016
|
151
149
|
* The Configuration#environment accessor was added. As of this release you
|
@@ -330,7 +328,7 @@
|
|
330
328
|
* Fixed the StorageAccount#table_data method, and added support for
|
331
329
|
continuation tokens.
|
332
330
|
* Fixed a bug in the BaseModel's method generation code where an all-caps
|
333
|
-
key would create strange results.
|
331
|
+
key would create strange results.
|
334
332
|
* Dealt with a bug in the StorageAccountService#create method caused by
|
335
333
|
a potentially empty response.
|
336
334
|
|
data/azure-armrest.gemspec
CHANGED
@@ -22,7 +22,7 @@ behind the scenes.
|
|
22
22
|
spec.add_dependency 'memoist', '~> 0.15.0'
|
23
23
|
spec.add_dependency 'azure-signature', '~> 0.2.3'
|
24
24
|
spec.add_dependency 'activesupport', '>= 4.2.2'
|
25
|
-
spec.add_dependency 'nokogiri', '~> 1.
|
25
|
+
spec.add_dependency 'nokogiri', '>= 1.8.1', '~> 1.8'
|
26
26
|
spec.add_dependency 'addressable', '~> 2.4.0'
|
27
27
|
spec.add_dependency 'parallel', '~> 1.12.0'
|
28
28
|
|
@@ -216,9 +216,7 @@ module Azure
|
|
216
216
|
if tries <= max_retries
|
217
217
|
msg = "A rate limit or server side issue has occurred [#{err.http_code}]. Retry number #{tries}."
|
218
218
|
Azure::Armrest::Configuration.log.try(:log, Logger::WARN, msg)
|
219
|
-
sleep_time =
|
220
|
-
sleep_time = 5 if sleep_time < 5 # 5 second minimum
|
221
|
-
sleep_time = 120 if sleep_time > 120 # 2 minute maximum
|
219
|
+
sleep_time = err.response.headers[:retry_after] || 30
|
222
220
|
sleep(sleep_time)
|
223
221
|
retry
|
224
222
|
end
|
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.
|
4
|
+
version: 0.9.0
|
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: 2017-10-
|
14
|
+
date: 2017-10-06 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json
|
@@ -87,16 +87,22 @@ dependencies:
|
|
87
87
|
name: nokogiri
|
88
88
|
requirement: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 1.8.1
|
90
93
|
- - "~>"
|
91
94
|
- !ruby/object:Gem::Version
|
92
|
-
version: '1.
|
95
|
+
version: '1.8'
|
93
96
|
type: :runtime
|
94
97
|
prerelease: false
|
95
98
|
version_requirements: !ruby/object:Gem::Requirement
|
96
99
|
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 1.8.1
|
97
103
|
- - "~>"
|
98
104
|
- !ruby/object:Gem::Version
|
99
|
-
version: '1.
|
105
|
+
version: '1.8'
|
100
106
|
- !ruby/object:Gem::Dependency
|
101
107
|
name: addressable
|
102
108
|
requirement: !ruby/object:Gem::Requirement
|