graphiti 1.0.alpha.15 → 1.0.alpha.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphiti/adapters/active_record/base.rb +3 -1
- data/lib/graphiti/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7cd1da91838a35ea701970bfa74cc01fa22d2b5
|
4
|
+
data.tar.gz: 85c8af417325e68d85feac64c0d026fac4d838f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57bb072978dfbd7acdcb4e52bd24141a780608351dabb2b80365604bbe25ffec7f4777ca0061e08b0d048744a1c231e4f9ab5afd102702d6fb1fa9c8ebbfae81
|
7
|
+
data.tar.gz: d8274209d83c00f0386c37029df7b836ad40351b4fec1852c849f33783f251427186aa4b1cc42da264399bc4eeb881b76ff7573145751fff5e180b6583221145
|
@@ -214,7 +214,9 @@ module Graphiti
|
|
214
214
|
[:create, :update].include?(Graphiti.context[:namespace])
|
215
215
|
parent.send(association_name) << child
|
216
216
|
else
|
217
|
-
association.
|
217
|
+
target = association.instance_variable_get(:@target)
|
218
|
+
target |= [child]
|
219
|
+
association.instance_variable_set(:@target, target)
|
218
220
|
end
|
219
221
|
end
|
220
222
|
else
|
data/lib/graphiti/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphiti
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.alpha.
|
4
|
+
version: 1.0.alpha.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Richmond
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jsonapi-serializable
|