metanorma-plugin-datastruct 0.1.2 → 0.1.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5268dc87f6e401780557ce059240a1e7bb69146f678a01b18e5b728bb10bdb6
|
4
|
+
data.tar.gz: 7ab01059ad3f89ab0b2747398cbdec3dbcc7d3685b5242007fe8b12192ed135b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29932cdb09b72352684291335261081af9e893de4b5ebd25bb9f59939477031594d3c244625d0327dc53b03d7647c9c8e677aadce7fd3ff799f81e8c0a3bf5ff
|
7
|
+
data.tar.gz: 1a18d5d7cf632255deb07bf9ea6bcffcfdcd742753b5e91e40de202a077e78bac10102c79a10b30907e08111b2f13ca1af1490b007952b44e9238f76b51949b3
|
@@ -37,11 +37,13 @@ module Metanorma
|
|
37
37
|
|
38
38
|
protected
|
39
39
|
|
40
|
+
# https://ruby-doc.org/stdlib-2.5.1/libdoc/psych/rdoc/Psych.html#method-c-safe_load
|
40
41
|
def content_from_file(document, file_path)
|
41
42
|
YAML.safe_load(
|
42
|
-
File.read(relative_file_path(document, file_path),
|
43
|
-
|
44
|
-
[
|
43
|
+
File.read(relative_file_path(document, file_path), encoding: "UTF-8"),
|
44
|
+
[Date, Time],
|
45
|
+
[],
|
46
|
+
true
|
45
47
|
)
|
46
48
|
end
|
47
49
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-plugin-datastruct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -266,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
266
266
|
- !ruby/object:Gem::Version
|
267
267
|
version: '0'
|
268
268
|
requirements: []
|
269
|
-
rubygems_version: 3.0.
|
269
|
+
rubygems_version: 3.0.9
|
270
270
|
signing_key:
|
271
271
|
specification_version: 4
|
272
272
|
summary: Metanorma plugin for yaml2text and json2text
|