metanorma-un 0.10.10 → 0.10.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,56 @@
1
+ == copyright-statement
2
+ === {blank}
3
+
4
+ [[boilerplate-ECEhdr]]
5
+ ECE/TRADE/437
6
+
7
+ Copyright © United Nations {{ docyear }} +
8
+ All rights reserved worldwide +
9
+ United Nations publication issued by the Economic Commission for Europe
10
+
11
+ == license-statement
12
+ === {blank}
13
+ None of the materials provided on this web site may be used,
14
+ reproduced or transmitted, in whole or in part, in any form or by any
15
+ means, electronic or mechanical, including photocopying, recording or
16
+ the use of any information storage and retrieval system, except as
17
+ provided for in the Terms and Conditions of Use of United Nations Web
18
+ Sites, without permission in writing from the publisher.
19
+
20
+ News-related material can be used as long as the appropriate credit is given and the United Nations is advised.
21
+
22
+ To request such permission or for further enquires, please visit:
23
+ https://shop.un.org/rights-permissions[United Nations Publications: Rights and Permissions.]
24
+
25
+ == legal-statement
26
+ === {blank}
27
+ ==== Note
28
+ The designations employed and the presentation of the material in this publication do not imply the expression of any opinion whatsoever on the part of the Secretariat of the United Nations concerning the legal status of any country, territory, city or area, or of its authorities, or concerning the delimitation of its frontiers or boundaries.
29
+
30
+ {% if tc == "United Nations Centre for Trade Facilitation and Electronic Business (UN/CEFACT)" %}
31
+ ==== <title>{{tc}}pass:[<br/>]Simple, Transparent and Effective Processes for Global Commerce
32
+
33
+ UN/CEFACT's mission is to improve the ability of business, trade and administrative organizations, from developed, developing and transitional economies, to exchange products and relevant services effectively. Its principal focus is on facilitating national and international transactions, through the simplification and harmonization of processes, procedures and information flows, and so contribute to the growth of global commerce.
34
+
35
+ Participation in UN/CEFACT is open to experts from United Nations Member States, Intergovernmental Organizations and Non-Governmental Organizations recognised by the United Nations Economic and Social Council (ECOSOC). Through this participation of government and business representatives from around the world, UN/CEFACT has developed a range of trade facilitation and e-business standards, recommendations and tools that are approved within a broad intergovernmental process and implemented globally.
36
+
37
+ [align="center"]
38
+ *www.unece.org/cefact*
39
+ {% endif %}
40
+
41
+ == feedback-statement
42
+ [[boilerplate-feedback-name]]
43
+ {% if subdivision %}{{subdivision}}{% else %}UN Economic Commission for Europe: Information Service{% endif %}
44
+
45
+ [[boilerplate-feedback-address]]
46
+ {% if pub_address %}{{ pub_address }}{% else %}
47
+ Palais des Nations +
48
+ CH-1211 Geneva 10 +
49
+ Switzerland{% endif %} +
50
+ +
51
+ +++<link target="tel:{% if pub_phone %}{{ pub_phone }}{% else %}+41(0)229171234{% endif %}">{% if pub_phone %}{{ pub_phone }}{% else %}+41 (0) 22 917 12 34 (switchboard){% endif %}</link>+++ +
52
+ {% if pub_fax %}+++<link target="tel:{{pub_fax}}">{{pub_fax}}+++ +{% endif %}
53
+ +++<link target="mailto:{% if pub_email %}{{ pub_email }}{% else %}unece_info@un.org{% endif %}">{% if pub_email %}{{ pub_email }}{% else %}unece_info@un.org{% endif %}+++ +
54
+ +++<link target="{% if pub_uri %}{{pub_uri}}{% else %}https://www.unece.org/{% endif %}">{% if pub_uri %}{{pub_uri}}{% else %}www.unece.org/{% endif %}</link>+++
55
+
56
+
@@ -15,6 +15,10 @@ module Metanorma
15
15
  "United Nations"
16
16
  end
17
17
 
18
+ def boilerplate_file(_xmldoc)
19
+ File.join(@libdir, "boilerplate.adoc")
20
+ end
21
+
18
22
  def metadata_committee(node, xml)
19
23
  return unless node.attr("committee")
20
24
 
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module UN
3
- VERSION = "0.10.10".freeze
3
+ VERSION = "0.10.12".freeze
4
4
  end
5
5
  end
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.10.10
4
+ version: 0.10.12
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-06-05 00:00:00.000000000 Z
11
+ date: 2023-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iso-639
@@ -258,7 +258,7 @@ files:
258
258
  - lib/metanorma/un/basicdoc.rng
