glossarist 2.3.11 → 2.3.12

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: 3a4cc39193c017e8f66dd84a4c8252f67bfce4d39dcffd149097cd3148def5e7
4
- data.tar.gz: 1b876ae71c7d505b4280d9aa2eab9b40ad70c7662fbd795c5a0200ee3f881f88
3
+ metadata.gz: 8e764b9c8ec92fdd762fdda65ea36270f6798ffd417547e40bd48c8b88e50521
4
+ data.tar.gz: 2ad3ea02fcdc6d374b7e674796ef124473dc02fbfeff8e4d8053a38fe543e5c6
5
5
  SHA512:
6
- metadata.gz: fe5475e31ddb035e8b7b2ff1225a678449be2dcc6f72c04f790d85af5f905e7339559d741d6ebb4111e7560b7be759c5185695f392a4851df859afd97bf290ad
7
- data.tar.gz: a9d36fcfeebadc62003a2579ff77eee012b5b5a952d8874c25da69c9792f335364a5b7f76e8a7f9a88a9eba20dbc24bb70aff636b5a862e1497139235d95df3b
6
+ metadata.gz: ee2ea9ab8d52588d84b19aecd860359438e8b929717726bb4f323e2ba37213bb2d39402cd950d0be896f4c4e63a6147a127fd21088cd42f52d99c0c623ccb945
7
+ data.tar.gz: 10a6f8eb05fac3d6f87d1092b934793f01ae7ce0a000efc7314d865b4790bf3e14189fa90ef55b58020c40ae882bf1210b02c0ea5626171f7ccc0ef9f207135d
@@ -2,12 +2,18 @@
2
2
  # See https://github.com/metanorma/cimas
3
3
  name: release
4
4
 
5
+ permissions:
6
+ contents: write
7
+ id-token: write
8
+ pull-requests: write
9
+
5
10
  on:
6
11
  workflow_dispatch:
7
12
  inputs:
8
13
  next_version:
9
14
  description: |
10
- Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
15
+ Next release version. Possible values: x.y.z, major, minor, patch (or pre|rc|etc).
16
+ Also, you can pass 'skip' to skip 'git tag' and do 'gem push' for the current version
11
17
  required: true
12
18
  default: 'skip'
13
19
  repository_dispatch:
@@ -15,10 +21,8 @@ on:
15
21
 
16
22
  jobs:
17
23
  release:
18
- uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
24
+ uses: relaton/support/.github/workflows/release.yml@main
19
25
  with:
20
26
  next_version: ${{ github.event.inputs.next_version }}
21
27
  secrets:
22
28
  rubygems-api-key: ${{ secrets.GLOSSARIST_CI_RUBYGEMS_API_KEY }}
23
- pat_token: ${{ secrets.GLOSSARIST_CI_PAT_TOKEN }}
24
-
data/.gitignore CHANGED
@@ -18,3 +18,6 @@
18
18
 
19
19
  # Relaton local cache directory
20
20
  localcache
21
+
22
+ .vscode
23
+
data/.rubocop_todo.yml CHANGED
@@ -1,25 +1,125 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2025-01-16 08:32:21 UTC using RuboCop version 1.70.0.
3
+ # on 2026-03-24 03:31:43 UTC using RuboCop version 1.86.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
9
  # Offense count: 1
10
- # Configuration parameters: Severity, Include.
11
- # Include: **/*.gemspec
10
+ # This cop supports safe autocorrection (--autocorrect).
11
+ Gemspec/RequireMFA:
12
+ Exclude:
13
+ - 'glossarist.gemspec'
14
+
15
+ # Offense count: 1
12
16
  Gemspec/RequiredRubyVersion:
13
17
  Exclude:
14
18
  - 'glossarist.gemspec'
15
19
 
