isodoc-i18n 1.3.0 → 1.3.1

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: 877e7b6ea883a3562e7c7d03cba8ebff7edaaf7c75ecf32230985dd628239437
4
- data.tar.gz: 98211e58ba133c1bc89b34547dd7ce475192e929bf2e18f5b065140efff1e186
3
+ metadata.gz: 6a493226eb1d3909813c072e6eb039bf942870364ea9169a7d87655e6c1b121d
4
+ data.tar.gz: 6d1a137d043f845ab789bb4f91566f4a591e2483290415cf148dd63e5b466763
5
5
  SHA512:
6
- metadata.gz: f982a348a685cc311fb7f1d0b65c8a5c474011245a5fbcdda705fd3976bcba0808b868bfdc10cf729263e23a3527afa8b457bdc7f58a34d3b2fe4d0b26baec0e
7
- data.tar.gz: ebf2118816ef33196454bb3b4e31f25609c3efb649c6c38aa4c88b966cb462ad71b7b4776fdb7e50136b1736bc5597a16391302aee316e7609dbf390161469e6
6
+ metadata.gz: 28532f1f816849958ebab11d5028ccf79fd0502f0e480b2208120724d8022c57a26008e5ee1d1e43a64e1ed7084b6a934ebe735d4c7f83f168655858ff9b1e19
7
+ data.tar.gz: 4e8c18209dc6f14af6872fc03dc600e309ad118cc91b554ab13ec45fc6223d4ff8120fb997d9bd67772a9d763a640552a0aaf955785a3ea39bffd4c140dfe4a8
@@ -1,5 +1,5 @@
1
1
  module IsoDoc
2
2
  class I18n
3
- VERSION = "1.3.0".freeze
3
+ VERSION = "1.3.1".freeze
4
4
  end
5
5
  end
data/lib/isodoc/l10n.rb CHANGED
@@ -140,7 +140,7 @@ module IsoDoc
140
140
  def l10n_fr1(text, prev, foll, locale)
141
141
  text = l10n_gsub(text, prev, foll, [/[»›;?!]/, "\u202f\\0"],
142
142
  [/\p{Alnum}$/, /^(\s|$)/])
143
- text = l10n_gsub(text, prev, foll, [/[«‹]/, "\\0\u202f"], [/$/, /^./])
143
+ text = l10n_gsub(text, prev, foll, [/[«‹]/, "\\0\u202f"], [/$/, /^(?!\p{Zs})./])
144
144
  colonsp = locale == "CH" ? "\u202f" : "\u00a0"
145
145
  l10n_gsub(text, prev, foll, [":", "#{colonsp}\\0"],
146
146
  [/\p{Alnum}$/, /^(\s|$)/])
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-08 00:00:00.000000000 Z
11
+ date: 2024-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities