relaton-cli 3.0.4 → 3.0.5
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/CLAUDE.md +2 -1
- data/Gemfile +7 -13
- data/lib/relaton/cli/index_site_generator.rb +6 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f1db1324238cf7d91493d23aa7d8c00c8481d05f832485c9a635bb747dadaa5
|
|
4
|
+
data.tar.gz: 97f1b4aadd030302342ceedd3728d1d2a7bdd70e40eee6a99e871d01d6ea4254
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86535e1859d781ee4314e8679d94332d3cd9b6f0fa76469562dcb4cd4f7e37a47ff50c33b6dac53b8434d44ddb0d11caff99c355d5f082878f779879dacda017
|
|
7
|
+
data.tar.gz: e510aa9a1da41f511f4f916d3f223faae642b293f169017de2e17d06ecdba3b74e7a197d8da3e4ff9a2b0b2e08c6a6019c5d2071d70991556411cf554881a749
|
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
|
|
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
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
|
|
13
|
-
#
|
|
14
|
-
# 1.3.
|
|
15
|
-
|
|
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
|
-
|
|
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
|
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
|
+
version: 3.0.5
|
|
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-
|
|
11
|
+
date: 2026-11-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: liquid
|
|
@@ -50,14 +50,14 @@ dependencies:
|
|
|
50
50
|
requirements:
|
|
51
51
|
- - '='
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: 3.0.
|
|
53
|
+
version: 3.0.5
|
|
54
54
|
type: :runtime
|
|
55
55
|
prerelease: false
|
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
57
|
requirements:
|
|
58
58
|
- - '='
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: 3.0.
|
|
60
|
+
version: 3.0.5
|
|
61
61
|
- !ruby/object:Gem::Dependency
|
|
62
62
|
name: relaton-render
|
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|