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: 05ff3965fb8f246cb1c376a7f21d1ba4e1306edab31626becbb8ac7d607e6508
4
- data.tar.gz: bbc073882463a1f6719ee9d8f52d8814fe7ff9169b39d6b48cbb3ebc91a0f3a3
3
+ metadata.gz: c5268dc87f6e401780557ce059240a1e7bb69146f678a01b18e5b728bb10bdb6
4
+ data.tar.gz: 7ab01059ad3f89ab0b2747398cbdec3dbcc7d3685b5242007fe8b12192ed135b
5
5
  SHA512:
6
- metadata.gz: 1539c1c2dfbd683702e0bc3962a7c5992b635bd09347a50c7cff6ccc49906149df920f45be4588dd765bb497dc7a5c3d6b625788ae137288e587f1ed516faa98
7
- data.tar.gz: 8c4c7a9ccaf8608d11b88015cb7cd068d09a6df6d0caaf571f1d139627dda3a18863e728d40bcdc00eced82c0684dc8b204cc6e27f7d68f860b375d1813dc196
6
+ metadata.gz: 29932cdb09b72352684291335261081af9e893de4b5ebd25bb9f59939477031594d3c244625d0327dc53b03d7647c9c8e677aadce7fd3ff799f81e8c0a3bf5ff
7
+ data.tar.gz: 1a18d5d7cf632255deb07bf9ea6bcffcfdcd742753b5e91e40de202a077e78bac10102c79a10b30907e08111b2f13ca1af1490b007952b44e9238f76b51949b3
@@ -1,7 +1,7 @@
1
1
  module Metanorma
2
2
  module Plugin
3
3
  module Datastruct
4
- VERSION = "0.1.2".freeze
4
+ VERSION = "0.1.3".freeze
5
5
  end
6
6
  end
7
7
  end
@@ -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
- encoding: "UTF-8"),
44
- [Date, Time]
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.2
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-05 00:00:00.000000000 Z
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.3
269
+ rubygems_version: 3.0.9
270
270
  signing_key:
271
271
  specification_version: 4
272
272
  summary: Metanorma plugin for yaml2text and json2text