relaton-cli 3.0.4 → 3.0.6

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: c362b5ae36f3a87c6b4d3675fe6a60d74cad525a71a3689a477fee389a85f7bc
4
- data.tar.gz: 4bce59439f7bd53dc98ccb3886dd7e9c1ddfe5f0754e542844510d006b2eb0a4
3
+ metadata.gz: 4773619ab40766fcf3c128b208ea430def29bc7fd75bfb367d6d96116e6d5297
4
+ data.tar.gz: ef47f6d33b79165f2f4335b5d2ff5391f678b0115b2c9cd25ba6e3f1de683daf
5
5
  SHA512:
6
- metadata.gz: 910bdf3b32aaa07fabdf8d590aceb9ac55e06e4e071cc27c2eb4491ba735351091fa4b4fbf32939eed3ec8809b46aabb322a488aa0f94f8dfaec9b7f045e83a4
7
- data.tar.gz: 38626f631e134ec1320f5c983883bf8791515ef09a70eae89d3c58078e1378b60666af9ef406af8b67ab3e106ea1ec6322475bd080c6fab3c31ad504f5613f4c
6
+ metadata.gz: 94c6e3b0f9a8e60aae2afb94a58e57117aa6e75a6eca11891037c98c0892c072c66bdc91f76fc98d450bd71989bcee203f717aae01c4b1cf568692bf1de04dfb
7
+ data.tar.gz: '04925cf2b91ecee85acac9e2ca3d6b01778211e4c6c9d9a8227254fa486c9ce82b93a221c760baca29206b8196321e48ef999e1161388307fc1e0ace24b556ea'
data/CLAUDE.md CHANGED
@@ -206,7 +206,8 @@ way. Four decisions, all settled deliberately — don't re-derive them:
206
206
  `skipped_count`, and warned about.
207
207
  **A committed row also wins when it only adds an edition**
208
208
  (`MachineIndex#refine`): when its hash equals the parse's plus keys in
209
- `REFINABLE_KEYS` (`version`, `edition`, `volume`) — the components a printed
209
+ `REFINABLE_KEYS` (`version`, `edition`, `volume`, `year`, `issue`) — the
210
+ components a printed
210
211
  docid omits by design. An IHO record prints `B-12` and keeps its edition in
211
212
  `edition:`; an ECMA one prints `ECMA-262` with no ` ed<N>`. Without this the
212
213
  published Pages indexes (2026-10-29) carried no IHO `version` (0 of 325 rows)
data/Gemfile CHANGED
@@ -6,19 +6,13 @@ gemspec
6
6
  # The single combined `relaton` gem lives at the repo root.
7
7
  gem "relaton", path: "../.."
8
8
 
9
- # parsanol 1.3.111 is the trivia-exempt release (parsanol#355): the
10
- # emission-2 artifacts (pubid#614) parse parameter-shaped under it, so
11
- # the pin rides it; the root gemspec floor carries the same story.
12
-
13
- # The pubid 2.0.0 FINAL gem still ships emission-1 artifacts - under
14
- # 1.3.111 its parses break exactly as parsanol#352 describes. Both
15
- # gemspecs floor pubid at 2.0.1, the first final release without that
16
- # defect ("Unknown parameter type: colon" on a part+date docid).
17
- #
18
- # TEMP: ride pubid main like the root bundle (pubid#620, relaton#49):
19
- # #620 merged after the v2.0.1 tag. Return to a released pin with the
20
- # root Gemfile.
21
- gem "pubid", git: "https://github.com/metanorma/pubid.git", branch: "main"
9
+ # parsanol/pubid ride the gemspec floors (parsanol ~> 1.3.121 with pubid
10
+ # ~> 2.0.3): pubid 2.0.3 re-bakes the iso artifact at edition 2 for the
11
+ # parsanol >= 1.3.120 line. No local pin — the joint-identifier regression
12
+ # on that line is parsanol-ruby#409.
13
+ # pubid 2.0.3 (2026-11-02) re-bakes the iso artifact at edition 2 for the
14
+ # parsanol >= 1.3.120 line — the released floor this PR is gated on.
15
+ gem "pubid", "~> 2.0.3"
22
16
 
23
17
  # https://github.com/rails/rails/issues/55886
24
18
  # add openssl as an explicit gem to fix SSL verification issues in GHA.
@@ -120,8 +120,12 @@ module Relaton
120
120
  MIN_ROWS = 2000
121
121
  MIN_SHARDS = 16
122
122
  # Id components a record's printed docid omits by design, so only the
123
- # committed row carries them (see #refine).
124
- REFINABLE_KEYS = %w[version edition volume].freeze
123
+ # committed row carries them (see #refine). `year`/`issue` are the IHO
124
+ # series components (relaton#407): the data repo carries the
125
+ # year/volume/issue of a series record (P-5's year, the IHR's
126
+ # volume/issue) in the committed row even where the printed docid a
127
+ # crawler reads spells only `P-5`.
128
+ REFINABLE_KEYS = %w[version edition volume year issue].freeze
125
129
  MAX_SHARDS = 65_536
126
130
 
127
131
  # Deliberately does NOT retain the pubid object: `add` extracts the only
data/relaton-cli.gemspec CHANGED
@@ -35,9 +35,9 @@ Gem::Specification.new do |spec|
35
35
  # reference is unparseable (see command.rb / subcommand_collection.rb). It is
36
36
  # already a runtime dep of `relaton`, but declare it here too so the require
37
37
  # is self-supporting rather than dependent on relaton's transitive graph.
38
- # Match the relaton gemspec floor: pubid 2.0.0 ships the old emission-1
39
- # parse artifacts, and 2.0.1 is the first final release that works.
40
- spec.add_dependency "pubid", ">= 2.0.1", "< 2.1"
38
+ # Match the relaton gemspec floor (pessimistic, per house style): 2.0.4
39
+ # carries the IHO series identity components the data re-key keys on.
40
+ spec.add_dependency "pubid", "~> 2.0.4"
41
41
  # relaton bundles every flavor plus Relaton::Bib, so depending on `relaton`
42
42
  # alone is sufficient — relaton-bib is no longer published standalone.
43
43
  spec.add_dependency "relaton", "= #{relaton_version}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.0.6
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-01 00:00:00.000000000 Z
11
+ date: 2026-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: liquid
@@ -28,36 +28,30 @@ dependencies:
28
28
  name: pubid
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 2.0.1
34
- - - "<"
31
+ - - "~>"
35
32
  - !ruby/object:Gem::Version
36
- version: '2.1'
33
+ version: 2.0.4
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: 2.0.1
44
- - - "<"
38
+ - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: '2.1'
40
+ version: 2.0.4
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: relaton
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - '='
52
46
  - !ruby/object:Gem::Version
53
- version: 3.0.4
47
+ version: 3.0.6
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
52
  - - '='
59
53
  - !ruby/object:Gem::Version
60
- version: 3.0.4
54
+ version: 3.0.6
61
55
  - !ruby/object:Gem::Dependency
62
56
  name: relaton-render
63
57
  requirement: !ruby/object:Gem::Requirement