metanorma-csa 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/macos.yml +38 -0
  3. data/.github/workflows/ubuntu.yml +38 -0
  4. data/.github/workflows/windows.yml +41 -0
  5. data/.gitignore +8 -0
  6. data/.hound.yml +3 -0
  7. data/.rubocop.yml +10 -0
  8. data/CODE_OF_CONDUCT.md +74 -0
  9. data/Gemfile +11 -0
  10. data/LICENSE +25 -0
  11. data/README.adoc +83 -0
  12. data/Rakefile +6 -0
  13. data/bin/console +14 -0
  14. data/bin/rspec +18 -0
  15. data/bin/setup +8 -0
  16. data/lib/asciidoctor/csa.rb +5 -0
  17. data/lib/asciidoctor/csa/basicdoc.rng +1045 -0
  18. data/lib/asciidoctor/csa/biblio.rng +1142 -0
  19. data/lib/asciidoctor/csa/converter.rb +150 -0
  20. data/lib/asciidoctor/csa/csa.rng +101 -0
  21. data/lib/asciidoctor/csa/isodoc.rng +514 -0
  22. data/lib/asciidoctor/csa/isostandard.rng +860 -0
  23. data/lib/asciidoctor/csa/reqt.rng +171 -0
  24. data/lib/asciidoctor/csa/validate.rb +21 -0
  25. data/lib/isodoc/csa/base_convert.rb +43 -0
  26. data/lib/isodoc/csa/html/csa-logo-white.png +0 -0
  27. data/lib/isodoc/csa/html/csa.png +0 -0
  28. data/lib/isodoc/csa/html/csa.scss +700 -0
  29. data/lib/isodoc/csa/html/dots-w@2x.png +0 -0
  30. data/lib/isodoc/csa/html/dots@2x.png +0 -0
  31. data/lib/isodoc/csa/html/header.html +186 -0
  32. data/lib/isodoc/csa/html/html_csa_intro.html +8 -0
  33. data/lib/isodoc/csa/html/html_csa_titlepage.html +89 -0
  34. data/lib/isodoc/csa/html/htmlstyle.scss +1129 -0
  35. data/lib/isodoc/csa/html/scripts.html +74 -0
  36. data/lib/isodoc/csa/html/scripts.pdf.html +72 -0
  37. data/lib/isodoc/csa/html/word_csa_intro.html +33 -0
  38. data/lib/isodoc/csa/html/word_csa_titlepage.html +76 -0
  39. data/lib/isodoc/csa/html/wordstyle.scss +1136 -0
  40. data/lib/isodoc/csa/html_convert.rb +58 -0
  41. data/lib/isodoc/csa/metadata.rb +50 -0
  42. data/lib/isodoc/csa/pdf_convert.rb +63 -0
  43. data/lib/isodoc/csa/word_convert.rb +41 -0
  44. data/lib/metanorma-csa.rb +11 -0
  45. data/lib/metanorma/csa.rb +7 -0
  46. data/lib/metanorma/csa/processor.rb +46 -0
  47. data/lib/metanorma/csa/version.rb +7 -0
  48. data/metanorma-csa.gemspec +52 -0
  49. metadata +348 -0
