pubid 2.0.11 → 2.0.12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13576e1000016c57213a4a3414bd58e6a9992c94b745fa5cdf52d7883e38f559
4
- data.tar.gz: 3da18abb9b8c9db12828ce68b770d35c5f1468e99cf0f1fdcff1ce4d5c649cde
3
+ metadata.gz: 58015cc01e426fd158cdfb240253372da45722a1cd2b9dc7a725993bf0a75e86
4
+ data.tar.gz: 7f501c8c4d994d31cddca28c6d6a4b98ed0b3dce039941375b9f2ecd5a4600f5
5
5
  SHA512:
6
- metadata.gz: 4294d802dbad9f2d1d447673b2f10075f07eb8d766a63aec7d870da6e0f667a93be837aeca4790301c18c2b8d415c0b4924be2a593708b264aa2437673c374a0
7
- data.tar.gz: db9a36816efbddb560cf7bc2eeb3e61f251005ff8bdd7cb934593991bea31a5db6e2b28901eac267993adc880953b3efe80943656732b2a28a6ee705c710465d
6
+ metadata.gz: 6d4a780dce2975889f1be570cfa59573efcb5b0ad54bfc038fdb1f80c4f80e8798186be172f406bce72fc35a91d01aa5095da5c676a5c9a23e9e3375b7a1eaad
7
+ data.tar.gz: 75599585a088af0b03aaa29d6dda8cf4e84a45debaa8a3c81687854697ce132a422c5432f586e7f95fd8248f28cd8102951949cb22efaa8f5a323e32326cd081
@@ -4,18 +4,28 @@ module Pubid
4
4
  module Sae
5
5
  # The pubid-scheme URN of SAE (issue #670; docs/URN-SCHEMES.adoc).
6
6
  #
7
- # SAE J3016_202104 -> urn:pubid:sae:id:3016:typeabbr-J:year-2021:month-4
7
+ # SAE J3016_202104 -> urn:pubid:sae:id:3016:typeabbr-J:year-2021:month-4
8
+ # SAE ARP4754A:2010 -> urn:pubid:sae:id:4754:typeabbr-ARP:rev-A:yearflat-2010
8
9
  #
9
10
  # The current urn:sae:… form of #to_urn is pubid-invented and stays
10
11
  # there. The type (`J`, `AS`, `ARP`, `AMS`) is an atom, because the
11
12
  # identifier type is one class carrying every series code; the date
12
13
  # fields are Integers.
14
+ #
15
+ # SAE's hash carries two date shapes (the canonical flattening keeps a
16
+ # year-alone date flat: pubid#360), so a year gets one prefix per shape
17
+ # — the ashrae ruling. `year-` stays the nested year+month form the
18
+ # first release emitted; `yearflat-` is the flat year-alone form the
19
+ # corpus round (pubid#669) added. A part is top-level in the hash
20
+ # (AMS-QQ-A-250/4B -> part-4).
13
21
  PubidUrnSchema = Pubid::PubidUrn.define("sae") do
14
22
  atom "type.abbr", "typeabbr"
15
23
  atom "revision", "rev"
16
24
  atom "amendment", "amd"
25
+ atom "part", "part"
17
26
  atom "date.year", "year", kind: :int
18
27
  atom "date.month", "month", kind: :int
28
+ atom "year", "yearflat"
19
29
 
20
30
  type "pubid:sae:identifier", "id"
21
31
  end
data/lib/pubid/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pubid
4
- VERSION = "2.0.11"
4
+ VERSION = "2.0.12"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pubid
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.11
4
+ version: 2.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-11-05 00:00:00.000000000 Z
11
+ date: 2026-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lutaml-model