metanorma-ieee 1.2.9 → 1.2.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -138,8 +138,8 @@ module IsoDoc
138
138
  end
139
139
 
140
140
  def feedback_style(docxml)
141
- docxml.at("//div[@class = 'boilerplate-feedback']")&.xpath("./div")
142
- &.each_with_index do |div, i|
141
+ f = docxml.at("//div[@class = 'boilerplate-feedback']") or return
142
+ f.xpath("./div").each_with_index do |div, i|
143
143
  i.zero? or div.elements.first.previous = "<p>&#xa0;</p>"
144
144
  i == 4 and
145
145
  div.xpath(".//p[br]").each do |p|
@@ -182,6 +182,7 @@ module IsoDoc
182
182
  if f = docxml.at("//div[@class = 'abstract']")
183
183
  f.previous_element.remove
184
184
  abstract_cleanup1(f, dest)
185
+ abstract_header(dest)
185
186
  f.remove
186
187
  elsif f = docxml.at("//div[@type = 'scope']")
187
188
  abstract_cleanup1(f, dest)
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module IEEE
3
- VERSION = "1.2.9".freeze
3
+ VERSION = "1.2.11".freeze
4
4
  end
5
5
  end
@@ -23,9 +23,9 @@ Gem::Specification.new do |spec|
23
23
  spec.bindir = "exe"
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ["lib"]
26
- spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
26
+ spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")
27
27
 
28
- spec.add_dependency "metanorma-standoc", "~> 2.8.4"
28
+ spec.add_dependency "metanorma-standoc", "~> 2.9.0"
29
29
  spec.add_dependency "mnconvert", "~> 1.20"
30
30
  spec.add_dependency "pubid"
31
31
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ieee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.9
4
+ version: 1.2.11
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-06-03 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-standoc
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.8.4
19
+ version: 2.9.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: 2.8.4
26
+ version: 2.9.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mnconvert
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -333,7 +333,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
333
333
  requirements:
334
334
  - - ">="
335
335
  - !ruby/object:Gem::Version
336
- version: 2.7.0
336
+ version: 3.1.0
337
337
  required_rubygems_version: !ruby/object:Gem::Requirement
338
338
  requirements:
339
339
  - - ">="