deep_unrest 0.1.58 → 0.1.59
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: df718d434d23563f201ede2e2c94fcae7338af2d6051aa2a649cf64a2503656e
|
4
|
+
data.tar.gz: 86ba7e7256bd9a0da6648f3d4ac232c9ca44819b0f72270e785dc0ed9b7e2767
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08ef1b199cdd61b69ef6ca379577550581890e452524f5907d3cc1a5dbd49b42a657040f77bf168b2fbef3537f4b1817e5c7a3a27bbe69b4ac4e5508a2d3a287'
|
7
|
+
data.tar.gz: 78575e6f41a95cb12b5d9fa8bfb2041e8aa27a73a3edca0d9a79a4cf13e98fda6e8d27dd64ba3f70e311811498f7e82975d728d343c821a6b118f16f2db7d77e
|
data/lib/deep_unrest/version.rb
CHANGED
data/lib/deep_unrest/write.rb
CHANGED
@@ -164,7 +164,7 @@ module DeepUnrest
|
|
164
164
|
changed.select { |c| c[:query_uuid] }
|
165
165
|
.each_with_object({}) do |c, memo|
|
166
166
|
mapping = mappings.find { |m| m.dig(:query, :uuid) == c[:query_uuid] }
|
167
|
-
next unless mapping
|
167
|
+
next unless mapping || mapping[:addr].blank?
|
168
168
|
mapping[:query][:fields] = c[:attributes].keys
|
169
169
|
mapping[:record] = c[:klass].new(id: c[:id])
|
170
170
|
mapping[:record].assign_attributes(c[:attributes])
|
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.59
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lynn Hurley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|