utopia 2.19.0 → 2.19.1
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/utopia/content/links.rb +4 -2
- data/lib/utopia/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: df0d36fb6627871090306a7049fcbd487139fa7e30c861c6c2abf270a3ad07ec
|
|
4
|
+
data.tar.gz: d6b3592a95d1652a9069d5841a5aa9ff7bf43d73c1a171b9be212602f888989c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 00e3a8f9df669e72d419c490fd86f255981a3e05ab05a0f740d468e306494879c4e78449332b0c88151a64e2296a0968e117b8965e556c6225ec95f5795cd261
|
|
7
|
+
data.tar.gz: 9764e94964545f5b8bdd6f99763872d0391d71eef1327e3121c045e555f2a1b3821641640037d6d77c934f2f5145b9aa40e515096a9694d7c3698aa7044b45b5
|
data/lib/utopia/content/links.rb
CHANGED
|
@@ -142,8 +142,10 @@ module Utopia
|
|
|
142
142
|
def load_metadata(path)
|
|
143
143
|
yaml_path = File.join(path, LINKS_YAML)
|
|
144
144
|
|
|
145
|
-
if File.exist?(yaml_path)
|
|
146
|
-
|
|
145
|
+
if File.exist?(yaml_path)
|
|
146
|
+
if data = YAML.safe_load(File.read(yaml_path), permitted_classes: [Date, Time])
|
|
147
|
+
return symbolize_keys(data)
|
|
148
|
+
end
|
|
147
149
|
else
|
|
148
150
|
return {}
|
|
149
151
|
end
|
data/lib/utopia/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: utopia
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.19.
|
|
4
|
+
version: 2.19.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
@@ -367,7 +367,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
367
367
|
- !ruby/object:Gem::Version
|
|
368
368
|
version: '0'
|
|
369
369
|
requirements: []
|
|
370
|
-
rubygems_version: 3.3.
|
|
370
|
+
rubygems_version: 3.3.3
|
|
371
371
|
signing_key:
|
|
372
372
|
specification_version: 4
|
|
373
373
|
summary: Utopia is a framework for building dynamic content-driven websites.
|