metanorma-csd 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/csd/converter.rb +0 -1
- data/lib/asciidoctor/csd.rb +0 -2
- data/lib/isodoc/csd/html/header.html +1 -1
- data/lib/isodoc/csd/html/word_csd_intro.html +26 -10
- data/lib/isodoc/csd/metadata.rb +7 -5
- data/lib/metanorma/csd/processor.rb +1 -1
- data/lib/metanorma/csd/version.rb +5 -0
- data/lib/metanorma-csd.rb +1 -1
- data/metanorma-csd.gemspec +2 -2
- metadata +3 -3
- data/lib/asciidoctor/csd/version.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3babdd82a2ba14b27acef8c2fae81aa8cfa1e13e3593c110d6ae729aab3cffc9
|
4
|
+
data.tar.gz: 1359410d9a5ebb955608519cdae0a3c076ae5f61a08bb198dddcdad8d793860e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea0e3a111a5b78b1252c31ad4add9396a4fdd962da14f1c7e00f80e17197dbc7ffe76930b0805238caf04d8165f727de7655179d1819fca9eae0bc3eb6792fd1
|
7
|
+
data.tar.gz: 2fd1b20fbc3a79aa2ef042a8748a1df3ddfdc879c1115be9ca92a8daaf5568f15dd6c3aca02e868be2b25eada2cf68c87dbb913eb86a982cc27f5ff101383bdf
|
data/lib/asciidoctor/csd.rb
CHANGED
@@ -66,7 +66,7 @@ normal'><span lang=EN-GB><span style='mso-special-character:footnote-continuatio
|
|
66
66
|
<div style='mso-element:header' id=eh1>
|
67
67
|
|
68
68
|
<p class=MsoHeader align=left style='text-align:left;line-height:12.0pt;
|
69
|
-
mso-line-height-rule:exactly'><span lang=EN-GB>
|
69
|
+
mso-line-height-rule:exactly'><span lang=EN-GB>CC {{ docnumber }}:{{ docyear }}</span></p>
|
70
70
|
|
71
71
|
</div>
|
72
72
|
|
@@ -1,14 +1,30 @@
|
|
1
|
-
<div
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
<div class="copyright">
|
2
|
+
<p class="year">
|
3
|
+
© {{ docyear }} The Calendaring and Scheduling Consortium, Inc.
|
4
|
+
</p>
|
5
|
+
|
6
|
+
<p class="message">
|
7
|
+
All rights reserved. Unless otherwise specified, no part of this
|
8
|
+
publication may be reproduced or utilized otherwise in any form or by any
|
9
|
+
means, electronic or mechanical, including photocopying, or posting on the
|
10
|
+
internet or an intranet, without prior written permission. Permission can
|
11
|
+
be requested from the address below.
|
12
|
+
</p>
|
13
|
+
|
14
|
+
<div class="contact-info">
|
15
|
+
<p class="name">The Calendaring and Scheduling Consortium, Inc.</p>
|
16
|
+
<p class="address">
|
17
|
+
4390 Chaffin Lane<br />
|
18
|
+
McKinleyville<br />
|
19
|
+
California 95519<br />
|
20
|
+
United States of America<br />
|
21
|
+
<br />
|
22
|
+
<a href="mailto:copyright@calconnect.org">copyright@calconnect.org</a><br />
|
23
|
+
<a href="www.calconnect.org">www.calconnect.org</a>
|
24
|
+
</p>
|
25
|
+
</div>
|
26
|
+
</div>
|
5
27
|
|
6
|
-
<p class="zzCopyright" align="left" style='margin-top:2.0pt;margin-right:0cm;
|
7
|
-
margin-bottom:12.0pt;margin-left:0cm;text-align:left;page-break-before:always;
|
8
|
-
mso-layout-grid-align:none;text-autospace:none;border:none;mso-border-top-alt:
|
9
|
-
solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;mso-border-right-alt:
|
10
|
-
solid windowtext .5pt;padding:0cm;mso-padding-alt:1.0pt 4.0pt 0cm 4.0pt'><span
|
11
|
-
lang="EN-GB" style='color:windowtext'>© {{ agency }} {{ docyear }}.<o:p></o:p></span></p>
|
12
28
|
|
13
29
|
</div>
|
14
30
|
|
data/lib/isodoc/csd/metadata.rb
CHANGED
@@ -28,11 +28,11 @@ module IsoDoc
|
|
28
28
|
def docid(isoxml, _out)
|
29
29
|
docnumber = isoxml.at(ns("//bibdata/docidentifier"))
|
30
30
|
docstatus = isoxml.at(ns("//bibdata/status"))
|
31
|
-
dn = docnumber&.text
|
31
|
+
dn = docnumber&.text || "???"
|
32
32
|
if docstatus
|
33
33
|
set(:status, status_print(docstatus.text))
|
34
34
|
abbr = status_abbr(docstatus.text)
|
35
|
-
dn
|
35
|
+
dn += "/#{abbr}" unless abbr.empty?
|
36
36
|
end
|
37
37
|
set(:docnumber, dn)
|
38
38
|
end
|
@@ -43,9 +43,11 @@ module IsoDoc
|
|
43
43
|
|
44
44
|
def status_abbr(status)
|
45
45
|
case status
|
46
|
-
when "working-draft" then "
|
47
|
-
when "committee-draft" then "
|
48
|
-
when "draft-standard" then "
|
46
|
+
when "working-draft" then "WD"
|
47
|
+
when "committee-draft" then "CD"
|
48
|
+
when "draft-standard" then "DS"
|
49
|
+
when "final-draft" then "FDS"
|
50
|
+
# when "published" then ""
|
49
51
|
else
|
50
52
|
""
|
51
53
|
end
|
data/lib/metanorma-csd.rb
CHANGED
@@ -3,7 +3,7 @@ require_relative "asciidoctor/csd/converter"
|
|
3
3
|
require_relative "isodoc/csd/html_convert"
|
4
4
|
require_relative "isodoc/csd/word_convert"
|
5
5
|
require_relative "isodoc/csd/pdf_convert"
|
6
|
-
require_relative "
|
6
|
+
require_relative "metanorma/csd/version"
|
7
7
|
|
8
8
|
if defined? Metanorma
|
9
9
|
require_relative "metanorma/csd"
|
data/metanorma-csd.gemspec
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
lib = File.expand_path("../lib", __FILE__)
|
2
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
require "
|
3
|
+
require "metanorma/csd/version"
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "metanorma-csd"
|
7
|
-
spec.version =
|
7
|
+
spec.version = Metanorma::Csd::VERSION
|
8
8
|
spec.authors = ["Ribose Inc."]
|
9
9
|
spec.email = ["open.source@ribose.com"]
|
10
10
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-csd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-standoc
|
@@ -223,7 +223,6 @@ files:
|
|
223
223
|
- lib/asciidoctor/csd/isodoc.rng
|
224
224
|
- lib/asciidoctor/csd/isostandard.rng
|
225
225
|
- lib/asciidoctor/csd/pdf.js
|
226
|
-
- lib/asciidoctor/csd/version.rb
|
227
226
|
- lib/isodoc/csd/html/csd.scss
|
228
227
|
- lib/isodoc/csd/html/dots-w@2x.png
|
229
228
|
- lib/isodoc/csd/html/dots@2x.png
|
@@ -243,6 +242,7 @@ files:
|
|
243
242
|
- lib/metanorma-csd.rb
|
244
243
|
- lib/metanorma/csd.rb
|
245
244
|
- lib/metanorma/csd/processor.rb
|
245
|
+
- lib/metanorma/csd/version.rb
|
246
246
|
- metanorma-csd.gemspec
|
247
247
|
homepage: https://github.com/riboseinc/metanorma-csd
|
248
248
|
licenses:
|