@@ -0,0 +1,58 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'base_convert'
4
+ require 'isodoc'
5
+
6
+ module IsoDoc
7
+ module Csa
8
+ # A {Converter} implementation that generates CSA output, and a document
9
+ # schema encapsulation of the document for validation
10
+ class HtmlConvert < IsoDoc::HtmlConvert
11
+ def initialize(options)
12
+ @libdir = File.dirname(__FILE__)
13
+ super
14
+ end
15
+
16
+ def default_fonts(options)
17
+ is_hans = options[:script] == 'Hans'
18
+ {
19
+ bodyfont: (is_hans ? '"SimSun",serif' : '"Source Sans Pro",sans-serif'),
20
+ headerfont: (is_hans ? '"SimHei",sans-serif'
21
+ : '"Source Sans Pro",sans-serif'),
22
+ monospacefont: '"Space Mono",monospace'
23
+ }
24
+ end
25
+
26
+ def default_file_locations(options)
27
+ {
28
+ htmlstylesheet: html_doc_path('htmlstyle.scss'),
29
+ htmlcoverpage: html_doc_path('html_csa_titlepage.html'),
30
+ htmlintropage: html_doc_path('html_csa_intro.html'),
31
+ scripts: html_doc_path('scripts.html')
32
+ }
33
+ end
34
+
35
+ def googlefonts()
36
+ <<~HEAD.freeze
37
+ <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i|Space+Mono:400,700" rel="stylesheet">
38
+ <link href="https://fonts.googleapis.com/css?family=Rubik:300,300i,500" rel="stylesheet">
39
+ <link href="https://fonts.googleapis.com/css?family=Overpass:100,300,300i,600,900" rel="stylesheet">
40
+ <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,700,900" rel="stylesheet">
41
+ HEAD
42
+ end
43
+
44
+ def make_body(xml, docxml)
45
+ body_attr = { lang: 'EN-US', link: 'blue', vlink: '#954F72',
46
+ 'xml:lang': 'EN-US', class: 'container' }
47
+ xml.body **body_attr do |body|
48
+ make_body1(body, docxml)
49
+ make_body2(body, docxml)
50
+ make_body3(body, docxml)
51
+ end
52
+ end
53
+
54
+ include BaseConvert
55
+ end
56
+ end
57
+ end
58
+
@@ -0,0 +1,50 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'isodoc'
4
+
5
+ module IsoDoc
6
+ module Csa
7
+ # A {Converter} implementation that generates CSA output, and a document
8
+ # schema encapsulation of the document for validation
9
+ class Metadata < IsoDoc::Metadata
10
+ def initialize(lang, script, labels)
11
+ super
12
+ end
13
+
14
+ def title(isoxml, _out)
15
+ main = isoxml&.at(ns("//bibdata/title[@language='en']"))&.text
16
+ set(:doctitle, main)
17
+ end
18
+
19
+ def subtitle(_isoxml, _out)
20
+ nil
21
+ end
22
+
23
+ def author(isoxml, _out)
24
+ set(:tc, "XXXX")
25
+ tc = isoxml.at(ns("//bibdata/ext/editorialgroup/committee"))
26
+ set(:tc, tc.text) if tc
27
+ end
28
+
29
+
30
+ def docid(isoxml, _out)
31
+ docnumber = isoxml.at(ns("//bibdata/docidentifier[@type = 'csa']"))
32
+ set(:docnumber, docnumber&.text)
33
+ end
34
+
35
+ def status_abbr(status)
36
+ case status
37
+ when "working-draft" then "wd"
38
+ when "committee-draft" then "cd"
39
+ when "draft-standard" then "d"
40
+ else
41
+ ""
42
+ end
43
+ end
44
+
45
+ def unpublished(status)
46
+ !%w(published withdrawn).include? status.downcase
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,63 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'base_convert'
4
+ require 'isodoc'
5
+
6
+ module IsoDoc
7
+ module Csa
8
+ # A {Converter} implementation that generates CSA output, and a document
9
+ # schema encapsulation of the document for validation
10
+ class PdfConvert < IsoDoc::PdfConvert
11
+ def initialize(options)
12
+ @libdir = File.dirname(__FILE__)
13
+ super
14
+ end
15
+
16
+ def default_fonts(options)
17
+ is_hans = options[:script] == 'Hans'
18
+
19
+ {
20
+ bodyfont: is_hans ? '"SimSun",serif' : '"Source Sans Pro",sans-serif',
21
+ headerfont: (is_hans ? '"SimHei",sans-serif'
22
+ : '"Source Sans Pro",sans-serif'),
23
+ monospacefont: '"Space Mono",monospace'
24
+ }
25
+ end
26
+
27
+ def default_file_locations(options)
28
+ {
29
+ htmlstylesheet: html_doc_path('htmlstyle.scss'),
30
+ htmlcoverpage: html_doc_path('html_csa_titlepage.html'),
31
+ htmlintropage: html_doc_path('html_csa_intro.html'),
32
+ scripts_pdf: html_doc_path('scripts.pdf.html')
33
+ }
34
+ end
35
+
36
+ def googlefonts()
37
+ <<~HEAD.freeze
38
+ <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i|Space+Mono:400,700" rel="stylesheet">
39
+ <link href="https://fonts.googleapis.com/css?family=Rubik:300,300i,500" rel="stylesheet">
40
+ <link href="https://fonts.googleapis.com/css?family=Overpass:100,300,300i,600,900" rel="stylesheet">
41
+ <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,700,900" rel="stylesheet">
42
+ HEAD
43
+ end
44
+
45
+ def make_body(xml, docxml)
46
+ body_attr = { lang: 'EN-US', link: 'blue', vlink: '#954F72',
47
+ 'xml:lang': 'EN-US', class: 'container' }
48
+ xml.body **body_attr do |body|
49
+ make_body1(body, docxml)
50
+ make_body2(body, docxml)
51
+ make_body3(body, docxml)
52
+ end
53
+ end
54
+
55
+ def html_toc(docxml)
56
+ docxml
57
+ end
58
+
59
+ include BaseConvert
60
+ end
61
+ end
62
+ end
63
+
@@ -0,0 +1,41 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'base_convert'
4
+ require 'isodoc'
5
+
6
+ module IsoDoc
7
+ module Csa
8
+ # A {Converter} implementation that generates CSA output, and a document
9
+ # schema encapsulation of the document for validation
10
+ class WordConvert < IsoDoc::WordConvert
11
+ def initialize(options)
12
+ @libdir = File.dirname(__FILE__)
13
+ super
14
+ end
15
+
16
+ def default_fonts(options)
17
+ is_hans = options[:script] == 'Hans'
18
+
19
+ {
20
+ bodyfont: (is_hans ? '"SimSun",serif' : '"Arial",sans-serif'),
21
+ headerfont: (is_hans ? '"SimHei",sans-serif' : '"Arial",sans-serif'),
22
+ monospacefont: '"Courier New",monospace'
23
+ }
24
+ end
25
+
26
+ def default_file_locations(options)
27
+ {
28
+ wordstylesheet: html_doc_path('wordstyle.scss'),
29
+ standardstylesheet: html_doc_path('csa.scss'),
30
+ header: html_doc_path('header.html'),
31
+ wordcoverpage: html_doc_path('word_csa_titlepage.html'),
32
+ wordintropage: html_doc_path('word_csa_intro.html'),
33
+ ulstyle: 'l3',
34
+ olstyle: 'l2'
35
+ }
36
+ end
37
+
38
+ include BaseConvert
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,11 @@
1
+ require 'asciidoctor' unless defined? Asciidoctor::Converter
2
+ require_relative 'asciidoctor/csa/converter'
3
+ require_relative 'isodoc/csa/html_convert'
4
+ require_relative 'isodoc/csa/pdf_convert'
5
+ require_relative 'isodoc/csa/word_convert'
6
+ require_relative 'metanorma/csa/version'
7
+
8
+ if defined? Metanorma
9
+ require_relative 'metanorma/csa'
10
+ Metanorma::Registry.instance.register(Metanorma::Csa::Processor)
11
+ end
@@ -0,0 +1,7 @@
1
+ require_relative 'csa/processor'
2
+
3
+ module Metanorma
4
+ module Csa
5
+
6
+ end
7
+ end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'metanorma/processor'
4
+ require 'asciidoctor/csa/converter'
5
+
6
+ module Metanorma
7
+ module Csa
8
+ class Processor < Metanorma::Processor
9
+
10
+ def initialize
11
+ @short = :csa
12
+ @input_format = :asciidoc
13
+ @asciidoctor_backend = Asciidoctor::Csa::CSA_TYPE.to_sym
14
+ end
15
+
16
+ def output_formats
17
+ super.merge(
18
+ html: 'html',
19
+ doc: 'doc',
20
+ pdf: 'pdf'
21
+ )
22
+ end
23
+
24
+ def version
25
+ "Metanorma::Csa #{Metanorma::Csa::VERSION}"
26
+ end
27
+
28
+ def input_to_isodoc(file, filename)
29
+ Metanorma::Input::Asciidoc.new.process(file, filename, @asciidoctor_backend)
30
+ end
31
+
32
+ def output(isodoc_node, outname, format, options={})
33
+ case format
34
+ when :html
35
+ IsoDoc::Csa::HtmlConvert.new(options).convert(outname, isodoc_node)
36
+ when :doc
37
+ IsoDoc::Csa::WordConvert.new(options).convert(outname, isodoc_node)
38
+ when :pdf
39
+ IsoDoc::Csa::PdfConvert.new(options).convert(outname, isodoc_node)
40
+ else
41
+ super
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Metanorma
4
+ module Csa
5
+ VERSION = '1.4.0'
6
+ end
7
+ end
@@ -0,0 +1,52 @@
1
+ lib = File.expand_path("../lib", __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "metanorma/csa/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "metanorma-csa"
7
+ spec.version = Metanorma::Csa::VERSION
8
+ spec.authors = ["Ribose Inc."]
9
+ spec.email = ["open.source@ribose.com"]
10
+
11
+ spec.summary = "metanorma-csa lets you write CSA Normal Documents (CSAND) in AsciiDoc."
12
+ spec.description = <<~DESCRIPTION
13
+ metanorma-csa lets you write CSA Normal Documents (CSAND) in AsciiDoc syntax.
14
+
15
+ This gem is in active development.
16
+
17
+ Formerly known as asciidoctor-csa.
18
+ DESCRIPTION
19
+
20
+ spec.homepage = "https://github.com/metanorma/metanorma-csa"
21
+ spec.license = "BSD-2-Clause"
22
+
23
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
24
+ f.match(%r{^(test|spec|features)/})
25
+ end
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
30
+
31
+ spec.add_dependency "htmlentities", "~> 4.3.4"
32
+ spec.add_dependency "image_size"
33
+ spec.add_dependency "mime-types"
34
+ #spec.add_dependency "nokogiri"
35
+ spec.add_dependency "ruby-jing"
36
+ spec.add_dependency "thread_safe"
37
+ spec.add_dependency "uuidtools"
38
+
39
+ spec.add_dependency "metanorma-standoc", "~> 1.3.0"
40
+ spec.add_dependency "isodoc", "~> 1.0.0"
41
+
42
+ spec.add_development_dependency "byebug", "~> 9.1"
43
+ spec.add_development_dependency "equivalent-xml", "~> 0.6"
44
+ spec.add_development_dependency "guard", "~> 2.14"
45
+ spec.add_development_dependency "guard-rspec", "~> 4.7"
46
+ spec.add_development_dependency "rake", "~> 12.0"
47
+ spec.add_development_dependency "rspec", "~> 3.6"
48
+ spec.add_development_dependency "rubocop", "= 0.54.0"
49
+ spec.add_development_dependency "simplecov", "~> 0.15"
50
+ spec.add_development_dependency "timecop", "~> 0.9"
51
+ spec.add_development_dependency "metanorma", "~> 0.3.12"
52
+ end
metadata ADDED
@@ -0,0 +1,348 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: metanorma-csa
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.0
5
+ platform: ruby
6
+ authors:
7
+ - Ribose Inc.
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-01-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: htmlentities
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 4.3.4
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 4.3.4
27
+ - !ruby/object:Gem::Dependency
28
+ name: image_size
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: mime-types
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: ruby-jing
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: thread_safe
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: uuidtools
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: metanorma-standoc
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 1.3.0
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 1.3.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: isodoc
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 1.0.0
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 1.0.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: byebug
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '9.1'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '9.1'
139
+ - !ruby/object:Gem::Dependency
140
+ name: equivalent-xml
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0.6'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '0.6'
153
+ - !ruby/object:Gem::Dependency
154
+ name: guard
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '2.14'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '2.14'
167
+ - !ruby/object:Gem::Dependency
168
+ name: guard-rspec
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '4.7'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '4.7'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rake
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '12.0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '12.0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: rspec
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '3.6'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: '3.6'
209
+ - !ruby/object:Gem::Dependency
210
+ name: rubocop
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - '='
214
+ - !ruby/object:Gem::Version
215
+ version: 0.54.0
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - '='
221
+ - !ruby/object:Gem::Version
222
+ version: 0.54.0
223
+ - !ruby/object:Gem::Dependency
224
+ name: simplecov
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: '0.15'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: '0.15'
237
+ - !ruby/object:Gem::Dependency
238
+ name: timecop
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: '0.9'
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: '0.9'
251
+ - !ruby/object:Gem::Dependency
252
+ name: metanorma
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - "~>"
256
+ - !ruby/object:Gem::Version
257
+ version: 0.3.12
258
+ type: :development
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - "~>"
263
+ - !ruby/object:Gem::Version
264
+ version: 0.3.12
265
+ description: |
266
+ metanorma-csa lets you write CSA Normal Documents (CSAND) in AsciiDoc syntax.
267
+
268
+ This gem is in active development.
269
+
270
+ Formerly known as asciidoctor-csa.
271
+ email:
272
+ - open.source@ribose.com
273
+ executables: []
274
+ extensions: []
275
+ extra_rdoc_files: []
276
+ files:
277
+ - ".github/workflows/macos.yml"
278
+ - ".github/workflows/ubuntu.yml"
279
+ - ".github/workflows/windows.yml"
280
+ - ".gitignore"
281
+ - ".hound.yml"
282
+ - ".rubocop.yml"
283
+ - CODE_OF_CONDUCT.md
284
+ - Gemfile
285
+ - LICENSE
286
+ - README.adoc
287
+ - Rakefile
288
+ - bin/console
289
+ - bin/rspec
290
+ - bin/setup
291
+ - lib/asciidoctor/csa.rb
292
+ - lib/asciidoctor/csa/basicdoc.rng
293
+ - lib/asciidoctor/csa/biblio.rng
294
+ - lib/asciidoctor/csa/converter.rb
295
+ - lib/asciidoctor/csa/csa.rng
296
+ - lib/asciidoctor/csa/isodoc.rng
297
+ - lib/asciidoctor/csa/isostandard.rng
298
+ - lib/asciidoctor/csa/reqt.rng
299
+ - lib/asciidoctor/csa/validate.rb
300
+ - lib/isodoc/csa/base_convert.rb
301
+ - lib/isodoc/csa/html/csa-logo-white.png
302
+ - lib/isodoc/csa/html/csa.png
303
+ - lib/isodoc/csa/html/csa.scss
304
+ - lib/isodoc/csa/html/dots-w@2x.png
305
+ - lib/isodoc/csa/html/dots@2x.png
306
+ - lib/isodoc/csa/html/header.html
307
+ - lib/isodoc/csa/html/html_csa_intro.html
308
+ - lib/isodoc/csa/html/html_csa_titlepage.html
309
+ - lib/isodoc/csa/html/htmlstyle.scss
310
+ - lib/isodoc/csa/html/scripts.html
311
+ - lib/isodoc/csa/html/scripts.pdf.html
312
+ - lib/isodoc/csa/html/word_csa_intro.html
313
+ - lib/isodoc/csa/html/word_csa_titlepage.html
314
+ - lib/isodoc/csa/html/wordstyle.scss
315
+ - lib/isodoc/csa/html_convert.rb
316
+ - lib/isodoc/csa/metadata.rb
317
+ - lib/isodoc/csa/pdf_convert.rb
318
+ - lib/isodoc/csa/word_convert.rb
319
+ - lib/metanorma-csa.rb
320
+ - lib/metanorma/csa.rb
321
+ - lib/metanorma/csa/processor.rb
322
+ - lib/metanorma/csa/version.rb
323
+ - metanorma-csa.gemspec
324
+ homepage: https://github.com/metanorma/metanorma-csa
325
+ licenses:
326
+ - BSD-2-Clause
327
+ metadata: {}
328
+ post_install_message:
329
+ rdoc_options: []
330
+ require_paths:
331
+ - lib
332
+ required_ruby_version: !ruby/object:Gem::Requirement
333
+ requirements:
334
+ - - ">="
335
+ - !ruby/object:Gem::Version
336
+ version: 2.4.0
337
+ required_rubygems_version: !ruby/object:Gem::Requirement
338
+ requirements:
339
+ - - ">="
340
+ - !ruby/object:Gem::Version
341
+ version: '0'
342
+ requirements: []
343
+ rubyforge_project:
344
+ rubygems_version: 2.7.6
345
+ signing_key:
346
+ specification_version: 4
347
+ summary: metanorma-csa lets you write CSA Normal Documents (CSAND) in AsciiDoc.
348
+ test_files: []