metanorma-taste 0.1.1 → 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.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -14
  3. data/README.adoc +24 -1
  4. data/data/csa/boilerplate.adoc +35 -0
  5. data/data/csa/config.yaml +61 -0
  6. data/data/csa/csa.scss +782 -0
  7. data/data/csa/csa.standard.xsl +14595 -0
  8. data/data/csa/header.html +246 -0
  9. data/data/csa/html_csa_intro.html +7 -0
  10. data/data/csa/html_csa_titlepage.html +94 -0
  11. data/data/csa/htmlstyle.scss +820 -0
  12. data/data/csa/i18n-en.yaml +10 -0
  13. data/data/csa/logo.svg +1 -0
  14. data/data/csa/metanorma.yml +70 -0
  15. data/data/csa/word_csa_intro.html +11 -0
  16. data/data/csa/word_csa_titlepage.html +75 -0
  17. data/data/csa/wordstyle.scss +1343 -0
  18. data/data/elf/config.yaml +1 -0
  19. data/data/enosema/config.yaml +1 -0
  20. data/data/icc/config.yaml +5 -0
  21. data/data/icc/copyright.adoc +10 -5
  22. data/data/icc/htmlcoverpage.html +18 -0
  23. data/data/icc/htmlstylesheet-override.scss +14 -0
  24. data/data/icc/icc-full.emf +0 -0
  25. data/data/icc/icc-small.emf +0 -0
  26. data/data/pdfa/config.yaml +36 -0
  27. data/data/pdfa/copyright-de.adoc +39 -0
  28. data/data/pdfa/copyright.adoc +45 -0
  29. data/data/pdfa/coverpage.pdf +0 -0
  30. data/data/pdfa/htmlcoverpage.html +18 -0
  31. data/data/pdfa/htmlstylesheet-override.scss +14 -0
  32. data/data/pdfa/i18n.yaml +13 -0
  33. data/data/pdfa/inside-cover.pdf +0 -0
  34. data/data/pdfa/pdfa-logo.emf +0 -0
  35. data/data/pdfa/pdfa-logo.svg +1 -0
  36. data/data/pdfa/pdfa.xsl +251 -0
  37. data/data/swf/config.yaml +18 -0
  38. data/data/swf/copyright.adoc +29 -0
  39. data/data/swf/i18n.yaml +3 -0
  40. data/data/swf/swf-full.svg +1 -0
  41. data/data/swf/swf-icon.svg +1 -0
  42. data/data/swf/swf-logo.pdf +3590 -13
  43. data/lib/metanorma/taste/base.rb +28 -0
  44. data/lib/metanorma/taste/base_override.rb +37 -0
  45. data/lib/metanorma/taste/stage_config.rb +20 -0
  46. data/lib/metanorma/taste/taste_config.rb +30 -0
  47. data/lib/metanorma/taste/version.rb +1 -1
  48. data/lib/metanorma/taste_register.rb +18 -0
  49. data/metanorma-taste.gemspec +20 -0
  50. metadata +304 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ef00e42b85547e125b2a4fc021ecb9b9fc42c5f4ec5535c536b4b1cf7c6e9fd
4
- data.tar.gz: 96dca7b1f86bab29bb496302ce4bf75900234ccec17da76bdb5fd911a79cd8cb
3
+ metadata.gz: 93ec554922c0639b8d8145f5719df4b2bafdf898f97cefce58a8300a29637583
4
+ data.tar.gz: 77ac6c4cae4af665e6100a4822d79b3b42fa67cd7f6b3ca0a4b203957013d303
5
5
  SHA512:
6
- metadata.gz: 9e8cdc3982f9e70b3e376ef7bfe3902253058751a1fded487a805a922454ae78ddd0cd5723b8ff2c69626916e2dc4bece54206fcb40e0cfa666ffc2ab86cdd5c
7
- data.tar.gz: 0beabd2954ffa0188978915cdcd70bb9a4c22ddc188d6b9c34aaed3e366bb357801960210364a4dc32e8abdb8ab30c55c57bf66807ae5eb729d23ee56cd64ea4
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
- gem "debug"
6
- gem "equivalent-xml", "~> 0.6"
7
- gem "metanorma"
8
- gem "metanorma-iso"
9
- gem "mnconvert"
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
@@ -9,7 +9,8 @@ image:https://img.shields.io/github/commits-since/metanorma/metanorma-taste/late
9
9
 
10
10
  === Overview
11
11
 
12
- A **Metanorma Taste** is a lightweight, configuration-only customization of an existing Metanorma flavor.
12
+ A **Metanorma Taste** is a lightweight, configuration-only customization of an
13
+ existing Metanorma flavor.
13
14
 
14
15
  Unlike a full Metanorma flavor, a taste does not define its own document
15
16
  structure, validation rules, or processing logic. Instead, it provides
@@ -163,6 +164,10 @@ currently available:
163
164
  |`iso`
164
165
  |Enosema specifications and standards with Enosema branding and copyright
165
166
 
167
+ |`csa`
168
+ |Cloud Security Alliance
169
+ |`cc`
170
+ |Cloud Security Alliance specifications and standards with CSA branding and copyright
166
171
  |===
167
172
 
168
173
 
@@ -219,9 +224,27 @@ copyright-notice: string # Path to boilerplate file (e.g., "copyright.adoc"),
219
224
  # copyright, license, legal, and feedback notices
220
225
  i18n-dictionary: string # Path to internationalization dictionary (e.g., "i18n.yaml")
221
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
222
240
  base-override: # Hash of document attributes to override from base flavor
223
241
  publisher: string # Publisher name override
224
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)
225
248
  presentation-metadata-*: # Template style attributes for presentation
226
249
  doctypes: # Array of doctypes built over base flavour doctypes
227
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