metanorma-un 0.11.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/un/base_convert.rb +1 -2
- data/lib/isodoc/un/pdf_convert.rb +2 -2
- data/lib/metanorma/un/converter.rb +1 -2
- data/lib/metanorma/un/version.rb +1 -1
- data/metanorma-un.gemspec +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: 1886fa5b4a8b28ee3d773906df0606fc3140d3cd46bc88dda86e98350cc3989f
|
4
|
+
data.tar.gz: 90fc685cbe2537386029cffa32748eeee91bd92af6a82d6ef840b914e98a8633
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7fb941bd310fb2bda0c359d16137cda769db64f54723912ac78abffc5810cdf489eb9b3285516b51a0af8682df3522a098190ed7ba2b75955406e24e5b0adc5
|
7
|
+
data.tar.gz: 2e5d861bd1a4c8741c9fae0286d578e617423817a1eca4829b536db00411d79953a84a04efdcd5e2a3bd21204cafd6feed08ca2ab9bb52698e7ced002bf812d4
|
@@ -34,8 +34,7 @@ module IsoDoc
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def is_plenary?(docxml)
|
37
|
-
|
38
|
-
return true if %w(plenary agenda budgetary).include?(doctype)
|
37
|
+
return true if %w(plenary agenda budgetary).include?(@doctype)
|
39
38
|
return true if docxml&.at(ns("//bibdata/ext/session/*"))
|
40
39
|
|
41
40
|
false
|
@@ -14,11 +14,11 @@ module IsoDoc
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def pdf_stylesheet(docxml)
|
17
|
-
case doctype
|
17
|
+
case @doctype
|
18
18
|
when "plenary", "agenda", "budgetary"
|
19
19
|
"un.plenary.xsl"
|
20
20
|
else
|
21
|
-
docxml
|
21
|
+
docxml.at(ns("//bibdata/ext/session/*")) ?
|
22
22
|
"un.plenary-attachment.xsl" : "un.recommendation.xsl"
|
23
23
|
end
|
24
24
|
end
|
@@ -192,8 +192,7 @@ module Metanorma
|
|
192
192
|
end
|
193
193
|
|
194
194
|
def para_to_clause(xmldoc)
|
195
|
-
|
196
|
-
%w(plenary agenda budgetary).include?(doctype) or
|
195
|
+
%w(plenary agenda budgetary).include?(@doctype) or
|
197
196
|
para_to_clause1(xmldoc)
|
198
197
|
end
|
199
198
|
|
data/lib/metanorma/un/version.rb
CHANGED
data/metanorma-un.gemspec
CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_dependency "roman-numerals"
|
32
32
|
spec.add_dependency "twitter_cldr"
|
33
33
|
|
34
|
-
spec.add_dependency "metanorma-standoc", "~> 2.
|
34
|
+
spec.add_dependency "metanorma-standoc", "~> 2.6.0"
|
35
35
|
|
36
36
|
spec.add_development_dependency "debug"
|
37
37
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-un
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iso-639
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.
|
61
|
+
version: 2.6.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.
|
68
|
+
version: 2.6.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: debug
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|