edoxen 0.8.2 → 0.8.3
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/edoxen/entity_resolver.rb +4 -2
- data/lib/edoxen/meeting.rb +1 -1
- data/lib/edoxen/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9be35dc39f7766b3bebb55769f484b13e4e0f43d5d29e4cdaba916dc64594a82
|
|
4
|
+
data.tar.gz: 1466534420ad8b83df31b1a84c1fe0c3e27e28a6f4529c190b4658c2622c4700
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4912179fadc07811533420e68c07edd374468369fd4f3ffa0135d2556e310ee1ed7f7c595a9241d6ac8378c6a62ea36e7673a0f9fa8ac0fe98d39668606475d9
|
|
7
|
+
data.tar.gz: 8cba6a15881824a1b6bef2e29e113fab969302b485ae1404e8100121cefddae44c435a529a999ed24ebae15eddb0bc757c3e9270ad19cde4e3d5530c6cd239c4
|
|
@@ -8,7 +8,7 @@ module Edoxen
|
|
|
8
8
|
# it as-is (it carries full data).
|
|
9
9
|
# 2. Document-scoped: if +local_ref+ is set, look up in the
|
|
10
10
|
# document-scoped collection (e.g. Meeting#contacts) by matching
|
|
11
|
-
# +urn+ against +local_ref
|
|
11
|
+
# +urn+ against +local_ref+ (+code+ for Body, which has no +urn+).
|
|
12
12
|
# 3. Global register: if +ref+ is set, look up in the global
|
|
13
13
|
# register (e.g. ContactRegister) by matching +urn+ against +ref+.
|
|
14
14
|
#
|
|
@@ -62,7 +62,9 @@ module Edoxen
|
|
|
62
62
|
end
|
|
63
63
|
|
|
64
64
|
def member_key(member)
|
|
65
|
-
|
|
65
|
+
# Body has no +urn+ — its local key is +code+ (same lookup
|
|
66
|
+
# semantics as BodyRegister#find_by_urn).
|
|
67
|
+
member.respond_to?(:urn) ? member.urn : member.code
|
|
66
68
|
end
|
|
67
69
|
end
|
|
68
70
|
end
|
data/lib/edoxen/meeting.rb
CHANGED
|
@@ -56,7 +56,7 @@ module Edoxen
|
|
|
56
56
|
attribute :declarations, Declaration, collection: true
|
|
57
57
|
|
|
58
58
|
# Outcomes (canonical location on Meeting)
|
|
59
|
-
attribute :decisions,
|
|
59
|
+
attribute :decisions, StructuredIdentifier, collection: true
|
|
60
60
|
attribute :motions, Motion, collection: true
|
|
61
61
|
attribute :votings, Voting, collection: true
|
|
62
62
|
|
data/lib/edoxen/version.rb
CHANGED