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 +4 -4
- data/lib/glossarist/version.rb +1 -1
- data/lib/glossarist.rb +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39407659b9bb3a6f3f9c7fc2da7fbb8c3adb1a619ca1021e95541eebc2e5220a
|
|
4
|
+
data.tar.gz: 1680ec8bcc852bd4b8345f87cdb78c3d8556fd43d00167f6e0696447d87004b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c8e3c4d7b255ff81b50e072e648f440fd1961016fc94fbcbb28ce05b459dfa21dd6c1d1f9c4e457f6831527004a56105098c4034fab190595c14a1a100c7c7c
|
|
7
|
+
data.tar.gz: 073e06486669bbe40295609fa1e39696a69a1026da1c129586ae9d9f51b883c3445bfa4c9bd69cd4127881d3cf197c57601ab43b22471bb49b88cfa90211058c
|
data/lib/glossarist/version.rb
CHANGED
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"
|