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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a20100b04a726a913c10f8b2c07591effa983fcac9726f3dd07178f32d341b66
4
- data.tar.gz: b4ed4e78f917ad6edb332fd3685b5701b8ee5c898941c47ef8d030984933311b
3
+ metadata.gz: 1b9c24fe8cac3a89767546bdf30adc9f927f4d1e0981e245d35bef08654d9c28
4
+ data.tar.gz: 936351fa08da1ec9b0f6528e4c31ab4e3362e305fbaed9d9030b5a946e5777b3
5
5
  SHA512:
6
- metadata.gz: 59b0d75ba9d21bc2d7391b01eae62875c2c091b56efef76f339b36695e2c5a1557b53e7b7d28e7097609d4c05a2f1a00d374dfd5e64b3f63f18ae1aa61f23ed2
7
- data.tar.gz: 19a4c758ee11b59dee86310423cd9433cce74a1dac1e31f3bba1980f3e8df6ba80e577984f96bdbdd4480726d1226ff848654523e4c9c9084b9c7d432d84872c
6
+ metadata.gz: 16f57277fea7401f46dd1293b2a08715209b449d4eb0ed6f4971b9c94b75c16cd7af1528f665239c5d55bf79945ac250f626fde7a9075807883509b5ac1fba2e
7
+ data.tar.gz: 183fb995759607328a8c881cd2f15f88390ad7f465d8b0ed0634fc8f6ad919bb25d4ee9c8ff0350343248a74b02a91bc7a10b9c0907ce591bd46e10a464f7c82
@@ -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)
@@ -4,5 +4,5 @@
4
4
  #
5
5
 
6
6
  module Glossarist
7
- VERSION = "1.0.7"
7
+ VERSION = "1.0.8"
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: 1.0.7
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-06-27 00:00:00.000000000 Z
11
+ date: 2023-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: relaton