16
- # Offense count: 64
20
+ # Offense count: 13
21
+ # This cop supports safe autocorrection (--autocorrect).
22
+ # Configuration parameters: EnforcedStyle, IndentationWidth.
23
+ # SupportedStyles: with_first_argument, with_fixed_indentation
24
+ Layout/ArgumentAlignment:
25
+ Exclude:
26
+ - 'lib/glossarist/concept.rb'
27
+ - 'lib/glossarist/concept_data.rb'
28
+ - 'lib/glossarist/concept_manager.rb'
29
+ - 'lib/glossarist/designation/grammar_info.rb'
30
+ - 'lib/glossarist/managed_concept.rb'
31
+ - 'spec/features/v2_serialization_spec.rb'
32
+ - 'spec/unit/locality_spec.rb'
33
+
34
+ # Offense count: 2
35
+ # This cop supports safe autocorrection (--autocorrect).
36
+ # Configuration parameters: EnforcedStyleAlignWith.
37
+ # SupportedStylesAlignWith: either, start_of_block, start_of_line
38
+ Layout/BlockAlignment:
39
+ Exclude:
40
+ - 'spec/features/v2_serialization_spec.rb'
41
+
42
+ # Offense count: 2
43
+ # This cop supports safe autocorrection (--autocorrect).
44
+ Layout/BlockEndNewline:
45
+ Exclude:
46
+ - 'spec/features/v2_serialization_spec.rb'
47
+
48
+ # Offense count: 2
49
+ # This cop supports safe autocorrection (--autocorrect).
50
+ Layout/ClosingParenthesisIndentation:
51
+ Exclude:
52
+ - 'spec/features/multi_content_yaml_serialization_spec.rb'
53
+ - 'spec/features/v2_serialization_spec.rb'
54
+
55
+ # Offense count: 2
56
+ # This cop supports safe autocorrection (--autocorrect).
57
+ # Configuration parameters: EnforcedStyle, IndentationWidth.
58
+ # SupportedStyles: consistent, consistent_relative_to_receiver, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
59
+ Layout/FirstArgumentIndentation:
60
+ Exclude:
61
+ - 'spec/features/multi_content_yaml_serialization_spec.rb'
62
+ - 'spec/features/v2_serialization_spec.rb'
63
+
64
+ # Offense count: 10
65
+ # This cop supports safe autocorrection (--autocorrect).
66
+ # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
67
+ # SupportedHashRocketStyles: key, separator, table
68
+ # SupportedColonStyles: key, separator, table
69
+ # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
70
+ Layout/HashAlignment:
71
+ Exclude:
72
+ - 'exe/glossarist'
73
+ - 'lib/glossarist/concept_data.rb'
74
+ - 'lib/glossarist/designation/grammar_info.rb'
75
+ - 'spec/unit/locality_spec.rb'
76
+
77
+ # Offense count: 1
78
+ # This cop supports safe autocorrection (--autocorrect).
79
+ # Configuration parameters: EnforcedStyle.
80
+ # SupportedStyles: normal, indented_internal_methods
81
+ Layout/IndentationConsistency:
82
+ Exclude:
83
+ - 'glossarist.gemspec'
84
+
85
+ # Offense count: 4
17
86
  # This cop supports safe autocorrection (--autocorrect).
18
- # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
87
+ # Configuration parameters: Width, EnforcedStyleAlignWith, AllowedPatterns.
88
+ # SupportedStylesAlignWith: start_of_line, relative_to_receiver
89
+ Layout/IndentationWidth:
90
+ Exclude:
91
+ - 'spec/features/v2_serialization_spec.rb'
92
+
93
+ # Offense count: 90
94
+ # This cop supports safe autocorrection (--autocorrect).
95
+ # Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
19
96
  # URISchemes: http, https
20
97
  Layout/LineLength:
21
98
  Enabled: false
22
99
 
