glossarist 2.14.9 → 2.14.10

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: 5998b563be6ba537552a419b8fd199a5cda32f2337ccda0deee2c09b3db248e7
4
- data.tar.gz: bcc888fd4972c5f3253c8daa31d5b897199afdb35eec6ead02b4c1610bc34778
3
+ metadata.gz: 39407659b9bb3a6f3f9c7fc2da7fbb8c3adb1a619ca1021e95541eebc2e5220a
4
+ data.tar.gz: 1680ec8bcc852bd4b8345f87cdb78c3d8556fd43d00167f6e0696447d87004b0
5
5
  SHA512:
6
- metadata.gz: 659e5bc82dd9d60f8ec31b0214f49ef581edaf4f32ca329622f926c39f7e5bb0f4f0594143cb953a5b10cf5ccac65536e36cc7508fa0f4afccff0508f0fe5aee
7
- data.tar.gz: 4a5146720fe468eeff50f825d6460b7bbbd666cc62b657ea95d022678b7c1cbe85487b8a193eed99527ab7f9e1a63f92825967ff5aba91d6ad4358576011b72c
6
+ metadata.gz: 2c8e3c4d7b255ff81b50e072e648f440fd1961016fc94fbcbb28ce05b459dfa21dd6c1d1f9c4e457f6831527004a56105098c4034fab190595c14a1a100c7c7c
7
+ data.tar.gz: 073e06486669bbe40295609fa1e39696a69a1026da1c129586ae9d9f51b883c3445bfa4c9bd69cd4127881d3cf197c57601ab43b22471bb49b88cfa90211058c
@@ -4,5 +4,5 @@
4
4
  #
5
5
 
6
6
  module Glossarist
7
- VERSION = "2.14.9"
7
+ VERSION = "2.14.10"
8
8
  end
data/lib/glossarist.rb CHANGED
@@ -8,6 +8,14 @@ require "thor"
8
8
  require "lutaml/model"
9
9
  require "lutaml/store"
10
10
 
11
+ # glossarist datasets on disk are written in yeptris dump form (long plain
12
+ # scalars unwrapped), so a silent fallback to Psych would reformat every
13
+ # stored concept on the next save. Keep the native lane; hosts can override
14
+ # with FONTIST_YAML (lutaml-model 0.8.161 stopped auto-detecting yeptris).
15
+ if ENV.fetch("FONTIST_YAML", "yeptris") == "yeptris"
16
+ Lutaml::Model::Config.instance.set_adapter(:yaml, :yeptris)
17
+ end
18
+
11
19
  module Glossarist
12
20
  autoload :Asset, "glossarist/asset"
13
21
  autoload :AssetReference, "glossarist/asset_reference"
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.14.9
4
+ version: 2.14.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose