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.
File without changes
@@ -1,9 +1,9 @@
1
1
  require "nokogiri"
2
2
  require "metanorma-generic"
3
3
 
4
- module Asciidoctor
4
+ module Metanorma
5
5
  module CC
6
- class Converter < Asciidoctor::Generic::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
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module CC
3
- VERSION = "1.8.2".freeze
3
+ VERSION = "2.0.0".freeze
4
4
  end
5
5
  end
data/lib/metanorma-cc.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require "asciidoctor" unless defined? Asciidoctor::Converter
2
- require_relative "asciidoctor/cc/converter"
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", "~> 1.11.0"
31
+ spec.add_dependency "metanorma-generic", "~> 2.0.0"
32
32
 
33
- spec.add_development_dependency "byebug", "~> 9.1"
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/asciidoctor/cc/cc.rng
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: 1.8.2
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: 2021-11-15 00:00:00.000000000 Z
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: 1.11.0
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: 1.11.0
26
+ version: 2.0.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: byebug
28
+ name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '9.1'
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: '9.1'
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.22
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.
@@ -1,5 +0,0 @@
1
- module Asciidoctor
2
- module CC
3
- # Your code goes here...
4
- end
5
- end