100
+ # Offense count: 2
101
+ # This cop supports safe autocorrection (--autocorrect).
102
+ # Configuration parameters: EnforcedStyle.
103
+ # SupportedStyles: symmetrical, new_line, same_line
104
+ Layout/MultilineMethodCallBraceLayout:
105
+ Exclude:
106
+ - 'spec/features/multi_content_yaml_serialization_spec.rb'
107
+ - 'spec/features/v2_serialization_spec.rb'
108
+
109
+ # Offense count: 20
110
+ # This cop supports safe autocorrection (--autocorrect).
111
+ # Configuration parameters: AllowInHeredoc.
112
+ Layout/TrailingWhitespace:
113
+ Exclude:
114
+ - 'exe/glossarist'
115
+ - 'lib/glossarist/concept.rb'
116
+ - 'lib/glossarist/concept_data.rb'
117
+ - 'lib/glossarist/concept_manager.rb'
118
+ - 'lib/glossarist/designation/grammar_info.rb'
119
+ - 'lib/glossarist/managed_concept.rb'
120
+ - 'spec/features/v2_serialization_spec.rb'
121
+ - 'spec/unit/locality_spec.rb'
122
+
23
123
  # Offense count: 1
24
124
  # Configuration parameters: AllowedMethods.
25
125
  # AllowedMethods: enums
@@ -33,6 +133,12 @@ Lint/DuplicateMethods:
33
133
  - 'lib/glossarist/managed_concept.rb'
34
134
 
35
135
  # Offense count: 3
136
+ # This cop supports unsafe autocorrection (--autocorrect-all).
137
+ Lint/NonAtomicFileOperation:
138
+ Exclude:
139
+ - 'lib/glossarist/concept_manager.rb'
140
+
141
+ # Offense count: 4
36
142
  # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
37
143
  Metrics/AbcSize:
38
144
  Exclude:
@@ -46,10 +152,10 @@ Metrics/CyclomaticComplexity:
46
152
  - 'lib/glossarist/designation/expression.rb'
47
153
  - 'lib/glossarist/managed_concept.rb'
48
154
 
49
- # Offense count: 6
155
+ # Offense count: 9
50
156
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
51
157
  Metrics/MethodLength:
52
- Max: 20
158
+ Max: 19
53
159
 
54
160
  # Offense count: 1
55
161
  # Configuration parameters: AllowedMethods, AllowedPatterns, Max.
@@ -57,9 +163,53 @@ Metrics/PerceivedComplexity:
57
163
  Exclude:
58
164
  - 'lib/glossarist/designation/expression.rb'
59
165
 
166
+ # Offense count: 1
167
+ # This cop supports safe autocorrection (--autocorrect).
168
+ Performance/StringIdentifierArgument:
169
+ Exclude:
170
+ - 'spec/unit/collection_spec.rb'
171
+
172
+ # Offense count: 3
173
+ # This cop supports safe autocorrection (--autocorrect).
174
+ # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
175
+ # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
176
+ # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
177
+ # FunctionalMethods: let, let!, subject, watch
178
+ # AllowedMethods: lambda, proc, it
179
+ Style/BlockDelimiters:
180
+ Exclude:
181
+ - 'spec/features/v2_serialization_spec.rb'
182
+
60
183
  # Offense count: 6
61
184
  # This cop supports safe autocorrection (--autocorrect).
62
- # Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns.
185
+ # Configuration parameters: MaxUnannotatedPlaceholdersAllowed, Mode, AllowedMethods, AllowedPatterns.
63
186
  # SupportedStyles: annotated, template, unannotated
64
187
  Style/FormatStringToken:
65
188
  EnforcedStyle: unannotated
189
+
190
+ # Offense count: 1
191
+ # This cop supports unsafe autocorrection (--autocorrect-all).
192
+ Style/MapIntoArray:
193
+ Exclude:
194
+ - 'spec/unit/collection_spec.rb'
195
+
196
+ # Offense count: 1
197
+ # Configuration parameters: Max.
198
+ Style/SafeNavigationChainLength:
199
+ Exclude:
200
+ - 'lib/glossarist/managed_concept.rb'
201
+
202
+ # Offense count: 2
203
+ # This cop supports safe autocorrection (--autocorrect).
204
+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
205
+ # SupportedStyles: single_quotes, double_quotes
206
+ Style/StringLiterals:
207
+ Exclude:
208
+ - 'glossarist.gemspec'
209
+
210
+ # Offense count: 2
211
+ # This cop supports safe autocorrection (--autocorrect).
212
+ Style/SuperArguments:
213
+ Exclude:
214
+ - 'lib/glossarist/designation/base.rb'
215
+ - 'lib/glossarist/designation/expression.rb'
data/Gemfile CHANGED
@@ -2,8 +2,12 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "lutaml-model", github: "lutaml/lutaml-model", branch: "main"
5
6
  gem "pry"
