relaton-render 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc-yaml/i18n-de.yaml +3 -3
- data/lib/relaton/render/fields/fields.rb +2 -3
- data/lib/relaton/render/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: ebc09b5ba249f21667afb066c537b845ecb2975f1b7b6ff821ee82deb44c1993
|
4
|
+
data.tar.gz: b45b8aa2962240f827e383349ac38f82b136448c1a89b1eddefb643cb09b9762
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2de33b5a9ca5e1801e748b4ce4e24719408ef9bddaf098cf036f370efa64f486cc068834e89a03bd239a72f4a5698c4f5899dac2c9e509b6bca19ea0fadb1a53
|
7
|
+
data.tar.gz: 3937395483e26150b79d9373f4b816bc6e710e5f7a482792ba399f2c515256e1816c8efa511c765743da98ac7d8e719f02117259b0a4b860e4a8b7ec358cbcff
|
@@ -13,9 +13,9 @@ date_formats:
|
|
13
13
|
day_month_year: to_long_s
|
14
14
|
date_time: to_long_s
|
15
15
|
draft: "Entwurf %"
|
16
|
-
edition_ordinal: "%
|
16
|
+
edition_ordinal: "% Ausg."
|
17
17
|
ordinal_keys: []
|
18
|
-
edition:
|
18
|
+
edition: Ausgabe
|
19
19
|
editor:
|
20
20
|
sg: Hrsg.
|
21
21
|
pl: Hrsg.
|
@@ -44,6 +44,6 @@ size:
|
|
44
44
|
sg: "% Nr."
|
45
45
|
pl: "% Nr."
|
46
46
|
inflection:
|
47
|
-
|
47
|
+
Ausgabe:
|
48
48
|
gender: f
|
49
49
|
|
@@ -115,9 +115,8 @@ module Relaton
|
|
115
115
|
end
|
116
116
|
|
117
117
|
def editionformat(edn, num)
|
118
|
-
|
119
|
-
|
120
|
-
ret = edition_translate1(num || edn.to_i)
|
118
|
+
num || /^\d+$/.match?(edn) or return edn
|
119
|
+
ret = edition_translate1(num || edn.to_i) or return edn
|
121
120
|
@r.edition_ordinal.sub(/%(Spellout|Ordinal)?/, ret)
|
122
121
|
end
|
123
122
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-render
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.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: 2023-
|
11
|
+
date: 2023-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|