isodoc 2.7.0 → 2.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/isodoc.gemspec +1 -1
- data/lib/isodoc/convert.rb +5 -3
- data/lib/isodoc/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3d420c1f407fc9c61f6b5b35b4b6a2da5348eb80331cf1751e09546ceef5669
|
4
|
+
data.tar.gz: 8861cbd102660ee74d94b5ff367727607fd23ece4c9bca44a468a68b1756a5c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b7e7eeb5050180c3b14d958a102ec895196783203ea0fe201996a38f9f0bd9137bdd2402f8260671abcbc5e264443e1847c3b1e6b0e465d7cea11e1ff403871
|
7
|
+
data.tar.gz: 3b591c4f0a8b1359a318ea753f2d1d77efe2dd5e7e903e0a77cad3d40f7318e79a1416ce0958fbafb1d02a43a48f6c29bfd62f5221b14dd943a1470511fe7007
|
data/isodoc.gemspec
CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
28
28
|
end
|
29
29
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
|
30
30
|
|
31
|
-
spec.add_dependency "html2doc", "~> 1.7.
|
31
|
+
spec.add_dependency "html2doc", "~> 1.7.1"
|
32
32
|
spec.add_dependency "htmlentities", "~> 4.3.4"
|
33
33
|
# spec.add_dependency "isodoc-i18n", "~> 1.1.0" # already in relaton-render and mn-requirements
|
34
34
|
spec.add_dependency "emf2svg"
|
data/lib/isodoc/convert.rb
CHANGED
@@ -110,7 +110,8 @@ module IsoDoc
|
|
110
110
|
end
|
111
111
|
|
112
112
|
def preprocess_xslt(docxml)
|
113
|
-
extract_preprocess_xslt(docxml)
|
113
|
+
sheets = extract_preprocess_xslt(docxml)
|
114
|
+
sheets.each do |x|
|
114
115
|
docxml = Nokogiri::XSLT(x).transform(docxml)
|
115
116
|
end
|
116
117
|
docxml
|
@@ -131,8 +132,9 @@ module IsoDoc
|
|
131
132
|
convert_i18n_init1(docxml)
|
132
133
|
i18n_init(@lang, @script, @locale)
|
133
134
|
@reqt_models = requirements_processor
|
134
|
-
.new({ default: "default", lang: @lang, script: @script,
|
135
|
-
labels: @i18n.get,
|
135
|
+
.new({ default: "default", lang: @lang, script: @script,
|
136
|
+
locale: @locale, labels: @i18n.get,
|
137
|
+
modspecidentifierbase: @modspecidentifierbase })
|
136
138
|
end
|
137
139
|
|
138
140
|
def convert_i18n_init1(docxml)
|
data/lib/isodoc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isodoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: html2doc
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.7.
|
19
|
+
version: 1.7.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.7.
|
26
|
+
version: 1.7.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: htmlentities
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|