6
7
  gem "rake"
7
8
  gem "rspec"
9
+ gem "rubocop-performance"
10
+ gem "rubocop-rake"
11
+ gem "rubocop-rspec"
8
12
 
9
13
  gemspec
data/exe/glossarist CHANGED
@@ -5,10 +5,14 @@ require_relative "../lib/glossarist"
5
5
  class GlossaristCommand < Thor
6
6
  desc "generate_latex", "Convert Concepts to Latex format"
7
7
 
8
- option :concepts_path, aliases: :p, required: true, desc: "Path to yaml concepts directory"
9
- option :latex_concepts, aliases: :l, desc: "File path having list of concepts that should be converted to LATEX format. If not provided all the concepts will be converted to the latex format"
10
- option :output_file, aliases: :o, desc: "Output file path. By default the output will pe printed to the console"
11
- option :extra_attributes, aliases: :e, type: :array, desc: "List of extra attributes that are not in standard Glossarist Concept model"
8
+ option :concepts_path, aliases: :p, required: true,
9
+ desc: "Path to yaml concepts directory"
10
+ option :latex_concepts, aliases: :l,
11
+ desc: "File path having list of concepts that should be converted to LATEX format. If not provided all the concepts will be converted to the latex format"
12
+ option :output_file, aliases: :o,
13
+ desc: "Output file path. By default the output will pe printed to the console"
14
+ option :extra_attributes, aliases: :e, type: :array,
15
+ desc: "List of extra attributes that are not in standard Glossarist Concept model"
12
16
  def generate_latex
13
17
  assets = []
14
18
  latex_concepts_file = options[:latex_concepts]
data/glossarist.gemspec CHANGED
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.metadata["homepage_uri"] = spec.homepage
22
22
  spec.metadata["source_code_uri"] = spec.homepage
23
23
  spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"
24
+ spec.metadata["rubygems_mfa_required"] = "true"
24
25
 
25
26
  # Specify which files should be added to the gem when it is released.
26
27
  spec.files = all_files_in_git
@@ -6,11 +6,36 @@ module Glossarist
6
6
  module Collections
7
7
  class BibliographyCollection < Relaton::Db
8
8
  def initialize(_concepts, global_cache, local_cache)
9
+ @version_mismatch = check_cache_version(local_cache) ||
10
+ check_cache_version(global_cache)
9
11
  super(global_cache, local_cache)
10
12
  end
11
13
 
14
+ def fetch_all(...)
15
+ raise @version_mismatch if @version_mismatch
16
+
17
+ super
18
+ end
19
+
12
20
  private
13
21
 
22
+ def check_cache_version(path)
23
+ return unless path && File.directory?(path)
24
+
25
+ Dir["#{File.expand_path(path)}/*/"].each do |dir|
26
+ version_file = "#{dir}version"
27
+ next unless File.exist?(version_file)
28
+
29
+ actual = File.read(version_file, encoding: "utf-8").strip
30
+ expected = Relaton::Registry.instance.by_type(dir.split("/").last)&.grammar_hash
31
+ next if expected.nil? || actual == expected
32
+
33
+ return CacheVersionMismatchError.new(dir, expected, actual)
34
+ end
35
+
36
+ nil
37
+ end
38
+
14
39
  def populate_bibliographies(concepts)
15
40
  concepts.each do |concept|
16
41
  concept.default_lang.sources.each do |source|
@@ -16,12 +16,15 @@ module Glossarist
16
16
  map :termid, to: :termid
17
17
  map :subject, to: :subject
18
18
  map %i[non_verb_rep nonVerbRep], to: :non_verb_rep
19
- map %i[extension_attributes extensionAttributes], to: :extension_attributes
19
+ map %i[extension_attributes extensionAttributes],
20
+ to: :extension_attributes
20
21
  map %i[lineage_source lineageSource], to: :lineage_source
21
22
  map :localizations, to: :localizations
