metanorma-plugin-lutaml 0.3.2 → 0.4.0

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: a24226ddaa6e87bf2622c963e3a95d9abb9527e4067dc78836a605c35baa2e10
4
- data.tar.gz: c0e3cc93d034f8b66219feb004aba88ae685fe1e1cbc4c0e78698cf51da3c3b5
3
+ metadata.gz: a69cd9fc268fc930ee6a904fded7ff1b9a8e8bc9d168692723a8e288c153a1b9
4
+ data.tar.gz: e0c0f656845153953ea5b157a896a2c080701bd4201807bd588b98813aa5a408
5
5
  SHA512:
6
- metadata.gz: 3a61f3035a98479f58c01d84b55f262ca300876d72952d90d1fc10fbd5d3faaaa75eaa73b91c369c4c4108a765067eab3b81b5c0cbc3b8f2f6bd763306a537f8
7
- data.tar.gz: 8ac5a2a497f0223b828ae6409b56bdc97e03750efbf1513f477774e1d13f749757372fabfca1c5a54cd665105acc00c23ce1c439d2c5dbb3cf420765e9379bdb
6
+ metadata.gz: 47ae06e3671be20040af10541394b7876be02fa955dbecd8eab8983b2350fa12e62b1375276e3ff48671b0e38bc91bc8b7c758cdb6cc162d7fa4c35a6a665288
7
+ data.tar.gz: da04ecfba6f48f522294d733e6b16d0199657130c69f6407e77c702b8f94dceda641c528d323987f5b3e61b90ace50963e878c48c7f3aa6dda83313fd378e0d2
@@ -1,4 +1,4 @@
1
- require "expressir/express_exp/cache"
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::ExpressExp::CacheLoadError
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::ExpressExp::Cache
71
+ Expressir::Express::Cache
72
72
  .to_file(path,
73
73
  repository,
74
74
  root_path: root_path)
@@ -1,7 +1,7 @@
1
1
  module Metanorma
2
2
  module Plugin
3
3
  module Lutaml
4
- VERSION = "0.3.2".freeze
4
+ VERSION = "0.4.0".freeze
5
5
  end
6
6
  end
7
7
  end
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.2
4
+ version: 0.4.0
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-14 00:00:00.000000000 Z
11
+ date: 2021-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: liquid