jekyll-geolexica 1.8.0 → 1.8.2

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: 589b0b21d481894d38d42b54130d776a2ec3dabbaecdbe7c975aec77cd401ebe
4
- data.tar.gz: de607e2829abf4535639d19adf7d565f519940cba1b451a0faf13b7da884907c
3
+ metadata.gz: 277bca749099f12179f72abe7a874a58b0b476895575f0a840b890a9cd7126da
4
+ data.tar.gz: ec94396024f055f79c814c7f5a65f68ac6eb382a06e082b7533f5d61beb828f3
5
5
  SHA512:
6
- metadata.gz: 1dc1e901eb71369885b0ab92fd3cbc5c4cc6f010489066655391218e6da0c5a56aba813c9500282b2e3c1d28a25e119b2cd49d17917a0e84fb3e1ea29f0e2de9
7
- data.tar.gz: 554c673c8d46cf6cf6cecc7dcf2db24e5493a35c018a1240dde3df5fe887aa4ee24c7a2d5357c0234c8885b927db015b5d2d42063c80483d0efba993fc5d0c36
6
+ metadata.gz: aa09a484804c38122f21240b57c1957070212067b1e1d8ca1219af45eab25f30224e57e74470520ee98ccb04390d9f540011460c515b978b74bd7dcd13b5eeb6
7
+ data.tar.gz: 1f969150f61d58f6449b9c8df6b0c026cc08a2fa0ddfcb14c54060f64890cc42498d5f4bd97879b53d9d9bfa7af565e4b3d138fdc2a2111c530b0f4dceb7b1f3
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
@@ -136,8 +136,9 @@ module Jekyll
136
136
  glossary_path = site.config["geolexica"]["glossary_path"]
137
137
  return {} if glossary_path.nil? || glossary_path.empty?
138
138
 
139
- @images_metadata ||= YAML.load_file(
139
+ @images_metadata ||= YAML.safe_load_file(
140
140
  File.expand_path("#{glossary_path}/images_metadata.yaml", site.source),
141
+ permitted_classes: [Time],
141
142
  )
142
143
  end
143
144
 
@@ -51,7 +51,7 @@ module Jekyll
51
51
 
52
52
  # Reads and parses concept file located at given path.
53
53
  def read_concept_file(path)
54
- YAML.load(File.read path)
54
+ YAML.safe_load(File.read path, permitted_classes: [Time])
55
55
  end
56
56
 
57
57
  # Does nothing, but some sites may replace this method.
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Jekyll
5
5
  module Geolexica
6
- VERSION = "1.8.0".freeze
6
+ VERSION = "1.8.2".freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-geolexica
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-28 00:00:00.000000000 Z
11
+ date: 2022-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -148,7 +148,7 @@ dependencies:
148
148
  - - "~>"
149
149
  - !ruby/object:Gem::Version
150
150
  version: '3.9'
151
- description:
151
+ description:
152
152
  email:
153
153
  - open.source@ribose.com
154
154
  executables: []
@@ -156,6 +156,7 @@ extensions: []
156
156
  extra_rdoc_files: []
157
157
  files:
158
158
  - Gemfile
159
+ - Rakefile
159
160
  - _config.yml
160
161
  - _data/lang.yaml
161
162
  - _includes/analytics.html
@@ -247,7 +248,7 @@ metadata:
247
248
  bug_tracker_uri: https://github.com/geolexica/jekyll-geolexica/issues
248
249
  homepage_uri: https://open.ribose.com/
249
250
  source_code_uri: https://github.com/geolexica/jekyll-geolexica
250
- post_install_message:
251
+ post_install_message:
251
252
  rdoc_options: []
252
253
  require_paths:
253
254
  - lib
@@ -262,8 +263,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
262
263
  - !ruby/object:Gem::Version
263
264
  version: '0'
264
265
  requirements: []
265
- rubygems_version: 3.1.2
266
- signing_key:
266
+ rubygems_version: 3.1.6
267
+ signing_key:
267
268
  specification_version: 4
268
269
  summary: Geolexica plugin for Jekyll
269
270
  test_files: []