deep_unrest 0.1.42 → 0.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/deep_unrest/version.rb +1 -1
- data/lib/deep_unrest/write.rb +2 -2
- 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: bde88909b10ee1880e83eade5cee21917be944160990ff87cb350e91204035ea
|
|
4
|
+
data.tar.gz: f161a41cf74cdedaac428d02b7b66d06ea9b28b6d90892b97c3ae1cfd688957f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d1c5b1e3abd12a489fb2aca43c0b27acfcc6b35cb93afa3c88f275368fa4a6bb43705f80e93907133eb7c65292f491b7f9b7585f19d8008520cde3e65011c504
|
|
7
|
+
data.tar.gz: f6e0ca7ffb8e2645fe7fc49ff7bc243104d09ae8c69c6f91cbadc0d03970ecf22214ec05a44c8bf49bfc2feb4b545484e4bcef01ab4ba04bd03740e56a5f0d4e
|
data/lib/deep_unrest/version.rb
CHANGED
data/lib/deep_unrest/write.rb
CHANGED
|
@@ -200,7 +200,7 @@ module DeepUnrest
|
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
def self.format_ar_error_path(base, ar_path)
|
|
203
|
-
path_arr = ar_path.gsub(/\.(?!\w+$)/, '.
|
|
203
|
+
path_arr = ar_path.gsub(/\.(?!\w+$)/, '.include.')
|
|
204
204
|
.gsub(/\.(?=\w+$)/, '.attributes.\1')
|
|
205
205
|
.gsub(/\[(\d+)\]/, '.data[].\1')
|
|
206
206
|
.split('.')
|
|
@@ -208,7 +208,7 @@ module DeepUnrest
|
|
|
208
208
|
if path_arr.size == 1
|
|
209
209
|
path_arr.unshift('attributes')
|
|
210
210
|
elsif path_arr.size > 1
|
|
211
|
-
path_arr.unshift('
|
|
211
|
+
path_arr.unshift('include')
|
|
212
212
|
end
|
|
213
213
|
|
|
214
214
|
[*base, *path_arr]
|
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.43
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lynn Hurley
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-08-
|
|
11
|
+
date: 2019-08-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|