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 +4 -4
- data/lib/deep_unrest/version.rb +1 -1
- data/lib/deep_unrest/write.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 316ef6e7a55cc9c2672f5ffcc6f0e7a49520efb38ab6f36e64463f693ff049b2
|
4
|
+
data.tar.gz: d6bf808f99a19822fbd413f594981d7e9b52936ef8373dfc8960eb052ea47acc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47aa191f6fe498ad3e6ca40d9140f4299fa22900ee4750172dcf6f1d7ca5dff4cbcf28975ca30c7ca201401e47fcdef36d7a1de8e30147b15862cb2a103ea8c9
|
7
|
+
data.tar.gz: 94843080564a1c72c72538e4b7bd61433300ffd5ca411b7724037fa16fcb38933e73cc25a63400fca7021f473823b01d984edfc837dd74f993e337acde32e3b4
|
data/lib/deep_unrest/version.rb
CHANGED
data/lib/deep_unrest/write.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2020-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|