Skip to content

Commit

Permalink
Added status for concept (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
HassanAkbar authored Mar 18, 2024
1 parent 63cc052 commit 06dba8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jekyll-geolexica.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_runtime_dependency "glossarist", "~> 2.0"
spec.add_runtime_dependency "glossarist", "~> 2.0.7"
# Jekyll 4.1.0 adds some breaking changes which are reverted in 4.1.1.
# I doubt we should be worried, but there is no good reason to allow them
# either.
Expand Down
1 change: 1 addition & 0 deletions lib/jekyll/geolexica/glossary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def load_glossary
"id" => managed_concept.uuid,
"term" => managed_concept.default_designation,
"termid" => managed_concept.id,
"status" => managed_concept.status,
}.merge(managed_concept.to_h)

managed_concept.localizations.each do |lang, localization|
Expand Down
1 change: 1 addition & 0 deletions spec/unit/jekyll/geolexica/glossary_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"id" => "055c7785-e3c2-4df0-bcbc-83c1314864af",
"term" => "association <UML>",
"termid" => "SPP",
"status" => "valid",
"data" => {
"identifier" => "SPP",
"localized_concepts" => {
Expand Down

0 comments on commit 06dba8d

Please sign in to comment.