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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 544e6e2f64d9eb553d25aaed469e187bab1237e735596a0a02a202ca1fa799e7
4
- data.tar.gz: 632097c99a2244a83bb69fb6531fd645a85d3170bd63f22f2c4deb217ba2458e
3
+ metadata.gz: d045ee4a48735ea6db01b791fdbf1f06da853514c74b8e728517ae5737a8dad5
4
+ data.tar.gz: 71b30a3fdccd9f84588ce4a8f961636cee66a720530c8f8c83b4664e6969ae85
5
5
  SHA512:
6
- metadata.gz: 5dc20550bccf1c93defdc843ab9627781360c2849c83e77a2baac62d49e7e1ecd3617d8e7407e2204d9eba1973e8c7c87d89965513137dbe7a897bdc6ce6904f
7
- data.tar.gz: 2ba3d831e311b020cfa40a818f6be3677f3cf474efcca7371dabd92f542c1902af1e0bbbf89efafc43240243dc8d6f1ea1d08db2bd748dd2d240976779983ecc
6
+ metadata.gz: 3d4e8b0e8d63a3458eb42fefc89ffb7c2d499a2243511b91e70cc22d152bef69c748fd830f50e560fe44ce15abb2d5151d4392e7389144ac0227bb629b7fe1fc
7
+ data.tar.gz: f76e1de17c0d4bf3ae302d0f5d3b9e129e32d9b7531fb6877f39b7d4e46cbd06629eaef094b9189f62e79d33d83ac86d9708c583a4f57b020d18df65365ccc7b
@@ -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}%{stage} %{tcnumber}%{sctype}%{scnumber}%{wgtype}%{wgnumber} %{number}" % params
13
+ "%{publisher}%{tctype} %{tcnumber}%{sctype}%{scnumber}%{wgtype}%{wgnumber} %{number}" % params
14
14
  else
15
- "%{publisher}%{tctype}%{stage} %{tcnumber}%{sctype}%{wgtype}%{scnumber} %{number}" % params
15
+ "%{publisher}%{tctype} %{tcnumber}%{sctype}%{wgtype}%{scnumber} %{number}" % params
16
16
  end
17
17
  end
18
18
 
@@ -1,5 +1,5 @@
1
1
  module Pubid
2
2
  module Iso
3
- VERSION = "0.7.6".freeze
3
+ VERSION = "0.7.8".freeze
4
4
  end
5
5
  end
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.6
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-06-22 00:00:00.000000000 Z
11
+ date: 2024-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake