azure-armrest 0.9.5 → 0.9.6
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/base_model.rb +1 -3
- data/lib/azure/armrest/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfcf2a89175042b2c099eb1e3579241cd8aedab3157ff500258fee70c42e667a
|
4
|
+
data.tar.gz: 0fe43844bec6f749781d3cd622d555e714a02951ee492291c1c3e3667dd49191
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 450303d4ab987222c37a226bec6dad893f701463d06c4bfc8bb1553e496e6d44e11eca92270505d2b374d89988ed2478fbf55fda52ad3f9c8c753a643401ef04
|
7
|
+
data.tar.gz: 98c70876f3c41945b650d30fecf3b2a51d1fc56ad9e2584fb868986df1b69589fbe78bbaa63d4ac14c87fd64be7ef17ebb16882fa34671cbbcfb5a8e25b9cda1
|
data/CHANGES
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
= 0.9.6 - 26-Feb-2018
|
2
|
+
* Another bugfix for the model generator. From now on all non-alphanumeric
|
3
|
+
characters are automatically converted to an underscore. Thanks go to
|
4
|
+
Robb Manes for the patch.
|
5
|
+
|
1
6
|
= 0.9.5 - 22-Jan-2018
|
2
7
|
* Fixed a bug in the exception handler for the StorageAccount#all_blobs
|
3
8
|
method and the StorageAccountService#get_private_images method.
|
@@ -225,9 +225,7 @@ module Azure
|
|
225
225
|
def __setobj__
|
226
226
|
excl_list = self.class.send(:excl_list)
|
227
227
|
@hashobj.each do |key, value|
|
228
|
-
snake = key.to_s.
|
229
|
-
snake.tr!('.', '_')
|
230
|
-
snake.tr!('$', '_')
|
228
|
+
snake = key.to_s.gsub(/\W/, '_').underscore
|
231
229
|
|
232
230
|
unless excl_list.include?(snake) # Must deal with nested models
|
233
231
|
if value.kind_of?(Array)
|
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.9.
|
4
|
+
version: 0.9.6
|
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: 2018-
|
14
|
+
date: 2018-02-26 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json
|
@@ -291,7 +291,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
291
291
|
version: '0'
|
292
292
|
requirements: []
|
293
293
|
rubyforge_project:
|
294
|
-
rubygems_version: 2.7.
|
294
|
+
rubygems_version: 2.7.6
|
295
295
|
signing_key:
|
296
296
|
specification_version: 4
|
297
297
|
summary: An interface for ARM/JSON Azure REST API
|