relaton-render 3.0.0.pre.alpha.33 → 3.0.0.pre.alpha.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/citation-style-pack.adoc +1 -1
- data/lib/relaton/render/iso690/rules.rb +14 -0
- data/lib/relaton/render/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '00382747d147cd5b989c4233a23f0fdaa8bd3e524a6a115d5418819ec0b8924b'
|
|
4
|
+
data.tar.gz: fc17121ece9f630269b54eb2f8729b7878869218dcfdecbc804d1d4a6cdf53c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84031ca7bcbdfd2b34e499a27793bbdbcf0a1ed7f26bc5f6c71a53c647f0f8fbdf4df2f07b27d03210bd44fc78758fbd1b5913e9c21c0d4f7590c00024e001a3
|
|
7
|
+
data.tar.gz: e2fe7991124254b4c4009053070eba05bab6cf520bf79127da9c137f28a35f4fae113a607a567d9876b9997c0d2ccf74a34ba8f5e377f904701f51cdb626d25d
|
|
@@ -289,7 +289,7 @@ is a rule to promote:
|
|
|
289
289
|
|===
|
|
290
290
|
|Flavor override |Becomes rule
|
|
291
291
|
|
|
292
|
-
|`ItuIdentifier`
|
|
292
|
+
|`ItuIdentifier` |**[impl]** promoted: `identifier: itu_identifier`
|
|
293
293
|
|`NistIdentifier`, `NistCreator`, `NistDate`, `SerialDate`, `NistSeries`, `NistComponentPart`, `NistPublisher`, `Draft` |the NIST author-year rule set
|
|
294
294
|
|`IeeeIdentifier`, `IeeeComponentPart`, `IeeeAccess`, `IeeeMedium` |**[impl]** promoted: `ieee_identifier`, `ieee_component_part`, `ieee_access`, `ieee_medium`
|
|
295
295
|
|`BipmCreator`, `BipmComponentPart`, `BipmProduction`, `BipmExtent`, `BipmMedium`, `BipmEdition`, `BipmVolume` |the BIPM rule set
|
|
@@ -93,8 +93,22 @@ module Relaton
|
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
+
# The ITU identifiers: ISBN and ISSN carry their kind label
|
|
97
|
+
# with a colon ("ISBN 92-61-12521-9")
|
|
98
|
+
class ItuIdentifier < Elements::Identifier
|
|
99
|
+
private
|
|
100
|
+
|
|
101
|
+
def render_id(docidentifier)
|
|
102
|
+
return "#{docidentifier.type}: #{docidentifier.content}" if
|
|
103
|
+
%w[ISBN ISSN].include?(docidentifier.type)
|
|
104
|
+
|
|
105
|
+
super
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
96
109
|
REGISTRY = {
|
|
97
110
|
"status_bare" => BareStatus,
|
|
111
|
+
"itu_identifier" => ItuIdentifier,
|
|
98
112
|
"ieee_identifier" => IeeeIdentifier,
|
|
99
113
|
"ieee_component_part" => IeeeComponentPart,
|
|
100
114
|
"ieee_access" => IeeeAccess,
|