metanorma-plugin-lutaml 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/metanorma/plugin/lutaml/utils.rb +3 -3
- data/lib/metanorma/plugin/lutaml/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: 6f74ae7819a7084916a1e42f358c527959840c9f48af610c3e38b47ff919c057
|
4
|
+
data.tar.gz: aa0e3fefca42a7a2de2a51c484dd435bc8ebf3aa62afe683b10a2862bf6637ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9983cdfeab13eb5a06590f9c96f8367c3f7a9532df817b34e9dac9068efb6ef81ca649380a67e28d75005b065b0f5beb7c171573fb1426d8aec573b88eb5eb4e
|
7
|
+
data.tar.gz: d6d2d92fc3ecc978dbefaf64fc30e47f9560fb65029e67fa9204b8fbd064fb80ffd0c93ec94bfd728f33fef8546bf053dad4e27145c41642837ca515d5cf2dbe
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require "expressir/
|
1
|
+
require "expressir/express/cache"
|
2
2
|
require "metanorma/plugin/lutaml/liquid/custom_filters"
|
3
3
|
|
4
4
|
::Liquid::Template.register_filter(Metanorma::Plugin::Lutaml::Liquid::CustomFilters)
|
@@ -53,7 +53,7 @@ module Metanorma
|
|
53
53
|
express_write_cache(cache_full_path, wrapper.original_document, document)
|
54
54
|
end
|
55
55
|
wrapper
|
56
|
-
rescue Expressir::
|
56
|
+
rescue Expressir::Error
|
57
57
|
FileUtils.rm_rf(cache_full_path)
|
58
58
|
process_express_index(path, cache_path, document, true)
|
59
59
|
rescue StandardError => e
|
@@ -68,7 +68,7 @@ module Metanorma
|
|
68
68
|
|
69
69
|
def express_write_cache(path, repository, document)
|
70
70
|
root_path = Pathname.new(relative_file_path(document, ""))
|
71
|
-
Expressir::
|
71
|
+
Expressir::Express::Cache
|
72
72
|
.to_file(path,
|
73
73
|
repository,
|
74
74
|
root_path: root_path)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-plugin-lutaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.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-04-
|
11
|
+
date: 2021-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: liquid
|