metanorma-iho 0.2.15 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,11 +40,10 @@ module IsoDoc
40
40
  i.increment(c)
41
41
  annex_names(c, i.print)
42
42
  end
43
- i = Counter.new("@")
43
+ i = Counter.new("@", skip_i: true)
44
44
  docxml.xpath(ns("//annex[not(@obligation = 'informative')]")).
45
45
  each do |c|
46
46
  i.increment(c)
47
- i.increment(c) if i.print == "I"
48
47
  annex_names(c, i.print)
49
48
  end
50
49
  end
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module IHO
3
- VERSION = "0.2.15"
3
+ VERSION = "0.3.3".freeze
4
4
  end
5
5
  end
@@ -1,4 +1,4 @@
1
- lib = File.expand_path("../lib", __FILE__)
1
+ lib = File.expand_path("lib", __dir__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
  require "metanorma/iho/version"
4
4
 
@@ -27,16 +27,16 @@ Gem::Specification.new do |spec|
27
27
  spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
28
28
 
29
29
  spec.add_dependency "htmlentities", "~> 4.3.4"
30
- spec.add_dependency 'metanorma-generic', '~> 1.9.0'
30
+ spec.add_dependency "metanorma-generic", "~> 1.10.0"
31
31
 
32
32
  spec.add_development_dependency "byebug", "~> 9.1"
33
- spec.add_development_dependency "sassc", "2.4.0"
34
33
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
35
34
  spec.add_development_dependency "guard", "~> 2.14"
36
35
  spec.add_development_dependency "guard-rspec", "~> 4.7"
37
36
  spec.add_development_dependency "rake", "~> 13.0"
38
37
  spec.add_development_dependency "rspec", "~> 3.6"
39
- spec.add_development_dependency "rubocop", "= 0.54.0"
38
+ spec.add_development_dependency "rubocop", "~> 1.5.2"
39
+ spec.add_development_dependency "sassc", "2.4.0"
40
40
  spec.add_development_dependency "simplecov", "~> 0.15"
41
41
  spec.add_development_dependency "timecop", "~> 0.9"
42
42
  end
data/metanorma.yml CHANGED
@@ -61,5 +61,8 @@ termsdefs_titles:
61
61
  - Definitions and terminology
62
62
  - Terms and definitions
63
63
  - Terms, definitions and abbreviations
64
+ - Terms, definitions and symbols
65
+ - Terms, definitions and abbreviated terms
66
+ - Terms, definitions, symbols and abbreviated terms
64
67
  normref_titles:
65
68
  - References
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iho
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.15
4
+ version: 0.3.3
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-03-16 00:00:00.000000000 Z
11
+ date: 2021-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.9.0
33
+ version: 1.10.0
34
34
  type: :runtime
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: 1.9.0
40
+ version: 1.10.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: byebug
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '9.1'
55
- - !ruby/object:Gem::Dependency
56
- name: sassc
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - '='
60
- - !ruby/object:Gem::Version
61
- version: 2.4.0
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - '='
67
- - !ruby/object:Gem::Version
68
- version: 2.4.0
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: equivalent-xml
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -138,18 +124,32 @@ dependencies:
138
124
  version: '3.6'
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: rubocop
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 1.5.2
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 1.5.2
139
+ - !ruby/object:Gem::Dependency
140
+ name: sassc
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: 0.54.0
145
+ version: 2.4.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - '='
151
151
  - !ruby/object:Gem::Version
152
- version: 0.54.0
152
+ version: 2.4.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: simplecov
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -189,6 +189,7 @@ extensions: []
189
189
  extra_rdoc_files: []
190
190
  files:
191
191
  - ".github/workflows/rake.yml"
192
+ - ".gitignore"
192
193
  - ".rubocop.yml"
193
194
  - CODE_OF_CONDUCT.md
194
195
  - Gemfile