259
259
  - lib/metanorma/un/biblio-standoc.rng
260
260
  - lib/metanorma/un/biblio.rng
261
- - lib/metanorma/un/boilerplate.xml
261
+ - lib/metanorma/un/boilerplate.adoc
262
262
  - lib/metanorma/un/converter.rb
263
263
  - lib/metanorma/un/input.rb
264
264
  - lib/metanorma/un/isodoc.rng
@@ -1,59 +0,0 @@
1
- <boilerplate>
2
- <copyright-statement>
3
- <clause>
4
- <p id="boilerplate-ECEhdr">ECE/TRADE/437</p>
5
- <p>Copyright © United Nations {{ docyear }}<br/>
6
- All rights reserved worldwide<br/>
7
- United Nations publication issued by the Economic Commission for Europe</p>
8
- </clause>
9
- </copyright-statement>
10
- <license-statement>
11
- <clause>
12
- <p>None of the materials provided on this web site may be used,
13
- reproduced or transmitted, in whole or in part, in any form or by any
14
- means, electronic or mechanical, including photocopying, recording or
15
- the use of any information storage and retrieval system, except as
16
- provided for in the Terms and Conditions of Use of United Nations Web
17
- Sites, without permission in writing from the publisher.</p>
18
-
19
- <p>News-related material can be used as long as the appropriate credit is given and the United Nations is advised.</p>
20
- <p>To request such permission or for further enquires, please visit:
21
- <link target="https://shop.un.org/rights-permissions">United Nations Publications: Rights and Permissions.</link></p>
22
- </clause>
23
- </license-statement>
24
- <legal-statement>
25
- <clause>
26
- <clause>
27
- <title>Note</title>
28
- <p>The designations employed and the presentation of the material in this publication do not imply the expression of any opinion whatsoever on the part of the Secretariat of the United Nations concerning the legal status of any country, territory, city or area, or of its authorities, or concerning the delimitation of its frontiers or boundaries.</p>
29
- </clause>
30
-
31
- {% if tc == "United Nations Centre for Trade Facilitation and Electronic Business (UN/CEFACT)" %}
32
- <clause>
33
- <title>{{tc}}<br/>Simple, Transparent and Effective Processes for Global Commerce</title>
34
- <p>UN/CEFACT's mission is to improve the ability of business, trade and administrative organizations, from developed, developing and transitional economies, to exchange products and relevant services effectively. Its principal focus is on facilitating national and international transactions, through the simplification and harmonization of processes, procedures and information flows, and so contribute to the growth of global commerce.</p>
35
- <p>Participation in UN/CEFACT is open to experts from United Nations Member States, Intergovernmental Organizations and Non-Governmental Organizations recognised by the United Nations Economic and Social Council (ECOSOC). Through this participation of government and business representatives from around the world, UN/CEFACT has developed a range of trade facilitation and e-business standards, recommendations and tools that are approved within a broad intergovernmental process and implemented globally.</p>
36
- <p align="center"><strong>www.unece.org/cefact</strong></p>
37
- </clause>
38
- {% endif %}
39
- </clause>
40
- </legal-statement>
41
- <feedback-statement>
42
- <clause>
43
- <p id="boilerplate-feedback-name">{% if subdivision %}{{subdivision}}{% else %}UN Economic Commission for Europe: Information Service{% endif %}</p>
44
- <p id="boilerplate-feedback-address">
45
- {% if pub_address %}{{ pub_address }}{% else %}
46
- Palais des Nations<br />
47
- CH-1211 Geneva 10<br />
48
- Switzerland{% endif %}<br />
49
- <br />
50
- <link target="tel:{% if pub_phone %}{{ pub_phone }}{% else %}+41(0)229171234{% endif %}">{% if pub_phone %}{{ pub_phone }}{% else %}+41 (0) 22 917 12 34 (switchboard){% endif %}</link><br />
51
- {% if pub_fax %}<link target="tel:{{pub_fax}}">{{pub_fax}}</link><br/>{% endif %}
52
- <link target="mailto:{% if pub_email %}{{ pub_email }}{% else %}unece_info@un.org{% endif %}">{% if pub_email %}{{ pub_email }}{% else %}unece_info@un.org{% endif %}</link><br />
53
- <link target="{% if pub_uri %}{{pub_uri}}{% else %}https://www.unece.org/{% endif %}">{% if pub_uri %}{{pub_uri}}{% else %}www.unece.org/{% endif %}</link>
54
- </p>
55
- </clause>
56
- </feedback-statement>
57
- </boilerplate>
58
-
59
-