metanorma-taste 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +9 -14
- data/README.adoc +22 -0
- data/data/csa/boilerplate.adoc +35 -0
- data/data/csa/config.yaml +61 -0
- data/data/csa/csa.scss +782 -0
- data/data/csa/csa.standard.xsl +14595 -0
- data/data/csa/header.html +246 -0
- data/data/csa/html_csa_intro.html +7 -0
- data/data/csa/html_csa_titlepage.html +94 -0
- data/data/csa/htmlstyle.scss +820 -0
- data/data/csa/i18n-en.yaml +10 -0
- data/data/csa/logo.svg +1 -0
- data/data/csa/metanorma.yml +70 -0
- data/data/csa/word_csa_intro.html +11 -0
- data/data/csa/word_csa_titlepage.html +75 -0
- data/data/csa/wordstyle.scss +1343 -0
- data/data/elf/config.yaml +1 -0
- data/data/enosema/config.yaml +1 -0
- data/data/icc/config.yaml +1 -0
- data/data/icc/icc-full.emf +0 -0
- data/data/icc/icc-small.emf +0 -0
- data/data/pdfa/config.yaml +36 -0
- data/data/pdfa/copyright-de.adoc +39 -0
- data/data/pdfa/copyright.adoc +45 -0
- data/data/pdfa/coverpage.pdf +0 -0
- data/data/pdfa/htmlcoverpage.html +18 -0
- data/data/pdfa/htmlstylesheet-override.scss +14 -0
- data/data/pdfa/i18n.yaml +13 -0
- data/data/pdfa/inside-cover.pdf +0 -0
- data/data/pdfa/pdfa-logo.emf +0 -0
- data/data/pdfa/pdfa-logo.svg +1 -0
- data/data/pdfa/pdfa.xsl +251 -0
- data/data/swf/config.yaml +18 -0
- data/data/swf/copyright.adoc +29 -0
- data/data/swf/i18n.yaml +3 -0
- data/data/swf/swf-full.svg +1 -0
- data/data/swf/swf-icon.svg +1 -0
- data/data/swf/swf-logo.pdf +3590 -13
- data/lib/metanorma/taste/base.rb +17 -2
- data/lib/metanorma/taste/base_override.rb +31 -0
- data/lib/metanorma/taste/stage_config.rb +20 -0
- data/lib/metanorma/taste/taste_config.rb +12 -2
- data/lib/metanorma/taste/version.rb +1 -1
- data/lib/metanorma/taste_register.rb +18 -0
- data/metanorma-taste.gemspec +20 -0
- metadata +302 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93ec554922c0639b8d8145f5719df4b2bafdf898f97cefce58a8300a29637583
|
4
|
+
data.tar.gz: 77ac6c4cae4af665e6100a4822d79b3b42fa67cd7f6b3ca0a4b203957013d303
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0e0ef6772b27117b40bb0a65f3fc3221b1597dfba88720a9ec4148542d590771a6c52ed8020aef07784a7a930d7bae951bac9fd2b924aaad99c7a5b7d9d2e2d
|
7
|
+
data.tar.gz: d7a246f2898f8ad2c0edbc77f27ebd5a03eb801d755102b7306d54e799abbfb86e817560023fa278ec81fa06f204f64aa0fe5398e480297539988f64694960ea
|
data/Gemfile
CHANGED
@@ -1,18 +1,13 @@
|
|
1
|
+
Encoding.default_external = Encoding::UTF_8
|
2
|
+
Encoding.default_internal = Encoding::UTF_8
|
3
|
+
|
1
4
|
source "https://rubygems.org"
|
5
|
+
git_source(:github) { |repo| "https://github.com/#{repo}" }
|
2
6
|
|
3
7
|
gemspec
|
4
8
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
gem "pry"
|
11
|
-
gem "rake", "~> 13.0"
|
12
|
-
gem "rspec", "~> 3.0"
|
13
|
-
gem "rspec-command", "~> 1.0"
|
14
|
-
gem "rubocop", "~> 1"
|
15
|
-
gem "rubocop-performance"
|
16
|
-
gem "sassc-embedded", "~> 1"
|
17
|
-
gem "simplecov", "~> 0.15"
|
18
|
-
gem "xml-c14n"
|
9
|
+
begin
|
10
|
+
eval_gemfile("Gemfile.devel")
|
11
|
+
rescue StandardError
|
12
|
+
nil
|
13
|
+
end
|
data/README.adoc
CHANGED
@@ -164,6 +164,10 @@ currently available:
|
|
164
164
|
|`iso`
|
165
165
|
|Enosema specifications and standards with Enosema branding and copyright
|
166
166
|
|
167
|
+
|`csa`
|
168
|
+
|Cloud Security Alliance
|
169
|
+
|`cc`
|
170
|
+
|Cloud Security Alliance specifications and standards with CSA branding and copyright
|
167
171
|
|===
|
168
172
|
|
169
173
|
|
@@ -220,9 +224,27 @@ copyright-notice: string # Path to boilerplate file (e.g., "copyright.adoc"),
|
|
220
224
|
# copyright, license, legal, and feedback notices
|
221
225
|
i18n-dictionary: string # Path to internationalization dictionary (e.g., "i18n.yaml")
|
222
226
|
publisher-logo: string # Path to publisher logo (e.g., "icc.png")
|
227
|
+
htmlcoverpage: string # HTML output cover page
|
228
|
+
htmlintropage: string # HTML output introductory page
|
229
|
+
htmlstylesheet: string # HTML output CSS stylesheet
|
230
|
+
htmlstylesheet-override: string # HTML output CSS stylesheet, overriding base flavor stylesheet
|
231
|
+
wordcoverpage: string # Word output cover page
|
232
|
+
wordintropage: string # Word output introductory page
|
233
|
+
wordstylesheet: string # Word output CSS stylesheet
|
234
|
+
wordstylesheet-override: string # Word output CSS stylesheet, overriding base flavor stylesheet
|
235
|
+
standardstylesheet: string # Word output secondary CSS stylesheet
|
236
|
+
standardstylesheet-override: string # Word output secondary CSS stylesheet, overriding base flavor stylesheet
|
237
|
+
header: string # Word output header and footer content
|
238
|
+
pdf-stylesheet: string # PDF output XSLT stylesheet
|
239
|
+
pdf-stylesheet-override: string # PDF output XSLT stylesheet, overriding base flavor stylesheet
|
223
240
|
base-override: # Hash of document attributes to override from base flavor
|
224
241
|
publisher: string # Publisher name override
|
225
242
|
publisher_abbr: string # Publisher abbreviation
|
243
|
+
body_font: string # Default font to use in HTML and Word stylesheets
|
244
|
+
header_font: string # Header font to use in HTML and Word stylesheets
|
245
|
+
monospace_font: string # Monospace font to use in HTML and Word stylesheets
|
246
|
+
fonts: string # Comma-delimited listing of fonts to retrieve for the taste from Fontist
|
247
|
+
output-extensions: string # Comma-delimited listing of output formats to support (subset of base flavor's)
|
226
248
|
presentation-metadata-*: # Template style attributes for presentation
|
227
249
|
doctypes: # Array of doctypes built over base flavour doctypes
|
228
250
|
- taste: # taste-specific machine-readable doctype name
|
@@ -0,0 +1,35 @@
|
|
1
|
+
== copyright-statement
|
2
|
+
=== {blank}
|
3
|
+
© {{ docyear }} Cloud Security Alliance, LLC.
|
4
|
+
|
5
|
+
{% if unpublished %}
|
6
|
+
== license-statement
|
7
|
+
=== Warning for Drafts
|
8
|
+
|
9
|
+
This document is not a CSA Standard. It is distributed for review and
|
10
|
+
comment, and is subject to change without notice and may not be referred to as
|
11
|
+
a Standard. Recipients of this draft are invited to submit, with their
|
12
|
+
comments, notification of any relevant patent rights of which they are aware
|
13
|
+
and to provide supporting documentation.
|
14
|
+
{% endif %}
|
15
|
+
|
16
|
+
== legal-statement
|
17
|
+
=== {blank}
|
18
|
+
All rights reserved. Unless otherwise specified, no part of this
|
19
|
+
publication may be reproduced or utilized otherwise in any form or by any
|
20
|
+
means, electronic or mechanical, including photocopying, or posting on the
|
21
|
+
internet or an intranet, without prior written permission. Permission can
|
22
|
+
be requested from the address below.
|
23
|
+
|
24
|
+
== feedback-statement
|
25
|
+
=== {blank}
|
26
|
+
Cloud Security Alliance
|
27
|
+
|
28
|
+
[align="left"]
|
29
|
+
2212 Queen Anne Ave N +
|
30
|
+
Seattle +
|
31
|
+
WA 98109 +
|
32
|
+
United States of America +
|
33
|
+
+
|
34
|
+
copyright@cloudsecurityalliance.com +
|
35
|
+
https://www.cloudsecurityalliance.com[www.cloudsecurityalliance.com]
|
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
flavor: csa
|
3
|
+
owner: Cloud Security Alliance
|
4
|
+
base-flavor: generic
|
5
|
+
customize: metanorma.yml
|
6
|
+
copyright-notice: boilerplate.adoc
|
7
|
+
i18n-dictionary: i18n.yaml
|
8
|
+
publisher-logo: logo.svg
|
9
|
+
htmlcoverpage: html_csa_titlepage.html
|
10
|
+
htmlstylesheet: htmlstyle.scss
|
11
|
+
htmlintropage: html_csa_intro.html
|
12
|
+
wordcoverpage: word_csa_titlepage.html
|
13
|
+
standardstylesheet: csa.scss
|
14
|
+
wordstylesheet: wordstyle.scss
|
15
|
+
wordintropage: word_csa_intro.html
|
16
|
+
header: header.html
|
17
|
+
pdf-stylesheet: csa.standard.xsl
|
18
|
+
base-override:
|
19
|
+
publisher: Cloud Security Alliance
|
20
|
+
publisher_abbr: CSA
|
21
|
+
body-font: Lato,"Source Sans Pro",sans-serif
|
22
|
+
header-font: Lato,"Source Sans Pro",sans-serif
|
23
|
+
monospace-font: '"Source Code Pro",monospace'
|
24
|
+
presentation-metadata-ul-label-list: "•, -, o"
|
25
|
+
presentation_metadata_annex_delim: "<br/>"
|
26
|
+
presentation_metadata_middle_title: ""
|
27
|
+
presentation_metadata_ol_label_template_alphabet_upper: "%<span class='fmt-label-delim'>)</span>"
|
28
|
+
output-extensions: xml,html,pdf,doc
|
29
|
+
doctypes:
|
30
|
+
- taste: standard
|
31
|
+
base: standard
|
32
|
+
- taste: guidance
|
33
|
+
base: guide
|
34
|
+
- taste: proposal
|
35
|
+
base: standard
|
36
|
+
- taste: report
|
37
|
+
base: report
|
38
|
+
- taste: whitepaper
|
39
|
+
base: specification
|
40
|
+
- taste: charter
|
41
|
+
base: directive
|
42
|
+
- taste: policy
|
43
|
+
base: admministrative
|
44
|
+
- taste: glossary
|
45
|
+
base: specification
|
46
|
+
- taste: case-study
|
47
|
+
base: report
|
48
|
+
stages:
|
49
|
+
proposal:
|
50
|
+
working-draft:
|
51
|
+
abbreviation: wd
|
52
|
+
committee-draft:
|
53
|
+
abbreviation: cd
|
54
|
+
draft-standard:
|
55
|
+
abbreviation: d
|
56
|
+
final-draft:
|
57
|
+
published:
|
58
|
+
default: true
|
59
|
+
published: true
|
60
|
+
withdrawn:
|
61
|
+
published: true
|