isodoc 2.12.2 → 2.12.3

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: 30063a7d69417bee799a6e513cb30a21d9c9cf88cdbb80a363bef79c838f67d5
4
+ data.tar.gz: fa0af3cd1ab696ce85149f0887f06e69c8d1190a902bd67891979cb6a53ee93e
5
5
  SHA512:
6
- metadata.gz: f1837352724ea2d81646db5a1f499f19ec1f6c84eace5906cd7ae795e6be9fa156e6de43bfa7ecef4ecc4149e7ec4c30c052e64687b1d5f3d8b2ef1b0dfa292e
7
- data.tar.gz: 5996acc46b47b24285d1d696d203a16255a69e67a8c25690213afa41d7fe65b02464e26e4db6516b5b3edf020a5222fc342691f0c13b1861d4a436390ea93655
6
+ metadata.gz: '0282678a13b6a8027c563c441d2b2bf17e71cef27db296a8f227bdbc09b9996ca1458a61d3e972d6f6327ba65995ce4c1af094cc25c19c9c430ba42726ba4d76'
7
+ data.tar.gz: 91e15265573da4a24b6b4e04081ffe220ac1c5d48fe498b506c7f9d52d743cbc8a82ec230e77afae34becea0f8fced0801ccb6da6b1540ea9aca8705b4759e3b
@@ -1,3 +1,3 @@
1
1
  module IsoDoc
2
- VERSION = "2.12.2".freeze
2
+ VERSION = "2.12.3".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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.