active_node 2.3.4 → 2.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_node/graph.rb +1 -1
- data/lib/active_node/version.rb +1 -1
- data/spec/functional/persistence_spec.rb +3 -0
- data/spec/models/address.rb +2 -0
- 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: 2f5fd6bbd377e9d3a0ea0d1ee61fae0b6e04ad87
|
4
|
+
data.tar.gz: 1ba851caa4b8a465c41f2e66291874d68b3272cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac304c846ad143695f9318c30888afb62d263ed23ec5a97b8e162473a3955c935357fc87677105a7f1a6646525f670504b664b12962d638da4d73f415c86d41f
|
7
|
+
data.tar.gz: da05a6381b63b281c03c3058fb4dd6a33d6c09fc84a43b6d2b38abaf1b14c80e9aebbf84de675401016f5b1fba3da704c9d84dcf1dc8bf43a9a45e4f8b5e4665
|
data/lib/active_node/graph.rb
CHANGED
data/lib/active_node/version.rb
CHANGED
@@ -149,6 +149,9 @@ describe ActiveNode::Persistence do
|
|
149
149
|
p=Person.create!(name: 'abc', address: a)
|
150
150
|
c=Client.create!(name: 'client', address: a)
|
151
151
|
expect(a.incoming(:address)).to include(p, c)
|
152
|
+
#but
|
153
|
+
expect(a.person).to eq(p)
|
154
|
+
expect(a.client).to eq(c)
|
152
155
|
end
|
153
156
|
end
|
154
157
|
|
data/spec/models/address.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_node
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Heinrich Klobuczek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_attr
|