metanorma-gb 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/appveyor.yml +1 -0
- data/lib/isodoc/gb/gbbaseconvert.rb +3 -1
- data/lib/metanorma/gb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 502289adfb4acad2a7e4f2822371c906b71757688f6625b33af0a16d664e4d63
|
4
|
+
data.tar.gz: 42e5b4cec6e333c486c3ef3a0a821b9d84b593e3399eebc7382803a2c5beb328
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c09d9310acf0f5c23768b0e164df35e4fa701ef14db205eb48365ae77ad69a5e84f9d87d395b5f7f90b8ebbacf84143e2043362ec3294a45959de27c775384f5
|
7
|
+
data.tar.gz: 352a3967223f72c5c7aaacc893428fabaa467b8f8c832188c477d0124229866092007645a6bc10ffb48755e3e1974abdea64ea9fdabd8d61c01a21ce88737d7c
|
data/.travis.yml
CHANGED
data/appveyor.yml
CHANGED
@@ -164,8 +164,10 @@ module IsoDoc
|
|
164
164
|
end
|
165
165
|
|
166
166
|
def termref_render(x)
|
167
|
+
x.sub!(%r{\s*\[MODIFICATION\]\s*$}m, l10n(", #{@modified_lbl}"))
|
167
168
|
parts = x.split(%r{(\s*\[MODIFICATION\]|,)}m)
|
168
|
-
parts[1] = l10n(", #{@source_lbl}") if parts.size > 1 && parts[1] == ","
|
169
|
+
parts[1] = l10n(", #{@source_lbl}") if parts.size > 1 && parts[1] == "," &&
|
170
|
+
!/^\s*#{@modified_lbl}/.match(parts[2])
|
169
171
|
parts.map do |p|
|
170
172
|
/\s*\[MODIFICATION\]/.match(p) ? l10n(", #{@modified_lbl} — ") : p
|
171
173
|
end.join.sub(/\A\s*/m, l10n("[")).sub(/\s*\z/m, l10n("]"))
|
data/lib/metanorma/gb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-gb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.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: 2019-07-
|
11
|
+
date: 2019-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-iso
|