metanorma-iec 1.3.13 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/spec/spec_helper.rb CHANGED
@@ -27,7 +27,7 @@ end
27
27
 
28
28
  def metadata(xml)
29
29
  xml.sort.to_h.delete_if do |_k, v|
30
- v.nil? || v.respond_to?(:empty?) && v.empty?
30
+ v.nil? || (v.respond_to?(:empty?) && v.empty?)
31
31
  end
32
32
  end
33
33
 
@@ -105,16 +105,15 @@ VALIDATING_BLANK_HDR = <<~"HDR".freeze
105
105
  HDR
106
106
 
107
107
  TERMS_BOILERPLATE = <<~"BOILERPLATE".freeze
108
- <p id="_">ISO and IEC maintain terminological databases for use in
109
- standardization at the following addresses:</p>
110
- #{' '}
111
- <ul id="_">
112
- <li> <p id="_">IEC Electropedia: available at
113
- <link target="http://www.electropedia.org"/>
114
- </p> </li>#{' '}
115
- <li> <p id="_">ISO Online browsing platform: available at
116
- <link target="http://www.iso.org/obp"/></p> </li>
117
- </ul>
108
+ <p id="_">ISO and IEC maintain terminological databases for use in
109
+ standardization at the following addresses:</p>
110
+ <ul id="_">
111
+ <li> <p id="_">IEC Electropedia: available at
112
+ <link target="http://www.electropedia.org"/>
113
+ </p> </li>
114
+ <li> <p id="_">ISO Online browsing platform: available at
115
+ <link target="http://www.iso.org/obp"/></p> </li>
116
+ </ul>
118
117
  BOILERPLATE
119
118
 
120
119
  def boilerplate(xmldoc)
@@ -169,7 +168,6 @@ BLANK_HDR = <<~"HDR".freeze
169
168
  </copyright>
170
169
  <ext>
171
170
  <doctype>article</doctype>
172
- <horizontal>false</horizontal>
173
171
  <editorialgroup>
174
172
  <technical-committee/>
175
173
  <subcommittee/>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.13
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-11 00:00:00.000000000 Z
11
+ date: 2021-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-iso
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.9.0
19
+ version: 1.10.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.9.0
26
+ version: 1.10.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby-jing
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: byebug
42
+ name: debug
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.2.0
103
+ version: 0.3.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.2.0
110
+ version: 0.3.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rake
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -298,7 +298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
298
298
  - !ruby/object:Gem::Version
299
299
  version: '0'
300
300
  requirements: []
301
- rubygems_version: 3.1.4
301
+ rubygems_version: 3.2.22
302
302
  signing_key:
303
303
  specification_version: 4
304
304
  summary: metanorma-iec lets you write IEC standards in AsciiDoc.