isodoc 2.12.2 → 2.12.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4eb3b494f63d18c01a41db1113867423729b62912dc89c002bccf7bd5b5e10e9
4
- data.tar.gz: 665fa84ece67866381fa3c71c41a04e57f231de95143fee235f157ffbe61daf8
3
+ metadata.gz: 9cce87f92a79d85949dd4045c6f0aa3ffbfc756e40b1009c5da7b22debc155ed
4
+ data.tar.gz: 9898a5ac1334fe15046908628ece00b8b1aa7010419c62d70a2cee3a3ee70974
5
5
  SHA512:
6
- metadata.gz: f1837352724ea2d81646db5a1f499f19ec1f6c84eace5906cd7ae795e6be9fa156e6de43bfa7ecef4ecc4149e7ec4c30c052e64687b1d5f3d8b2ef1b0dfa292e
7
- data.tar.gz: 5996acc46b47b24285d1d696d203a16255a69e67a8c25690213afa41d7fe65b02464e26e4db6516b5b3edf020a5222fc342691f0c13b1861d4a436390ea93655
6
+ metadata.gz: 8887270801615a50b39b308644976166136265d602a8e2f700f674d98d7dca2dd9e69e68bd651abdd7b1562b3f2247e3f8ca7e8848f85aabc3e8043ad5597974
7
+ data.tar.gz: ad45cc96bbe912728e721d0e5384cd35be77c0eba4efebd7484cae0fc670595a0c8afa59c437e046f334a1a96ed006ce69d8ac4274d2c3c8ae6892462d630fad
data/isodoc.gemspec CHANGED
@@ -43,6 +43,7 @@ Gem::Specification.new do |spec|
43
43
  spec.add_dependency "thread_safe"
44
44
  spec.add_dependency "twitter_cldr", ">= 6.6.0"
45
45
  spec.add_dependency "uuidtools"
46
+ spec.add_dependency "nokogiri", "<= 1.16.8"
46
47
 
47
48
  spec.add_development_dependency "bigdecimal"
48
49
  spec.add_development_dependency "debug"
@@ -1,3 +1,3 @@
1
1
  module IsoDoc
2
- VERSION = "2.12.2".freeze
2
+ VERSION = "2.12.4".freeze
3
3
  end
@@ -169,7 +169,7 @@ module IsoDoc
169
169
  def recommmendation_sort_key(header)
170
170
  m = /^([^0-9]+) (\d+)/.match(header) || /^([^:]+)/.match(header)
171
171
  m ||= [header, nil]
172
- ret = "#{recommmendation_sort_key1(m[1])}::"
172
+ ret = "#{recommmendation_sort_key1(m[1]&.strip)}::"
173
173
  m[2] and ret += ("%04d" % m[2].to_i).to_s
174
174
  ret
175
175
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.12.2
4
+ version: 2.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
@@ -164,6 +164,20 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: nokogiri
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "<="
172
+ - !ruby/object:Gem::Version
173
+ version: 1.16.8
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "<="
179
+ - !ruby/object:Gem::Version
180
+ version: 1.16.8
167
181
  - !ruby/object:Gem::Dependency
168
182
  name: bigdecimal
169
183
  requirement: !ruby/object:Gem::Requirement