glossarist 2.14.16 → 2.14.17

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.
@@ -5,6 +5,11 @@ module Glossarist
5
5
  class LocalizedConcept < Glossarist::LocalizedConcept
6
6
  attribute :data, V3::ConceptData, default: -> { V3::ConceptData.new }
7
7
 
8
+ # lutaml-model#1272 hardening — the `attribute :data` re-declaration
9
+ # above regenerates the accessor, shadowing the parent's; re-apply.
10
+ # See DefaultMaterialization.
11
+ prepend DefaultMaterialization
12
+
8
13
  def date_accepted_from_yaml(model, value)
9
14
  return if model.date_accepted
10
15
 
@@ -48,6 +48,11 @@ module Glossarist
48
48
  # relations: intentionally NOT mapped — per-file storage only.
49
49
  end
50
50
 
51
+ # lutaml-model#1272 hardening — the `attribute :data` re-declaration
52
+ # above regenerates the accessor, shadowing the parent's; re-apply.
53
+ # See DefaultMaterialization.
54
+ prepend DefaultMaterialization
55
+
51
56
  def date_accepted_from_yaml(model, value)
52
57
  model.date_accepted = V3::ConceptDate.of_yaml(
53
58
  { "date" => value, "type" => "accepted" },
@@ -4,5 +4,5 @@
4
4
  #
5
5
 
6
6
  module Glossarist
7
- VERSION = "2.14.16"
7
+ VERSION = "2.14.17"
8
8
  end
data/lib/glossarist.rb CHANGED
@@ -53,6 +53,7 @@ module Glossarist
53
53
  autoload :ConceptDocument, "glossarist/concept_document"
54
54
  autoload :ConceptEnricher, "glossarist/concept_enricher"
55
55
  autoload :Config, "glossarist/config"
56
+ autoload :DefaultMaterialization, "glossarist/default_materialization"
56
57
  autoload :LocalizedString, "glossarist/localized_string"
57
58
  autoload :NonConceptEntity, "glossarist/non_concept_entity"
58
59
  autoload :SharedNonConceptEntity, "glossarist/shared_non_concept_entity"
@@ -82,12 +83,14 @@ module Glossarist
82
83
  autoload :Mentions, "glossarist/mentions"
83
84
  autoload :NonVerbRep, "glossarist/non_verb_rep"
84
85
  autoload :Pronunciation, "glossarist/pronunciation"
86
+ autoload :Proposals, "glossarist/proposals"
85
87
  autoload :RelatedConcept, "glossarist/related_concept"
86
88
  autoload :Rdf, "glossarist/rdf"
87
89
  autoload :Sts, "glossarist/sts"
88
90
  autoload :Transforms, "glossarist/transforms"
89
91
  autoload :SchemaMigration, "glossarist/schema_migration"
90
92
  autoload :UrnResolver, "glossarist/urn_resolver"
93
+ autoload :Units, "glossarist/units"
91
94
  autoload :Utilities, "glossarist/utilities"
92
95
  autoload :Validation, "glossarist/validation"
93
96
  autoload :RegisterData, "glossarist/register_data"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glossarist
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.14.16
4
+ version: 2.14.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-11-11 00:00:00.000000000 Z
11
+ date: 2026-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lutaml-model
@@ -164,6 +164,20 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: unitsdb
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '2.2'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '2.2'
167
181
  - !ruby/object:Gem::Dependency
168
182
  name: yeptris
169
183
  requirement: !ruby/object:Gem::Requirement
@@ -225,6 +239,8 @@ files:
225
239
  - lib/glossarist/cli/export_command.rb
226
240
  - lib/glossarist/cli/import_command.rb
227
241
  - lib/glossarist/cli/package_command.rb
242
+ - lib/glossarist/cli/proposal_command.rb
243
+ - lib/glossarist/cli/units_import_command.rb
228
244
  - lib/glossarist/cli/upgrade_command.rb
229
245
  - lib/glossarist/cli/validate_command.rb
230
246
  - lib/glossarist/collection.rb
@@ -261,6 +277,7 @@ files:
261
277
  - lib/glossarist/custom_locality.rb
262
278
  - lib/glossarist/dataset_register.rb
263
279
  - lib/glossarist/dataset_validator.rb
280
+ - lib/glossarist/default_materialization.rb
264
281
  - lib/glossarist/designation.rb
265
282
  - lib/glossarist/designation/abbreviation.rb
266
283
  - lib/glossarist/designation/base.rb
@@ -278,6 +295,7 @@ files:
278
295
  - lib/glossarist/errors/cache_version_mismatch_error.rb
279
296
  - lib/glossarist/errors/cli_error.rb
280
297
  - lib/glossarist/errors/invalid_language_code_error.rb
298
+ - lib/glossarist/errors/invalid_proposal_error.rb
281
299
  - lib/glossarist/errors/invalid_type_error.rb
282
300
  - lib/glossarist/errors/load_error.rb
283
301
  - lib/glossarist/errors/parse_error.rb
@@ -308,6 +326,12 @@ files:
308
326
  - lib/glossarist/non_verb_rep.rb
309
327
  - lib/glossarist/non_verbal_reference.rb
310
328
  - lib/glossarist/pronunciation.rb
329
+ - lib/glossarist/proposals.rb
330
+ - lib/glossarist/proposals/change.rb
331
+ - lib/glossarist/proposals/git_bridge.rb
332
+ - lib/glossarist/proposals/github_bridge.rb
333
+ - lib/glossarist/proposals/payload.rb
334
+ - lib/glossarist/proposals/pr_description.rb
311
335
  - lib/glossarist/rdf.rb
312
336
  - lib/glossarist/rdf/deterministic_slug.rb
313
337
  - lib/glossarist/rdf/gloss_citation.rb
@@ -383,6 +407,11 @@ files:
383
407
  - lib/glossarist/transforms.rb
384
408
  - lib/glossarist/transforms/concept_to_gloss_transform.rb
385
409
  - lib/glossarist/transforms/concept_to_tbx_transform.rb
410
+ - lib/glossarist/units.rb
411
+ - lib/glossarist/units/ingestor.rb
412
+ - lib/glossarist/units/quantity_kind.rb
413
+ - lib/glossarist/units/unit.rb
414
+ - lib/glossarist/units/unit_prefix.rb
386
415
  - lib/glossarist/urn_resolver.rb
387
416
  - lib/glossarist/utilities.rb
388
417
  - lib/glossarist/utilities/common_functions.rb