glossarist 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/glossarist/config.rb +7 -1
- data/lib/glossarist/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b9c24fe8cac3a89767546bdf30adc9f927f4d1e0981e245d35bef08654d9c28
|
4
|
+
data.tar.gz: 936351fa08da1ec9b0f6528e4c31ab4e3362e305fbaed9d9030b5a946e5777b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16f57277fea7401f46dd1293b2a08715209b449d4eb0ed6f4971b9c94b75c16cd7af1528f665239c5d55bf79945ac250f626fde7a9075807883509b5ac1fba2e
|
7
|
+
data.tar.gz: 183fb995759607328a8c881cd2f15f88390ad7f465d8b0ed0634fc8f6ad919bb25d4ee9c8ff0350343248a74b02a91bc7a10b9c0907ce591bd46e10a464f7c82
|
data/lib/glossarist/config.rb
CHANGED
@@ -13,8 +13,14 @@ module Glossarist
|
|
13
13
|
attr_reader :registered_classes
|
14
14
|
|
15
15
|
def initialize
|
16
|
+
if File.exist?("glossarist.yaml")
|
17
|
+
@config = YAML.load_file("glossarist.yaml")
|
18
|
+
end
|
19
|
+
|
20
|
+
@config ||= {}
|
21
|
+
|
16
22
|
@registered_classes = DEFAULT_CLASSES.dup
|
17
|
-
@extension_attributes = []
|
23
|
+
@extension_attributes = @config["extension_attributes"] || []
|
18
24
|
end
|
19
25
|
|
20
26
|
def class_for(name)
|
data/lib/glossarist/version.rb
CHANGED
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: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: relaton
|