22
- map %i[extension_attributes extensionAttributes], to: :extension_attributes
23
+ map %i[extension_attributes extensionAttributes],
24
+ to: :extension_attributes
23
25
 
24
- map %i[date_accepted dateAccepted], with: { from: :date_accepted_from_yaml, to: :date_accepted_to_yaml }
26
+ map %i[date_accepted dateAccepted],
27
+ with: { from: :date_accepted_from_yaml, to: :date_accepted_to_yaml }
25
28
  map :uuid, to: :uuid, with: { to: :uuid_to_yaml, from: :uuid_from_yaml }
26
29
  map :id, to: :id, with: { to: :id_to_yaml, from: :id_from_yaml }
27
30
  map :identifier, to: :id, with: { to: :id_to_yaml, from: :id_from_yaml }
@@ -3,11 +3,14 @@ module Glossarist
3
3
  include Glossarist::Utilities::CommonFunctions
4
4
 
5
5
  attribute :dates, ConceptDate, collection: true
6
- attribute :definition, DetailedDefinition, collection: true, initialize_empty: true
7
- attribute :examples, DetailedDefinition, collection: true, initialize_empty: true
6
+ attribute :definition, DetailedDefinition, collection: true,
7
+ initialize_empty: true
8
+ attribute :examples, DetailedDefinition, collection: true,
9
+ initialize_empty: true
8
10
  attribute :id, :string
9
11
  attribute :lineage_source_similarity, :integer
10
- attribute :notes, DetailedDefinition, collection: true, initialize_empty: true
12
+ attribute :notes, DetailedDefinition, collection: true,
13
+ initialize_empty: true
11
14
  attribute :release, :string
12
15
  attribute :sources, ConceptSource, collection: true
13
16
  attribute :terms, Designation::Base, collection: true
@@ -28,7 +31,8 @@ module Glossarist
28
31
  map :definition, to: :definition, value_map: { to: { empty: :empty } }
29
32
  map :examples, to: :examples, value_map: { to: { empty: :empty } }
30
33
  map :id, to: :id
31
- map %i[lineage_source_similarity lineageSourceSimilarity], to: :lineage_source_similarity
34
+ map %i[lineage_source_similarity lineageSourceSimilarity],
35
+ to: :lineage_source_similarity
32
36
  map :notes, to: :notes, value_map: { to: { empty: :empty } }
33
37
  map :release, to: :release
34
38
  map :sources, to: :sources
@@ -40,7 +44,8 @@ module Glossarist
40
44
  map %i[entry_status entryStatus], to: :entry_status
41
45
  map %i[review_date reviewDate], to: :review_date
42
46
  map %i[review_decision_date reviewDecisionDate], to: :review_decision_date
43
- map %i[review_decision_event reviewDecisionEvent], to: :review_decision_event
47
+ map %i[review_decision_event reviewDecisionEvent],
48
+ to: :review_decision_event
44
49
  end
45
50
 
46
51
  def terms_from_yaml(model, value)
@@ -5,7 +5,8 @@ module Glossarist
5
5
 
6
6
  yaml do
7
7
  map :path, to: :path
8
- map %i[localized_concepts_path localizedConceptsPath], to: :localized_concepts_path
8
+ map %i[localized_concepts_path localizedConceptsPath],
9
+ to: :localized_concepts_path
9
10
  end
10
11
 
11
12
  def load_from_files(collection: nil)
@@ -98,8 +99,8 @@ module Glossarist
98
99
 
99
100
  localized_concept_dir = File.join(path, @localized_concepts_path)
100
101
 
101
- Dir.mkdir(concept_dir) unless Dir.exist?(concept_dir)
102
- Dir.mkdir(localized_concept_dir) unless Dir.exist?(localized_concept_dir)
102
+ FileUtils.mkdir_p(concept_dir)
103
+ FileUtils.mkdir_p(localized_concept_dir)
103
104
 
104
105
  filename = File.join(concept_dir, "#{concept.uuid}.yaml")
105
106
  File.write(filename, concept.to_yaml)
@@ -114,7 +115,7 @@ module Glossarist
114
115
  @localized_concepts_path ||= "localized_concept"
