metanorma-csa 1.4.7 → 1.4.8

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: f30dc6ed72f59de15dd2720ddf4c7dc18a976a4825e3332ad0e18a13a2634286
4
- data.tar.gz: 686eda5fa9008e118befce71de3a4a3c7c8a8cfba9a7aef859711a6e56b20696
3
+ metadata.gz: 49ee0bf63630b9acfea0fd2a9e3b91e1a2e50f215516cd8fc2ff1df5aea39bc9
4
+ data.tar.gz: 4adbad5301f92a84b2841232d7c47c2210b0a8232b22facf842d2156bc3b3ded
5
5
  SHA512:
6
- metadata.gz: 197e3aafd07735a0932816560a9654b0953298684be5495cfcc8e66371fc8ea7788adf097b853e312b8f7864734d03b49d6ee3b63bc81c0709f1396caac98c67
7
- data.tar.gz: 36f524fabcc2561cbb8544e176f7ea50e100bb3994bb6d2729e915238624ce3a646237f3e37afa95ab0fdc39b00aaea20e76822f997014c8c6ec4f248bdabc06
6
+ metadata.gz: 4fa8862f64df460d861796f1e3ee8221cf3dfabfc7637880a7f8b07ae2e0a2aacbe97773b0c78f0d096e7acffd3202128b6654bc4f4d054038710a3708ee2129
7
+ data.tar.gz: db9a193ba45327ed58cd1c764b8d48871b3a01e9512457c0ce80741844d0776d3babae7c1fc5ebe9337030110d1fff7e13bd1ec77e022fa865d572e548523250
@@ -1,12 +1,11 @@
1
- # Auto-generated !!! Do not edit it manually
2
- # use ci-master https://github.com/metanorma/metanorma-build-scripts
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
3
  name: macos
4
4
 
5
5
  on:
6
6
  push:
7
7
  branches: [ master ]
8
8
  pull_request:
9
- branches: [ '**' ]
10
9
 
11
10
  jobs:
12
11
  test-macos:
@@ -1,12 +1,11 @@
1
- # Auto-generated !!! Do not edit it manually
2
- # use ci-master https://github.com/metanorma/metanorma-build-scripts
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
3
  name: ubuntu
4
4
 
5
5
  on:
6
6
  push:
7
7
  branches: [ master ]
8
8
  pull_request:
9
- branches: [ '**' ]
10
9
 
11
10
  jobs:
12
11
  test-linux:
@@ -25,7 +24,7 @@ jobs:
25
24
  architecture: 'x64'
26
25
  - name: Update gems
27
26
  run: |
28
- gem install bundler
27
+ gem install bundler
29
28
  bundle install --jobs 4 --retry 3
30
29
  - name: Use Node
31
30
  uses: actions/setup-node@v1
@@ -1,12 +1,11 @@
1
- # Auto-generated !!! Do not edit it manually
2
- # use ci-master https://github.com/metanorma/metanorma-build-scripts
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
3
  name: windows
4
4
 
5
5
  on:
6
6
  push:
7
7
  branches: [ master ]
8
8
  pull_request:
9
- branches: [ '**' ]
10
9
 
11
10
  jobs:
12
11
  test-windows:
@@ -26,7 +25,7 @@ jobs:
26
25
  - name: Update gems
27
26
  shell: pwsh
28
27
  run: |
29
- gem install bundler
28
+ gem install bundler
30
29
  bundle config --local path vendor/bundle
31
30
  bundle update
32
31
  bundle install --jobs 4 --retry 3
@@ -80,4 +80,6 @@ $ gem install metanorma-csa
80
80
 
81
81
  See https://www.metanorma.com/author/csa/[Author Cloud Security Alliance documents with Metanorma-CSAND].
82
82
 
83
+ == Examples
83
84
 
85
+ See https://github.com/metanorma/mn-samples-csa for sample documents.
@@ -703,21 +703,11 @@
703
703
  </define>
704
704
  <define name="TypedTitleString">
705
705
  <optional>
706
- <attribute name="type">
707
- <ref name="TitleType"/>
708
- </attribute>
706
+ <attribute name="type"/>
709
707
  </optional>
710
708
  <ref name="FormattedString"/>
711
709
  </define>
712
- <define name="TitleType">
713
- <choice>
714
- <value>alternative</value>
715
- <value>original</value>
716
- <value>unofficial</value>
717
- <value>subtitle</value>
718
- <value>main</value>
719
- </choice>
720
- </define>
710
+ <!-- TitleType = ( "alternative" | "original" | "unofficial" | "subtitle" | "main" ) -->
721
711
  <define name="TypedUri">
722
712
  <optional>
723
713
  <attribute name="type"/>
@@ -105,7 +105,7 @@ module Asciidoctor
105
105
  pdf_converter(node).convert filename unless node.attr('nodoc')
106
106
  word_converter(node).convert filename unless node.attr('nodoc')
107
107
  end
108
- @log.write(@filename + ".err") unless @novalid
108
+ @log.write(@localdir + @filename + ".err") unless @novalid
109
109
  @files_to_delete.each { |f| FileUtils.rm f }
110
110
  ret
111
111
  end
@@ -101,9 +101,7 @@
101
101
  <ref name="structuredidentifier"/>
102
102
  </zeroOrMore>
103
103
  </define>
104
- <define name="TitleType">
105
- <text/>
106
- </define>
104
+ <!-- TitleType = text -->
107
105
  <define name="sections">
108
106
  <element name="sections">
109
107
  <oneOrMore>
@@ -79,9 +79,10 @@ nav {
79
79
  */
80
80
 
81
81
  .document-type-band {
82
- @include docBand(2, 100%, 180px);
83
- &> :first-child {
84
- height: 120px;
82
+ @include docBand($order: 2, $offset: 180px);
83
+
84
+ .document-type {
85
+ top: 20px;
85
86
  }
86
87
  }
87
88
 
@@ -92,7 +93,6 @@ nav {
92
93
  }
93
94
  }
94
95
 
95
- p.document-type,
96
96
  p.document-stage {
97
97
  @include docBandTitle(120px);
98
98
  }
@@ -7,7 +7,7 @@ module IsoDoc
7
7
  # A {Converter} implementation that generates CSA output, and a document
8
8
  # schema encapsulation of the document for validation
9
9
  class Metadata < IsoDoc::Metadata
10
- def initialize(lang, script, labels)
10
+ def initialize(lang, script, labels)
11
11
  super
12
12
  end
13
13
 
@@ -24,6 +24,7 @@ module IsoDoc
24
24
  set(:tc, "XXXX")
25
25
  tc = isoxml.at(ns("//bibdata/ext/editorialgroup/committee"))
26
26
  set(:tc, tc.text) if tc
27
+ super
27
28
  end
28
29
 
29
30
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Metanorma
4
4
  module Csa
5
- VERSION = '1.4.7'
5
+ VERSION = '1.4.8'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-csa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.7
4
+ version: 1.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-20 00:00:00.000000000 Z
11
+ date: 2020-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities