pubid-iso 0.7.6 → 0.7.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pubid/iso/parser.rb +1 -1
- data/lib/pubid/iso/renderer/technical_committee.rb +2 -2
- data/lib/pubid/iso/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: d045ee4a48735ea6db01b791fdbf1f06da853514c74b8e728517ae5737a8dad5
|
4
|
+
data.tar.gz: 71b30a3fdccd9f84588ce4a8f961636cee66a720530c8f8c83b4664e6969ae85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d4e8b0e8d63a3458eb42fefc89ffb7c2d499a2243511b91e70cc22d152bef69c748fd830f50e560fe44ce15abb2d5151d4392e7389144ac0227bb629b7fe1fc
|
7
|
+
data.tar.gz: f76e1de17c0d4bf3ae302d0f5d3b9e129e32d9b7531fb6877f39b7d4e46cbd06629eaef094b9189f62e79d33d83ac86d9708c583a4f57b020d18df65365ccc7b
|
data/lib/pubid/iso/parser.rb
CHANGED
@@ -43,7 +43,7 @@ module Pubid::Iso
|
|
43
43
|
"CPAG", "CSC", "ITSAG", "CSC/FIN", "CSC/NOM", "CSC/OVE",
|
44
44
|
"CSC/SP", "CSC/FIN", "JAG"].freeze
|
45
45
|
|
46
|
-
ORGANIZATIONS = %w[IEC IEEE CIW SAE CIE ASME ASTM OECD ISO HL7 CEI].freeze
|
46
|
+
ORGANIZATIONS = %w[IEC IEEE CIW SAE CIE ASME ASTM OECD ISO HL7 CEI UNDP].freeze
|
47
47
|
rule(:dash) do
|
48
48
|
str("-") | str("‑") | str("‐")
|
49
49
|
end
|
@@ -10,9 +10,9 @@ module Pubid::Iso::Renderer
|
|
10
10
|
|
11
11
|
def render_identifier(params, opts)
|
12
12
|
if params[:wgnumber] && !params[:wgnumber].empty?
|
13
|
-
"%{publisher}%{tctype}
|
13
|
+
"%{publisher}%{tctype} %{tcnumber}%{sctype}%{scnumber}%{wgtype}%{wgnumber} %{number}" % params
|
14
14
|
else
|
15
|
-
"%{publisher}%{tctype}
|
15
|
+
"%{publisher}%{tctype} %{tcnumber}%{sctype}%{wgtype}%{scnumber} %{number}" % params
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
data/lib/pubid/iso/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pubid-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|