glossarist 2.11.1 → 2.11.2

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: db275fe34501d897cc24b130bf5f0f37a447dc9f440d3aa6a7b0fc1f5ab49051
4
- data.tar.gz: 29f0e1559a03e9c6c740f6853db1546091ef9aa3acc7b93b091f01ed9ee6fcee
3
+ metadata.gz: 8eb3d7c78878f193ed90c49d57b80201fa20db0c7a80bee39a9e7458d091135f
4
+ data.tar.gz: 709a9d56a3a6956d88e2dd111ad4d29a02288f28feca43eb850fb4e2a7d83dec
5
5
  SHA512:
6
- metadata.gz: a281074b57a07df9792775ccbfff3002be6303049979030ccbe7133de46a9ee04a69a807ef3e65eb9aa82c7ff6c62fdc8b00a5182213650d4af5ba6d9cdf8681
7
- data.tar.gz: bf03d853b4406f6fd42ed3379600d75425058150e0247da46833139085d5752c3fe71b62465b29dcdbad00ee53d72159d7f8a449034e6844bf9f7866a56cd4c1
6
+ metadata.gz: 0e612d2dae7f525da03f4f677575feca311af0b93b0c8d6c7e6c54f51c3f11d86fa899eca3ab998ea1e63f366717055dd42dac20172721327cdbb99335070f4b
7
+ data.tar.gz: 63ac17b342e1478973a3387fafdde5abcc12554453fd70500980f9b88207bff294ff5636bc909a68facad00c6c4f5966ad2eaa9e6442a9914e7a16ac8dda41c6
@@ -17,7 +17,19 @@ module Glossarist
17
17
  attribute :repository, :string
18
18
  attribute :license, :string
19
19
  attribute :tags, :string, collection: true
20
- attribute :translations, :hash, default: -> { {} }
20
+ attribute :translations, :hash, default: -> {}
21
+ # Dataset-register fields (concept-browser Deployments). These were
22
+ # previously dropped during GCR packaging, causing downstream
23
+ # consumers (e.g. concept-browser's lineage-series renderer) to lose
24
+ # year/ref/urn/status needed for timeline sorting and identity.
25
+ attribute :ref, :string
26
+ attribute :ref_aliases, :string, collection: true
27
+ attribute :year, :integer
28
+ attribute :urn, :string
29
+ attribute :urn_aliases, :string, collection: true
30
+ attribute :status, :string
31
+ attribute :supersedes, :string
32
+ attribute :source_repo, :string
21
33
 
22
34
  key_value do
23
35
  map %i[id shortname], to: :shortname
@@ -35,6 +47,14 @@ module Glossarist
35
47
  map "license", to: :license
36
48
  map "tags", to: :tags
37
49
  map "translations", to: :translations
50
+ map "ref", to: :ref
51
+ map "ref_aliases", to: :ref_aliases
52
+ map "year", to: :year
53
+ map "urn", to: :urn
54
+ map "urn_aliases", to: :urn_aliases
55
+ map "status", to: :status
56
+ map "supersedes", to: :supersedes
57
+ map "source_repo", to: :source_repo
38
58
  end
39
59
 
40
60
  def self.from_file(path)
@@ -4,5 +4,5 @@
4
4
  #
5
5
 
6
6
  module Glossarist
7
- VERSION = "2.11.1"
7
+ VERSION = "2.11.2"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glossarist
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.1
4
+ version: 2.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose