metanorma-cc 1.8.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +4 -32
- data/.gitignore +5 -0
- data/bin/console +1 -1
- data/lib/isodoc/cc/cc.standard.xsl +508 -262
- data/lib/isodoc/cc/html/_coverpage.css +9 -0
- data/lib/isodoc/cc/html/htmlstyle.css +29 -9
- data/lib/isodoc/cc/html/htmlstyle.scss +9 -6
- data/lib/isodoc/cc/html/scripts.html +0 -1
- data/lib/isodoc/cc/html/wordstyle.css +30 -18
- data/lib/isodoc/cc/html/wordstyle.scss +30 -18
- data/lib/{asciidoctor → metanorma}/cc/basicdoc.rng +0 -0
- data/lib/{asciidoctor → metanorma}/cc/biblio.rng +0 -0
- data/lib/{asciidoctor → metanorma}/cc/boilerplate.xml +0 -0
- data/lib/{asciidoctor → metanorma}/cc/cc.rng +0 -0
- data/lib/{asciidoctor → metanorma}/cc/converter.rb +10 -10
- data/lib/{asciidoctor → metanorma}/cc/isodoc.rng +61 -18
- data/lib/{asciidoctor → metanorma}/cc/reqt.rng +0 -0
- data/lib/{asciidoctor → metanorma}/cc/validate_section.rb +2 -2
- data/lib/metanorma/cc/version.rb +1 -1
- data/lib/metanorma-cc.rb +1 -1
- data/metanorma-cc.gemspec +2 -2
- data/metanorma.yml +1 -1
- metadata +18 -19
- data/lib/asciidoctor/cc.rb +0 -5
File without changes
|
@@ -1,9 +1,9 @@
|
|
1
1
|
require "nokogiri"
|
2
2
|
require "metanorma-generic"
|
3
3
|
|
4
|
-
module
|
4
|
+
module Metanorma
|
5
5
|
module CC
|
6
|
-
class Converter <
|
6
|
+
class Converter < Metanorma::Generic::Converter
|
7
7
|
def section_validate(doc)
|
8
8
|
advisory = doc.root.at("//bibdata/ext[doctype = 'advisory']")
|
9
9
|
symbols_validate(doc.root) unless advisory
|
data/lib/metanorma/cc/version.rb
CHANGED
data/lib/metanorma-cc.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require "asciidoctor" unless defined? Asciidoctor::Converter
|
2
|
-
require_relative "
|
2
|
+
require_relative "metanorma/cc/converter"
|
3
3
|
require_relative "isodoc/cc/html_convert"
|
4
4
|
require_relative "isodoc/cc/word_convert"
|
5
5
|
require_relative "isodoc/cc/pdf_convert"
|
data/metanorma-cc.gemspec
CHANGED
@@ -28,9 +28,9 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.require_paths = ["lib"]
|
29
29
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
30
30
|
|
31
|
-
spec.add_dependency "metanorma-generic", "~>
|
31
|
+
spec.add_dependency "metanorma-generic", "~> 2.0.0"
|
32
32
|
|
33
|
-
spec.add_development_dependency "
|
33
|
+
spec.add_development_dependency "debug"
|
34
34
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
35
35
|
spec.add_development_dependency "guard", "~> 2.14"
|
36
36
|
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
data/metanorma.yml
CHANGED
@@ -6,7 +6,7 @@ xml_root_tag: csd-standard
|
|
6
6
|
html_bodyfont: '"Source Sans Pro",sans-serif'
|
7
7
|
html_headerfont: '"Source Sans Pro",sans-serif'
|
8
8
|
html_monospacefont: '"Source Code Pro",monospace'
|
9
|
-
validate_rng_file: lib/
|
9
|
+
validate_rng_file: lib/metanorma/cc/cc.rng
|
10
10
|
htmlcoverpage: lib/isodoc/cc/html/html_cc_titlepage.html
|
11
11
|
htmlintropage: lib/isodoc/cc/html/html_cc_intro.html
|
12
12
|
htmlstylesheet: lib/isodoc/cc/html/htmlstyle.scss
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-cc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: equivalent-xml
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -190,15 +190,6 @@ files:
|
|
190
190
|
- bin/setup
|
191
191
|
- docs/navigation.adoc
|
192
192
|
- docs/quickstart.adoc
|
193
|
-
- lib/asciidoctor/cc.rb
|
194
|
-
- lib/asciidoctor/cc/basicdoc.rng
|
195
|
-
- lib/asciidoctor/cc/biblio.rng
|
196
|
-
- lib/asciidoctor/cc/boilerplate.xml
|
197
|
-
- lib/asciidoctor/cc/cc.rng
|
198
|
-
- lib/asciidoctor/cc/converter.rb
|
199
|
-
- lib/asciidoctor/cc/isodoc.rng
|
200
|
-
- lib/asciidoctor/cc/reqt.rng
|
201
|
-
- lib/asciidoctor/cc/validate_section.rb
|
202
193
|
- lib/isodoc/cc/base_convert.rb
|
203
194
|
- lib/isodoc/cc/cc.standard.xsl
|
204
195
|
- lib/isodoc/cc/html/_coverpage.css
|
@@ -228,7 +219,15 @@ files:
|
|
228
219
|
- lib/isodoc/cc/xref.rb
|
229
220
|
- lib/metanorma-cc.rb
|
230
221
|
- lib/metanorma/cc.rb
|
222
|
+
- lib/metanorma/cc/basicdoc.rng
|
223
|
+
- lib/metanorma/cc/biblio.rng
|
224
|
+
- lib/metanorma/cc/boilerplate.xml
|
225
|
+
- lib/metanorma/cc/cc.rng
|
226
|
+
- lib/metanorma/cc/converter.rb
|
227
|
+
- lib/metanorma/cc/isodoc.rng
|
231
228
|
- lib/metanorma/cc/processor.rb
|
229
|
+
- lib/metanorma/cc/reqt.rng
|
230
|
+
- lib/metanorma/cc/validate_section.rb
|
232
231
|
- lib/metanorma/cc/version.rb
|
233
232
|
- metanorma-cc.gemspec
|
234
233
|
- metanorma.yml
|
@@ -251,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
251
250
|
- !ruby/object:Gem::Version
|
252
251
|
version: '0'
|
253
252
|
requirements: []
|
254
|
-
rubygems_version: 3.2.
|
253
|
+
rubygems_version: 3.2.32
|
255
254
|
signing_key:
|
256
255
|
specification_version: 4
|
257
256
|
summary: metanorma-cc lets you write CalConnect standards in AsciiDoc.
|