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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 644782cd0c5470948a94774eaf6de85cf5ef99897ea64f18a5ca5ea8715d9ee9
4
- data.tar.gz: acfa296e67aba589ae44de1b463efca1a59c24457cba05a0d6931487550d475c
3
+ metadata.gz: 9be35dc39f7766b3bebb55769f484b13e4e0f43d5d29e4cdaba916dc64594a82
4
+ data.tar.gz: 1466534420ad8b83df31b1a84c1fe0c3e27e28a6f4529c190b4658c2622c4700
5
5
  SHA512:
6
- metadata.gz: e9d165cfa3f646a409766e1f569b3c7495ea80868ff30bed6275c76fcc1878611421788ff71b588ebe1748428b9e266acd3aacee594b031047e7e9ffc10676a2
7
- data.tar.gz: a2c9518cfa2fd36bbafbf32388f9410f8ccde54e9d3bbd0a20eb33f0c523c4a4961fef1756c0adf10dbac0a892ebd652011374949650f0a91555d6741c79a9b1
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
- member.urn
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
@@ -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, Decision, collection: true
59
+ attribute :decisions, StructuredIdentifier, collection: true
60
60
  attribute :motions, Motion, collection: true
61
61
  attribute :votings, Voting, collection: true
62
62
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Edoxen
4
- VERSION = "0.8.2"
4
+ VERSION = "0.8.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edoxen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.