pubid 2.0.9 → 2.0.11
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/lib/pubid/adobe/pubid_urn_schema.rb +21 -0
- data/lib/pubid/adobe.rb +1 -0
- data/lib/pubid/amca/pubid_urn_schema.rb +25 -0
- data/lib/pubid/amca.rb +1 -0
- data/lib/pubid/bipm/CLAUDE.md +9 -0
- data/lib/pubid/bipm/pubid_urn_schema.rb +42 -0
- data/lib/pubid/bipm.rb +1 -0
- data/lib/pubid/bsi/CLAUDE.md +13 -0
- data/lib/pubid/bsi/pubid_urn_schema.rb +114 -0
- data/lib/pubid/bsi.rb +1 -0
- data/lib/pubid/calconnect/pubid_urn_schema.rb +20 -0
- data/lib/pubid/calconnect.rb +1 -0
- data/lib/pubid/ccsds/pubid_urn_schema.rb +22 -0
- data/lib/pubid/ccsds.rb +1 -0
- data/lib/pubid/cen_cenelec/CLAUDE.md +11 -0
- data/lib/pubid/cen_cenelec/pubid_urn_schema.rb +26 -8
- data/lib/pubid/cie/CLAUDE.md +9 -0
- data/lib/pubid/cie/pubid_urn_schema.rb +51 -0
- data/lib/pubid/cie.rb +1 -0
- data/lib/pubid/csa/CLAUDE.md +12 -0
- data/lib/pubid/csa/pubid_urn_schema.rb +58 -0
- data/lib/pubid/csa.rb +1 -0
- data/lib/pubid/doi/pubid_urn_schema.rb +19 -0
- data/lib/pubid/doi.rb +1 -0
- data/lib/pubid/easc/pubid_urn_schema.rb +20 -0
- data/lib/pubid/easc.rb +1 -0
- data/lib/pubid/ecma/pubid_urn_schema.rb +21 -0
- data/lib/pubid/ecma.rb +1 -0
- data/lib/pubid/evs/CLAUDE.md +10 -0
- data/lib/pubid/evs/pubid_urn_schema.rb +35 -0
- data/lib/pubid/evs.rb +1 -0
- data/lib/pubid/format_registry.rb +5 -1
- data/lib/pubid/gb/pubid_urn_schema.rb +23 -0
- data/lib/pubid/gb.rb +1 -0
- data/lib/pubid/iala/pubid_urn_schema.rb +30 -0
- data/lib/pubid/iala.rb +1 -0
- data/lib/pubid/iana/pubid_urn_schema.rb +17 -0
- data/lib/pubid/iana.rb +1 -0
- data/lib/pubid/idf/pubid_urn_schema.rb +44 -0
- data/lib/pubid/idf.rb +1 -0
- data/lib/pubid/iec/CLAUDE.md +13 -0
- data/lib/pubid/iec/pubid_urn_schema.rb +46 -8
- data/lib/pubid/ietf/pubid_urn_schema.rb +24 -0
- data/lib/pubid/ietf.rb +1 -0
- data/lib/pubid/iho/CLAUDE.md +11 -0
- data/lib/pubid/iho/pubid_urn_schema.rb +49 -0
- data/lib/pubid/iho.rb +1 -0
- data/lib/pubid/isbn/pubid_urn_schema.rb +20 -0
- data/lib/pubid/isbn.rb +1 -0
- data/lib/pubid/jis/pubid_urn_schema.rb +29 -0
- data/lib/pubid/jis.rb +1 -0
- data/lib/pubid/oasis/pubid_urn_schema.rb +21 -0
- data/lib/pubid/oasis.rb +1 -0
- data/lib/pubid/ogc/pubid_urn_schema.rb +18 -0
- data/lib/pubid/ogc.rb +1 -0
- data/lib/pubid/omg/pubid_urn_schema.rb +21 -0
- data/lib/pubid/omg.rb +1 -0
- data/lib/pubid/sae/pubid_urn_schema.rb +23 -0
- data/lib/pubid/sae.rb +1 -0
- data/lib/pubid/tgpp/pubid_urn_schema.rb +23 -0
- data/lib/pubid/tgpp.rb +1 -0
- data/lib/pubid/un/pubid_urn_schema.rb +19 -0
- data/lib/pubid/un.rb +1 -0
- data/lib/pubid/version.rb +1 -1
- data/lib/pubid/w3c/pubid_urn_schema.rb +27 -0
- data/lib/pubid/w3c.rb +1 -0
- data/lib/pubid/xsf/pubid_urn_schema.rb +14 -0
- data/lib/pubid/xsf.rb +1 -0
- data/lib/pubid.rb +28 -2
- metadata +29 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Pubid
|
|
4
|
+
module Omg
|
|
5
|
+
# The pubid-scheme URN of OMG (issue #670; docs/URN-SCHEMES.adoc).
|
|
6
|
+
#
|
|
7
|
+
# OMG AMI4CCM 1.0 -> urn:pubid:omg:spec:acronym-AMI4CCM:v-1.0
|
|
8
|
+
#
|
|
9
|
+
# No positional core: an OMG specification names itself by its acronym.
|
|
10
|
+
# The current urn:omg:… form of #to_urn is pubid-invented and stays
|
|
11
|
+
# there.
|
|
12
|
+
PubidUrnSchema = Pubid::PubidUrn.define("omg") do
|
|
13
|
+
atom "part", "part"
|
|
14
|
+
atom "version", "v"
|
|
15
|
+
atom "acronym", "acronym"
|
|
16
|
+
|
|
17
|
+
type "pubid:omg:identifier", "id", core: []
|
|
18
|
+
type "pubid:omg:specification", "spec", core: []
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
data/lib/pubid/omg.rb
CHANGED
|
@@ -17,6 +17,7 @@ module Pubid
|
|
|
17
17
|
autoload :Identifiers, "#{__dir__}/omg/identifiers"
|
|
18
18
|
autoload :Parser, "#{__dir__}/omg/parser"
|
|
19
19
|
autoload :Renderer, "#{__dir__}/omg/renderer"
|
|
20
|
+
autoload :PubidUrnSchema, "#{__dir__}/omg/pubid_urn_schema"
|
|
20
21
|
|
|
21
22
|
def self.parse(identifier)
|
|
22
23
|
Identifier.parse(identifier)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Pubid
|
|
4
|
+
module Sae
|
|
5
|
+
# The pubid-scheme URN of SAE (issue #670; docs/URN-SCHEMES.adoc).
|
|
6
|
+
#
|
|
7
|
+
# SAE J3016_202104 -> urn:pubid:sae:id:3016:typeabbr-J:year-2021:month-4
|
|
8
|
+
#
|
|
9
|
+
# The current urn:sae:… form of #to_urn is pubid-invented and stays
|
|
10
|
+
# there. The type (`J`, `AS`, `ARP`, `AMS`) is an atom, because the
|
|
11
|
+
# identifier type is one class carrying every series code; the date
|
|
12
|
+
# fields are Integers.
|
|
13
|
+
PubidUrnSchema = Pubid::PubidUrn.define("sae") do
|
|
14
|
+
atom "type.abbr", "typeabbr"
|
|
15
|
+
atom "revision", "rev"
|
|
16
|
+
atom "amendment", "amd"
|
|
17
|
+
atom "date.year", "year", kind: :int
|
|
18
|
+
atom "date.month", "month", kind: :int
|
|
19
|
+
|
|
20
|
+
type "pubid:sae:identifier", "id"
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
data/lib/pubid/sae.rb
CHANGED
|
@@ -17,6 +17,7 @@ module Pubid
|
|
|
17
17
|
autoload :Renderer, "#{__dir__}/sae/renderer"
|
|
18
18
|
autoload :UrnGenerator, "#{__dir__}/sae/urn_generator"
|
|
19
19
|
autoload :UrnParser, "#{__dir__}/sae/urn_parser"
|
|
20
|
+
autoload :PubidUrnSchema, "#{__dir__}/sae/pubid_urn_schema"
|
|
20
21
|
|
|
21
22
|
def self.parse(input)
|
|
22
23
|
Identifier.parse(input)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Pubid
|
|
4
|
+
module Tgpp
|
|
5
|
+
# The pubid-scheme URN of 3GPP (issue #670; docs/URN-SCHEMES.adoc).
|
|
6
|
+
#
|
|
7
|
+
# TS 01.01:REL-96/5.0.0 -> urn:pubid:3gpp:ts:01.01:part-01:release-96:v-5.0.0
|
|
8
|
+
#
|
|
9
|
+
# The official urn:3gpp: namespace (RFC 5279) stays on #to_urn. The
|
|
10
|
+
# parts ("01.01" splits to part "01" and part "01"…) are the list the
|
|
11
|
+
# flavor models; the release and the version close the URN.
|
|
12
|
+
PubidUrnSchema = Pubid::PubidUrn.define("3gpp") do
|
|
13
|
+
atom "parts", "part", kind: :list
|
|
14
|
+
atom "version", "v"
|
|
15
|
+
atom "release", "release"
|
|
16
|
+
atom "suffix", "suffix"
|
|
17
|
+
|
|
18
|
+
type "pubid:3gpp:identifier", "id"
|
|
19
|
+
type "pubid:3gpp:technical-report", "tr"
|
|
20
|
+
type "pubid:3gpp:technical-specification", "ts"
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
data/lib/pubid/tgpp.rb
CHANGED
|
@@ -34,6 +34,7 @@ module Pubid
|
|
|
34
34
|
autoload :Renderer, "#{__dir__}/tgpp/renderer"
|
|
35
35
|
autoload :UrnGenerator, "#{__dir__}/tgpp/urn_generator"
|
|
36
36
|
autoload :UrnParser, "#{__dir__}/tgpp/urn_parser"
|
|
37
|
+
autoload :PubidUrnSchema, "#{__dir__}/tgpp/pubid_urn_schema"
|
|
37
38
|
|
|
38
39
|
# Parse a 3GPP identifier string
|
|
39
40
|
def self.parse(identifier)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Pubid
|
|
4
|
+
module Un
|
|
5
|
+
# The pubid-scheme URN of UN (issue #670; docs/URN-SCHEMES.adoc).
|
|
6
|
+
#
|
|
7
|
+
# A/RES/78/1 -> urn:pubid:un:document:A,RES,78:1
|
|
8
|
+
#
|
|
9
|
+
# The path segments are the list before the final number; the number is
|
|
10
|
+
# the positional core. The current urn:un:… form of #to_urn is
|
|
11
|
+
# pubid-invented and stays there.
|
|
12
|
+
PubidUrnSchema = Pubid::PubidUrn.define("un") do
|
|
13
|
+
atom "path", "path", kind: :list
|
|
14
|
+
|
|
15
|
+
type "pubid:un:document", "document"
|
|
16
|
+
type "pubid:un:identifier", "id"
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
data/lib/pubid/un.rb
CHANGED
|
@@ -12,6 +12,7 @@ module Pubid
|
|
|
12
12
|
autoload :Identifiers, "#{__dir__}/un/identifiers"
|
|
13
13
|
autoload :Parser, "#{__dir__}/un/parser"
|
|
14
14
|
autoload :Renderer, "#{__dir__}/un/renderer"
|
|
15
|
+
autoload :PubidUrnSchema, "#{__dir__}/un/pubid_urn_schema"
|
|
15
16
|
|
|
16
17
|
def self.parse(identifier)
|
|
17
18
|
Identifier.parse(identifier)
|
data/lib/pubid/version.rb
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Pubid
|
|
4
|
+
module W3c
|
|
5
|
+
# The pubid-scheme URN of w3c (issue #656; docs/URN-SCHEMES.adoc).
|
|
6
|
+
#
|
|
7
|
+
# Declared from the doc's section: the atom, facet and type tables
|
|
8
|
+
# below are the doc's design, conforming token-for-token.
|
|
9
|
+
PubidUrnSchema = Pubid::PubidUrn.define("w3c") do
|
|
10
|
+
atom "date", "date"
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
type "pubid:w3c:candidate-recommendation", "cr"
|
|
14
|
+
type "pubid:w3c:candidate-recommendation-draft", "crd"
|
|
15
|
+
type "pubid:w3c:draft-note", "dn"
|
|
16
|
+
type "pubid:w3c:identifier", "id"
|
|
17
|
+
type "pubid:w3c:note", "note"
|
|
18
|
+
type "pubid:w3c:obsolete-recommendation", "or"
|
|
19
|
+
type "pubid:w3c:proposed-edited-recommendation", "per"
|
|
20
|
+
type "pubid:w3c:proposed-recommendation", "pr"
|
|
21
|
+
type "pubid:w3c:recommendation", "rec"
|
|
22
|
+
type "pubid:w3c:standard", "std"
|
|
23
|
+
type "pubid:w3c:superseded-recommendation", "sr"
|
|
24
|
+
type "pubid:w3c:working-draft", "wd"
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
data/lib/pubid/w3c.rb
CHANGED
|
@@ -16,6 +16,7 @@ module Pubid
|
|
|
16
16
|
autoload :Renderer, "#{__dir__}/w3c/renderer"
|
|
17
17
|
autoload :UrnGenerator, "#{__dir__}/w3c/urn_generator"
|
|
18
18
|
autoload :UrnParser, "#{__dir__}/w3c/urn_parser"
|
|
19
|
+
autoload :PubidUrnSchema, "#{__dir__}/w3c/pubid_urn_schema"
|
|
19
20
|
|
|
20
21
|
# Parse a W3C identifier string
|
|
21
22
|
def self.parse(identifier)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Pubid
|
|
4
|
+
module Xsf
|
|
5
|
+
# The pubid-scheme URN of xsf (issue #656; docs/URN-SCHEMES.adoc).
|
|
6
|
+
#
|
|
7
|
+
# Declared from the doc's section: the atom, facet and type tables
|
|
8
|
+
# below are the doc's design, conforming token-for-token.
|
|
9
|
+
PubidUrnSchema = Pubid::PubidUrn.define("xsf") do
|
|
10
|
+
type "pubid:xsf:identifier", "id"
|
|
11
|
+
type "pubid:xsf:xep", "xep"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
data/lib/pubid/xsf.rb
CHANGED
|
@@ -21,6 +21,7 @@ module Pubid
|
|
|
21
21
|
autoload :Renderer, "#{__dir__}/xsf/renderer"
|
|
22
22
|
autoload :UrnGenerator, "#{__dir__}/xsf/urn_generator"
|
|
23
23
|
autoload :UrnParser, "#{__dir__}/xsf/urn_parser"
|
|
24
|
+
autoload :PubidUrnSchema, "#{__dir__}/xsf/pubid_urn_schema"
|
|
24
25
|
|
|
25
26
|
# Parse an XSF identifier string
|
|
26
27
|
def self.parse(identifier)
|
data/lib/pubid.rb
CHANGED
|
@@ -238,6 +238,7 @@ module Pubid
|
|
|
238
238
|
# @param format [Symbol] :auto, :human, :mr_string, or :urn
|
|
239
239
|
# @return [Identifier] The parsed identifier
|
|
240
240
|
# @raise [ArgumentError] for a non-String, or one over {MAX_INPUT_LENGTH}
|
|
241
|
+
# (as {Errors::InvalidInputError}, which is one)
|
|
241
242
|
# @raise [Pubid::Errors::ParseError] when no flavor can parse the string — the
|
|
242
243
|
# class every flavor's own +parse+ raises (see the parse-failure contract)
|
|
243
244
|
def self.parse(string, format: :auto)
|
|
@@ -249,6 +250,15 @@ module Pubid
|
|
|
249
250
|
raise Pubid::Errors::InvalidInputError,
|
|
250
251
|
Pubid::INPUT_TOO_LONG_MESSAGE
|
|
251
252
|
end
|
|
253
|
+
# Invalid encoding is bad input, not a grammar failure: the detectors
|
|
254
|
+
# and normalization regexes raise raw `ArgumentError` (invalid byte
|
|
255
|
+
# sequence) or `Encoding::CompatibilityError` on it, which is the leak
|
|
256
|
+
# the contract closes (issue #670). The bytes are read as UTF-8 — a
|
|
257
|
+
# binary string of ASCII bytes (".b") is fine, high bytes are not.
|
|
258
|
+
unless string.dup.force_encoding(Encoding::UTF_8).valid_encoding?
|
|
259
|
+
raise Pubid::Errors::InvalidInputError,
|
|
260
|
+
"input string has invalid encoding"
|
|
261
|
+
end
|
|
252
262
|
|
|
253
263
|
format = FormatDetector.detect(string) if format == :auto
|
|
254
264
|
|
|
@@ -282,22 +292,38 @@ module Pubid
|
|
|
282
292
|
#
|
|
283
293
|
# @param string [String] the URN
|
|
284
294
|
# @return [Identifier] the parsed identifier
|
|
295
|
+
# @raise [Pubid::Errors::InvalidInputError] for a non-String
|
|
285
296
|
#
|
|
286
297
|
# A pubid-scheme URN ("urn:pubid:…", see {PubidUrn}) is decoded by the
|
|
287
298
|
# shared codec; every other namespace goes to its flavor's UrnParser.
|
|
299
|
+
# Every decode failure on this surface is a pubid error (issue #670): an
|
|
300
|
+
# empty string, a missing or unknown namespace, invalid encoding, and a
|
|
301
|
+
# URN a flavor's parser rejects all raise {Errors::UrnParseError} — the
|
|
302
|
+
# raw `ArgumentError` the detection and the flavor parsers raise is the
|
|
303
|
+
# wrapped failure's cause, never the raised class.
|
|
288
304
|
def self.parse_urn(string)
|
|
305
|
+
unless string.is_a?(String)
|
|
306
|
+
raise Pubid::Errors::InvalidInputError,
|
|
307
|
+
Pubid::INPUT_NOT_A_STRING_MESSAGE
|
|
308
|
+
end
|
|
289
309
|
eager_load_flavors!
|
|
290
310
|
return PubidUrn.parse(string) if PubidUrn.pubid_urn?(string)
|
|
291
311
|
|
|
292
312
|
flavor = detect_flavor_from_urn(string)
|
|
293
313
|
flavor_module = Registry.get(flavor)
|
|
294
314
|
unless flavor_module
|
|
295
|
-
raise
|
|
296
|
-
"
|
|
315
|
+
raise Errors::UrnParseError,
|
|
316
|
+
"unknown URN namespace: #{flavor.inspect} (in #{string.inspect})"
|
|
297
317
|
end
|
|
298
318
|
|
|
299
319
|
urn_parser = flavor_module.const_get(:UrnParser)
|
|
300
320
|
urn_parser.parse(string)
|
|
321
|
+
rescue Errors::Error
|
|
322
|
+
raise
|
|
323
|
+
rescue StandardError => e
|
|
324
|
+
raise Errors::UrnParseError,
|
|
325
|
+
"URN #{string.inspect} does not parse as #{flavor.inspect}: #{e.message}",
|
|
326
|
+
cause: e
|
|
301
327
|
end
|
|
302
328
|
|
|
303
329
|
# The slug form (relaton#441): the pubid-scheme URN of +source+ in
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pubid
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
@@ -142,6 +142,7 @@ files:
|
|
|
142
142
|
- lib/pubid/adobe/identifiers/publication.rb
|
|
143
143
|
- lib/pubid/adobe/identifiers/tech_note.rb
|
|
144
144
|
- lib/pubid/adobe/parser.rb
|
|
145
|
+
- lib/pubid/adobe/pubid_urn_schema.rb
|
|
145
146
|
- lib/pubid/adobe/renderer.rb
|
|
146
147
|
- lib/pubid/adobe/urn_generator.rb
|
|
147
148
|
- lib/pubid/adobe/urn_parser.rb
|
|
@@ -157,6 +158,7 @@ files:
|
|
|
157
158
|
- lib/pubid/amca/identifiers/publication.rb
|
|
158
159
|
- lib/pubid/amca/identifiers/standard.rb
|
|
159
160
|
- lib/pubid/amca/parser.rb
|
|
161
|
+
- lib/pubid/amca/pubid_urn_schema.rb
|
|
160
162
|
- lib/pubid/amca/renderer.rb
|
|
161
163
|
- lib/pubid/amca/single_identifier.rb
|
|
162
164
|
- lib/pubid/amca/urn_generator.rb
|
|
@@ -265,6 +267,7 @@ files:
|
|
|
265
267
|
- lib/pubid/bipm/identifiers/metrologia_article.rb
|
|
266
268
|
- lib/pubid/bipm/identifiers/si_brochure.rb
|
|
267
269
|
- lib/pubid/bipm/parser.rb
|
|
270
|
+
- lib/pubid/bipm/pubid_urn_schema.rb
|
|
268
271
|
- lib/pubid/bipm/renderer.rb
|
|
269
272
|
- lib/pubid/bipm/urn_generator.rb
|
|
270
273
|
- lib/pubid/bipm/urn_parser.rb
|
|
@@ -313,6 +316,7 @@ files:
|
|
|
313
316
|
- lib/pubid/bsi/identifiers/value_added_publication.rb
|
|
314
317
|
- lib/pubid/bsi/model.rb
|
|
315
318
|
- lib/pubid/bsi/parser.rb
|
|
319
|
+
- lib/pubid/bsi/pubid_urn_schema.rb
|
|
316
320
|
- lib/pubid/bsi/renderer.rb
|
|
317
321
|
- lib/pubid/bsi/single_identifier.rb
|
|
318
322
|
- lib/pubid/bsi/urn_generator.rb
|
|
@@ -325,6 +329,7 @@ files:
|
|
|
325
329
|
- lib/pubid/calconnect/identifiers.rb
|
|
326
330
|
- lib/pubid/calconnect/identifiers/standard.rb
|
|
327
331
|
- lib/pubid/calconnect/parser.rb
|
|
332
|
+
- lib/pubid/calconnect/pubid_urn_schema.rb
|
|
328
333
|
- lib/pubid/calconnect/renderer.rb
|
|
329
334
|
- lib/pubid/calconnect/urn_generator.rb
|
|
330
335
|
- lib/pubid/calconnect/urn_parser.rb
|
|
@@ -335,6 +340,7 @@ files:
|
|
|
335
340
|
- lib/pubid/ccsds/identifiers/base.rb
|
|
336
341
|
- lib/pubid/ccsds/identifiers/corrigendum.rb
|
|
337
342
|
- lib/pubid/ccsds/parser.rb
|
|
343
|
+
- lib/pubid/ccsds/pubid_urn_schema.rb
|
|
338
344
|
- lib/pubid/ccsds/single_identifier.rb
|
|
339
345
|
- lib/pubid/ccsds/supplement_identifier.rb
|
|
340
346
|
- lib/pubid/ccsds/urn_generator.rb
|
|
@@ -384,6 +390,7 @@ files:
|
|
|
384
390
|
- lib/pubid/cie/identifiers/supplement.rb
|
|
385
391
|
- lib/pubid/cie/identifiers/tutorial_bundle.rb
|
|
386
392
|
- lib/pubid/cie/parser.rb
|
|
393
|
+
- lib/pubid/cie/pubid_urn_schema.rb
|
|
387
394
|
- lib/pubid/cie/single_identifier.rb
|
|
388
395
|
- lib/pubid/cie/supplement_identifier.rb
|
|
389
396
|
- lib/pubid/cie/urn_generator.rb
|
|
@@ -431,6 +438,7 @@ files:
|
|
|
431
438
|
- lib/pubid/csa/identifiers/series.rb
|
|
432
439
|
- lib/pubid/csa/identifiers/standard.rb
|
|
433
440
|
- lib/pubid/csa/parser.rb
|
|
441
|
+
- lib/pubid/csa/pubid_urn_schema.rb
|
|
434
442
|
- lib/pubid/csa/renderer.rb
|
|
435
443
|
- lib/pubid/csa/single_identifier.rb
|
|
436
444
|
- lib/pubid/csa/urn_generator.rb
|
|
@@ -442,6 +450,7 @@ files:
|
|
|
442
450
|
- lib/pubid/doi/identifiers.rb
|
|
443
451
|
- lib/pubid/doi/identifiers/resource.rb
|
|
444
452
|
- lib/pubid/doi/parser.rb
|
|
453
|
+
- lib/pubid/doi/pubid_urn_schema.rb
|
|
445
454
|
- lib/pubid/doi/renderer.rb
|
|
446
455
|
- lib/pubid/easc.rb
|
|
447
456
|
- lib/pubid/easc/builder.rb
|
|
@@ -450,6 +459,7 @@ files:
|
|
|
450
459
|
- lib/pubid/easc/identifiers/pmg.rb
|
|
451
460
|
- lib/pubid/easc/identifiers/rmg.rb
|
|
452
461
|
- lib/pubid/easc/parser.rb
|
|
462
|
+
- lib/pubid/easc/pubid_urn_schema.rb
|
|
453
463
|
- lib/pubid/easc/renderer.rb
|
|
454
464
|
- lib/pubid/easc/urn_generator.rb
|
|
455
465
|
- lib/pubid/easc/urn_parser.rb
|
|
@@ -462,6 +472,7 @@ files:
|
|
|
462
472
|
- lib/pubid/ecma/identifiers/standard.rb
|
|
463
473
|
- lib/pubid/ecma/identifiers/technical_report.rb
|
|
464
474
|
- lib/pubid/ecma/parser.rb
|
|
475
|
+
- lib/pubid/ecma/pubid_urn_schema.rb
|
|
465
476
|
- lib/pubid/ecma/renderer.rb
|
|
466
477
|
- lib/pubid/ecma/urn_generator.rb
|
|
467
478
|
- lib/pubid/ecma/urn_parser.rb
|
|
@@ -493,6 +504,7 @@ files:
|
|
|
493
504
|
- lib/pubid/evs/identifiers/international_adoption.rb
|
|
494
505
|
- lib/pubid/evs/identifiers/national_adoption.rb
|
|
495
506
|
- lib/pubid/evs/parser.rb
|
|
507
|
+
- lib/pubid/evs/pubid_urn_schema.rb
|
|
496
508
|
- lib/pubid/evs/renderer.rb
|
|
497
509
|
- lib/pubid/evs/urn_generator.rb
|
|
498
510
|
- lib/pubid/evs/urn_parser.rb
|
|
@@ -511,6 +523,7 @@ files:
|
|
|
511
523
|
- lib/pubid/gb/identifiers/all_parts.rb
|
|
512
524
|
- lib/pubid/gb/identifiers/standard.rb
|
|
513
525
|
- lib/pubid/gb/parser.rb
|
|
526
|
+
- lib/pubid/gb/pubid_urn_schema.rb
|
|
514
527
|
- lib/pubid/gb/renderer.rb
|
|
515
528
|
- lib/pubid/gost.rb
|
|
516
529
|
- lib/pubid/gost/CLAUDE.md
|
|
@@ -544,6 +557,7 @@ files:
|
|
|
544
557
|
- lib/pubid/iala/identifiers/resolution.rb
|
|
545
558
|
- lib/pubid/iala/identifiers/standard.rb
|
|
546
559
|
- lib/pubid/iala/parser.rb
|
|
560
|
+
- lib/pubid/iala/pubid_urn_schema.rb
|
|
547
561
|
- lib/pubid/iala/renderer.rb
|
|
548
562
|
- lib/pubid/iala/urn_generator.rb
|
|
549
563
|
- lib/pubid/iala/urn_parser.rb
|
|
@@ -554,6 +568,7 @@ files:
|
|
|
554
568
|
- lib/pubid/iana/identifiers.rb
|
|
555
569
|
- lib/pubid/iana/identifiers/registry.rb
|
|
556
570
|
- lib/pubid/iana/parser.rb
|
|
571
|
+
- lib/pubid/iana/pubid_urn_schema.rb
|
|
557
572
|
- lib/pubid/iana/renderer.rb
|
|
558
573
|
- lib/pubid/iana/urn_generator.rb
|
|
559
574
|
- lib/pubid/iana/urn_parser.rb
|
|
@@ -569,6 +584,7 @@ files:
|
|
|
569
584
|
- lib/pubid/idf/identifiers/international_standard.rb
|
|
570
585
|
- lib/pubid/idf/identifiers/reviewed_method.rb
|
|
571
586
|
- lib/pubid/idf/parser.rb
|
|
587
|
+
- lib/pubid/idf/pubid_urn_schema.rb
|
|
572
588
|
- lib/pubid/idf/renderer.rb
|
|
573
589
|
- lib/pubid/idf/single_identifier.rb
|
|
574
590
|
- lib/pubid/idf/supplement_identifier.rb
|
|
@@ -685,6 +701,7 @@ files:
|
|
|
685
701
|
- lib/pubid/ietf/identifiers/serialization.rb
|
|
686
702
|
- lib/pubid/ietf/identifiers/std.rb
|
|
687
703
|
- lib/pubid/ietf/parser.rb
|
|
704
|
+
- lib/pubid/ietf/pubid_urn_schema.rb
|
|
688
705
|
- lib/pubid/ietf/renderer.rb
|
|
689
706
|
- lib/pubid/ietf/urn_generator.rb
|
|
690
707
|
- lib/pubid/ietf/urn_parser.rb
|
|
@@ -699,6 +716,7 @@ files:
|
|
|
699
716
|
- lib/pubid/iho/identifiers/miscellaneous.rb
|
|
700
717
|
- lib/pubid/iho/identifiers/publication.rb
|
|
701
718
|
- lib/pubid/iho/identifiers/standard.rb
|
|
719
|
+
- lib/pubid/iho/pubid_urn_schema.rb
|
|
702
720
|
- lib/pubid/iho/renderer.rb
|
|
703
721
|
- lib/pubid/iho/urn_generator.rb
|
|
704
722
|
- lib/pubid/iho/urn_parser.rb
|
|
@@ -709,6 +727,7 @@ files:
|
|
|
709
727
|
- lib/pubid/isbn/identifiers.rb
|
|
710
728
|
- lib/pubid/isbn/identifiers/book.rb
|
|
711
729
|
- lib/pubid/isbn/parser.rb
|
|
730
|
+
- lib/pubid/isbn/pubid_urn_schema.rb
|
|
712
731
|
- lib/pubid/isbn/renderer.rb
|
|
713
732
|
- lib/pubid/iso.rb
|
|
714
733
|
- lib/pubid/iso/CLAUDE.md
|
|
@@ -817,6 +836,7 @@ files:
|
|
|
817
836
|
- lib/pubid/jis/identifiers/technical_specification.rb
|
|
818
837
|
- lib/pubid/jis/identifiers/welding_engineering_standard.rb
|
|
819
838
|
- lib/pubid/jis/parser.rb
|
|
839
|
+
- lib/pubid/jis/pubid_urn_schema.rb
|
|
820
840
|
- lib/pubid/jis/renderer.rb
|
|
821
841
|
- lib/pubid/jis/single_identifier.rb
|
|
822
842
|
- lib/pubid/jis/supplement_identifier.rb
|
|
@@ -887,6 +907,7 @@ files:
|
|
|
887
907
|
- lib/pubid/oasis/identifiers.rb
|
|
888
908
|
- lib/pubid/oasis/identifiers/standard.rb
|
|
889
909
|
- lib/pubid/oasis/parser.rb
|
|
910
|
+
- lib/pubid/oasis/pubid_urn_schema.rb
|
|
890
911
|
- lib/pubid/oasis/renderer.rb
|
|
891
912
|
- lib/pubid/oasis/urn_generator.rb
|
|
892
913
|
- lib/pubid/oasis/urn_parser.rb
|
|
@@ -897,6 +918,7 @@ files:
|
|
|
897
918
|
- lib/pubid/ogc/identifiers.rb
|
|
898
919
|
- lib/pubid/ogc/identifiers/document.rb
|
|
899
920
|
- lib/pubid/ogc/parser.rb
|
|
921
|
+
- lib/pubid/ogc/pubid_urn_schema.rb
|
|
900
922
|
- lib/pubid/ogc/renderer.rb
|
|
901
923
|
- lib/pubid/ogc/urn_generator.rb
|
|
902
924
|
- lib/pubid/ogc/urn_parser.rb
|
|
@@ -935,6 +957,7 @@ files:
|
|
|
935
957
|
- lib/pubid/omg/identifiers.rb
|
|
936
958
|
- lib/pubid/omg/identifiers/specification.rb
|
|
937
959
|
- lib/pubid/omg/parser.rb
|
|
960
|
+
- lib/pubid/omg/pubid_urn_schema.rb
|
|
938
961
|
- lib/pubid/omg/renderer.rb
|
|
939
962
|
- lib/pubid/parg.rb
|
|
940
963
|
- lib/pubid/parg/artifact.rb
|
|
@@ -997,6 +1020,7 @@ files:
|
|
|
997
1020
|
- lib/pubid/sae/identifiers.rb
|
|
998
1021
|
- lib/pubid/sae/identifiers/base.rb
|
|
999
1022
|
- lib/pubid/sae/parser.rb
|
|
1023
|
+
- lib/pubid/sae/pubid_urn_schema.rb
|
|
1000
1024
|
- lib/pubid/sae/renderer.rb
|
|
1001
1025
|
- lib/pubid/sae/urn_generator.rb
|
|
1002
1026
|
- lib/pubid/sae/urn_parser.rb
|
|
@@ -1015,6 +1039,7 @@ files:
|
|
|
1015
1039
|
- lib/pubid/tgpp/identifiers/technical_report.rb
|
|
1016
1040
|
- lib/pubid/tgpp/identifiers/technical_specification.rb
|
|
1017
1041
|
- lib/pubid/tgpp/parser.rb
|
|
1042
|
+
- lib/pubid/tgpp/pubid_urn_schema.rb
|
|
1018
1043
|
- lib/pubid/tgpp/renderer.rb
|
|
1019
1044
|
- lib/pubid/tgpp/urn_generator.rb
|
|
1020
1045
|
- lib/pubid/tgpp/urn_parser.rb
|
|
@@ -1025,6 +1050,7 @@ files:
|
|
|
1025
1050
|
- lib/pubid/un/identifiers.rb
|
|
1026
1051
|
- lib/pubid/un/identifiers/document.rb
|
|
1027
1052
|
- lib/pubid/un/parser.rb
|
|
1053
|
+
- lib/pubid/un/pubid_urn_schema.rb
|
|
1028
1054
|
- lib/pubid/un/renderer.rb
|
|
1029
1055
|
- lib/pubid/urn_generator/base.rb
|
|
1030
1056
|
- lib/pubid/urn_parser.rb
|
|
@@ -1050,6 +1076,7 @@ files:
|
|
|
1050
1076
|
- lib/pubid/w3c/identifiers/superseded_recommendation.rb
|
|
1051
1077
|
- lib/pubid/w3c/identifiers/working_draft.rb
|
|
1052
1078
|
- lib/pubid/w3c/parser.rb
|
|
1079
|
+
- lib/pubid/w3c/pubid_urn_schema.rb
|
|
1053
1080
|
- lib/pubid/w3c/renderer.rb
|
|
1054
1081
|
- lib/pubid/w3c/urn_generator.rb
|
|
1055
1082
|
- lib/pubid/w3c/urn_parser.rb
|
|
@@ -1060,6 +1087,7 @@ files:
|
|
|
1060
1087
|
- lib/pubid/xsf/identifiers.rb
|
|
1061
1088
|
- lib/pubid/xsf/identifiers/xep.rb
|
|
1062
1089
|
- lib/pubid/xsf/parser.rb
|
|
1090
|
+
- lib/pubid/xsf/pubid_urn_schema.rb
|
|
1063
1091
|
- lib/pubid/xsf/renderer.rb
|
|
1064
1092
|
- lib/pubid/xsf/urn_generator.rb
|
|
1065
1093
|
- lib/pubid/xsf/urn_parser.rb
|