115
116
  concept_dir = File.join(path)
116
117
 
117
- Dir.mkdir(concept_dir) unless Dir.exist?(concept_dir)
118
+ FileUtils.mkdir_p(concept_dir)
118
119
 
119
120
  content = []
120
121
 
@@ -30,7 +30,7 @@ module Glossarist
30
30
  raise ArgumentError, "unexpected designation type: #{type}"
31
31
  end
32
32
 
33
- super(hash, options)
33
+ super
34
34
  end
35
35
  end
36
36
  end
@@ -35,7 +35,7 @@ module Glossarist
35
35
 
36
36
  hash["type"] = "expression" unless hash["type"]
37
37
 
38
- super(hash, options)
38
+ super
39
39
  end
40
40
  end
41
41
  end
@@ -12,7 +12,9 @@ module Glossarist
12
12
  map :gender, to: :gender
13
13
  map :number, to: :number
14
14
 
15
- map %i[part_of_speech partOfSpeech], with: { to: :part_of_speech_to_yaml, from: :part_of_speech_from_yaml }
15
+ map %i[part_of_speech partOfSpeech],
16
+ with: { to: :part_of_speech_to_yaml,
17
+ from: :part_of_speech_from_yaml }
16
18
  Glossarist::GlossaryDefinition::GRAMMAR_INFO_BOOLEAN_ATTRIBUTES.each do |bool_attr|
17
19
  map bool_attr,
18
20
  with: { to: :"part_of_speech_#{bool_attr}_to_yaml",
@@ -0,0 +1,8 @@
1
+ module Glossarist
2
+ class CacheVersionMismatchError < Error
3
+ def initialize(cache_dir, expected, actual)
4
+ super("Relaton cache version mismatch in '#{cache_dir}': " \
5
+ "expected '#{expected}', got '#{actual}'")
6
+ end
7
+ end
8
+ end
@@ -6,3 +6,4 @@ end
6
6
  require_relative "error/invalid_type_error"
7
7
  require_relative "error/invalid_language_code_error"
8
8
  require_relative "error/parse_error"
9
+ require_relative "error/cache_version_mismatch_error"
@@ -28,7 +28,8 @@ module Glossarist
28
28
  with: { to: :identifier_to_yaml, from: :identifier_from_yaml }
29
29
  map :related, to: :related
30
30
  map :dates, to: :dates
31
- map %i[date_accepted dateAccepted], with: { from: :date_accepted_from_yaml, to: :date_accepted_to_yaml }
31
+ map %i[date_accepted dateAccepted],
32
+ with: { from: :date_accepted_from_yaml, to: :date_accepted_to_yaml }
32
33
  map :status, to: :status
33
34
 
34
35
  map :uuid, to: :uuid, with: { from: :uuid_from_yaml, to: :uuid_to_yaml }
@@ -4,5 +4,5 @@
4
4
  #
5
5
 
6
6
  module Glossarist
7
- VERSION = "2.3.11"
7
+ VERSION = "2.3.12"
8
8
  end
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.3.11
4
+ version: 2.3.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-07-25 00:00:00.000000000 Z
11
+ date: 2026-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lutaml-model
@@ -102,6 +102,7 @@ files:
102
102
  - lib/glossarist/designation/symbol.rb
103
103
  - lib/glossarist/detailed_definition.rb
104
104
  - lib/glossarist/error.rb
105
+ - lib/glossarist/error/cache_version_mismatch_error.rb
105
106
  - lib/glossarist/error/invalid_language_code_error.rb
106
107
  - lib/glossarist/error/invalid_type_error.rb
107
108
  - lib/glossarist/error/parse_error.rb
@@ -124,6 +125,7 @@ metadata:
124
125
  homepage_uri: https://github.com/glossarist/glossarist-ruby
125
126
  source_code_uri: https://github.com/glossarist/glossarist-ruby
126
127
  bug_tracker_uri: https://github.com/glossarist/glossarist-ruby/issues
128
+ rubygems_mfa_required: 'true'
127
129
  post_install_message:
128
130
  rdoc_options: []
129
131
  require_paths: