metanorma-bipm 2.5.3 → 2.5.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,10 @@
1
1
  require "metanorma/processor"
2
2
 
3
3
  module Metanorma
4
- module BIPM
4
+ module Bipm
5
5
  class Processor < Metanorma::Generic::Processor
6
6
  def configuration
7
- Metanorma::BIPM.configuration
7
+ Metanorma::Bipm.configuration
8
8
  end
9
9
 
10
10
  def output_formats
@@ -15,20 +15,20 @@ module Metanorma
15
15
  end
16
16
 
17
17
  def version
18
- "Metanorma::BIPM #{Metanorma::BIPM::VERSION}"
18
+ "Metanorma::Bipm #{Metanorma::Bipm::VERSION}"
19
19
  end
20
20
 
21
21
  def output(isodoc_node, inname, outname, format, options = {})
22
22
  options_preprocess(options)
23
23
  case format
24
24
  when :html
25
- IsoDoc::BIPM::HtmlConvert.new(options)
25
+ IsoDoc::Bipm::HtmlConvert.new(options)
26
26
  .convert(inname, isodoc_node, nil, outname)
27
27
  when :presentation
28
- IsoDoc::BIPM::PresentationXMLConvert.new(options)
28
+ IsoDoc::Bipm::PresentationXMLConvert.new(options)
29
29
  .convert(inname, isodoc_node, nil, outname)
30
30
  when :pdf
31
- IsoDoc::BIPM::PdfConvert.new(options)
31
+ IsoDoc::Bipm::PdfConvert.new(options)
32
32
  .convert(inname, isodoc_node, nil, outname)
33
33
  else
34
34
  super
@@ -54,6 +54,7 @@
54
54
  <optional>
55
55
  <ref name="docsubtype"/>
56
56
  </optional>
57
+ <ref name="flavor"/>
57
58
  <ref name="editorialgroup"/>
58
59
  <optional>
59
60
  <ref name="comment-period"/>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
- module BIPM
3
- VERSION = "2.5.3".freeze
2
+ module Bipm
3
+ VERSION = "2.5.5".freeze
4
4
  end
5
5
  end
@@ -4,7 +4,7 @@ require "metanorma/bipm/processor"
4
4
  require "metanorma/bipm/converter"
5
5
 
6
6
  module Metanorma
7
- module BIPM
7
+ module Bipm
8
8
  def self.fonts_used
9
9
  {
10
10
  html: ["Times New Roman", "STIX", "Courier New"],
@@ -37,4 +37,4 @@ module Metanorma
37
37
  configure {}
38
38
  end
39
39
  end
40
- Metanorma::Registry.instance.register(Metanorma::BIPM::Processor)
40
+ Metanorma::Registry.instance.register(Metanorma::Bipm::Processor)
@@ -7,5 +7,5 @@ require "asciidoctor" unless defined? Asciidoctor::Converter
7
7
 
8
8
  if defined? Metanorma::Registry
9
9
  require_relative "metanorma/bipm"
10
- Metanorma::Registry.instance.register(Metanorma::BIPM::Processor)
10
+ Metanorma::Registry.instance.register(Metanorma::Bipm::Processor)
11
11
  end
@@ -2,7 +2,7 @@ require "relaton-render"
2
2
 
3
3
  module Relaton
4
4
  module Render
5
- module BIPM
5
+ module Bipm
6
6
  class General < ::Relaton::Render::IsoDoc::General
7
7
  def config_loc
8
8
  YAML.load_file(File.join(File.dirname(__FILE__), "config.yml"))
@@ -1,6 +1,6 @@
1
1
  module Relaton
2
2
  module Render
3
- module BIPM
3
+ module Bipm
4
4
  class Parse < ::Relaton::Render::Parse
5
5
  def simple_or_host_xml2hash(doc, host)
6
6
  ret = super
@@ -4,7 +4,7 @@ require "metanorma/bipm/version"
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "metanorma-bipm"
7
- spec.version = Metanorma::BIPM::VERSION
7
+ spec.version = Metanorma::Bipm::VERSION
8
8
  spec.authors = ["Ribose Inc."]
9
9
  spec.email = ["open.source@ribose.com"]
10
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-bipm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.3
4
+ version: 2.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-30 00:00:00.000000000 Z
11
+ date: 2024-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic