metanorma-iec 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
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.4.2
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-11-15 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
@@ -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