deep_unrest 0.1.60 → 0.1.61

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: 7fae32e1c2db7e50d7aa50a2c3f85c2b86ea1da79a188668cb3f3d0135ad78aa
4
- data.tar.gz: ce02cc31b810beb360898890ab54b50669f659a4acbe4f2504a9b7bf71d5c410
3
+ metadata.gz: 316ef6e7a55cc9c2672f5ffcc6f0e7a49520efb38ab6f36e64463f693ff049b2
4
+ data.tar.gz: d6bf808f99a19822fbd413f594981d7e9b52936ef8373dfc8960eb052ea47acc
5
5
  SHA512:
6
- metadata.gz: e2bf2d43716bf59853837aa86b971da1daeabea5490e10ccb5ba92866400904eb15734c9c7caab85bebc42a0307a70e8efea8839ae5716d66fcdbe9cd7ec4c89
7
- data.tar.gz: 20159226bf7c3cfb216d18055880c872bcfb4702bab393248accaeeb2aad816654e41bf24960cc38c7d43cfd89eac9b9c0f0c20355ac839c580558cc10618992
6
+ metadata.gz: 47aa191f6fe498ad3e6ca40d9140f4299fa22900ee4750172dcf6f1d7ca5dff4cbcf28975ca30c7ca201401e47fcdef36d7a1de8e30147b15862cb2a103ea8c9
7
+ data.tar.gz: 94843080564a1c72c72538e4b7bd61433300ffd5ca411b7724037fa16fcb38933e73cc25a63400fca7021f473823b01d984edfc837dd74f993e337acde32e3b4
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeepUnrest
4
- VERSION = '0.1.60'
4
+ VERSION = '0.1.61'
5
5
  end
@@ -57,7 +57,7 @@ module DeepUnrest
57
57
 
58
58
  next_segment = "#{addr.shift.underscore}_attributes"
59
59
  addr.shift if addr[0].to_s == 'data[]'
60
- idx = addr.shift if addr[0].is_a? Integer
60
+ idx = (addr.shift if addr[0].is_a? Integer)
61
61
  next_segment += '[]' if idx
62
62
  item[:ar_addr] << next_segment
63
63
  item[:ar_addr] << idx if idx
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deep_unrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.60
4
+ version: 0.1.61
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lynn Hurley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-23 00:00:00.000000000 Z
11
+ date: 2020-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails