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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c36786918df641ad7cc61b96471a4fba6828c86af36751f3be841e2879111f1c
4
- data.tar.gz: 28a4135e681858eeed8876c9e450faadc6f9d8b9a1eab97e16f1eee7d582fba6
3
+ metadata.gz: cfcf2a89175042b2c099eb1e3579241cd8aedab3157ff500258fee70c42e667a
4
+ data.tar.gz: 0fe43844bec6f749781d3cd622d555e714a02951ee492291c1c3e3667dd49191
5
5
  SHA512:
6
- metadata.gz: 2fe855b4a36f5494538df99895e5022a0bca82ec42f3dbf06b906da516ba07bad27782aa986e6a545e151927c6f30933356c15e533e8b8954f31230b139a091b
7
- data.tar.gz: a99277df03074b8169cf43c486b02f282c49888ec636a3ecb984dde9c21be6ed39a615b57d5ffc0ba1ff55dd189143d3e1340279e19f4a93982c61986c0f23b0
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.tr(' ', '_').underscore
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)
@@ -1,6 +1,6 @@
1
1
  module Azure
2
2
  module Armrest
3
3
  # The version of the azure-armrest library.
4
- VERSION = '0.9.5'.freeze
4
+ VERSION = '0.9.6'.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.9.5
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-01-22 00:00:00.000000000 Z
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.2
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