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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa0ce88663e4c9ec21bb3952137aa27358f22201
4
- data.tar.gz: a6c722468faf4821c068ccb9fa7bc8c37caf82c3
3
+ metadata.gz: '08c5087ce23f2daa38369e7209b6c9e461ac70ab'
4
+ data.tar.gz: '0551476210886181f01aec220a6399839284c8e5'
5
5
  SHA512:
6
- metadata.gz: 4fcecb20b0b92fbf9d2f75b71f5623baf21674eb4bde8728c789436f613b55b3f20d7f529d519f02e0df1df45370c786e352156c876a97f84e35f05e0cedcbdc
7
- data.tar.gz: dad85c9468870906a46c6ea38b0a4de86d57163eccf4c3529c137751cf2e87d0fbb2542efeecfdcc112862398c9ceddf2b9b10eab317ebe46a83995acb3a122c
6
+ metadata.gz: 7614753ebd6a2b6c3a8c863cfc8839c002f1a93b761bbc6c78989564b845d7ea4e878a2f88c9acf60f4848c582b3e880fe150c98cc9cd933a5ae38db6d07d68c
7
+ data.tar.gz: f053bb0a354ede6d36d50e99411cdced13c4be06176c21e6ba51fc3c65432759146de3cb2aa5c1d8c0534f929a44f4cc03f9f287f65b4530cd955a2994444883
@@ -1,8 +1,10 @@
1
1
  language: ruby
2
+ sudo: false
3
+ cache: bundler
2
4
  rvm:
3
- - "2.2.6"
4
- - "2.3.3"
5
- - "2.4.0"
5
+ - "2.2.8"
6
+ - "2.3.5"
7
+ - "2.4.2"
6
8
  - ruby-head
7
9
  - jruby-head
8
10
  matrix:
data/CHANGES CHANGED
@@ -1,11 +1,9 @@
1
- = 0.8.7 - 25-Oct-2017
2
- * Ensure value passed to sleep method is an integer.
3
-
4
- = 0.8.6 - 23-Oct-2017
5
- * Backported the '$' model key fix from 0.9.1.
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
 
@@ -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.7'
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 = (err.response.headers[:retry_after] || 30).to_i
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
@@ -225,7 +225,6 @@ module Azure
225
225
  @hashobj.each do |key, value|
226
226
  snake = key.to_s.tr(' ', '_').underscore
227
227
  snake.tr!('.', '_')
228
- snake.tr!('$', '_')
229
228
 
230
229
  unless excl_list.include?(snake) # Must deal with nested models
231
230
  if value.kind_of?(Array)
@@ -1,6 +1,6 @@
1
1
  module Azure
2
2
  module Armrest
3
3
  # The version of the azure-armrest library.
4
- VERSION = '0.8.7'.freeze
4
+ VERSION = '0.9.0'.freeze
5
5
  end
6
6
  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.8.7
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-25 00:00:00.000000000 Z
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.7'
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.7'
105
+ version: '1.8'
100
106
  - !ruby/object:Gem::Dependency
101
107
  name: addressable
102
108
  requirement: !ruby/object:Gem::Requirement