interscript 3.4.0 → 3.5.0
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/interscript/node/item/alias.rb +5 -2
- data/lib/interscript/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c07cde4f6168fc8fefa3ea522ffa3ecf809801492861a18fc6456deb0baa36bb
|
|
4
|
+
data.tar.gz: 9cea9f897db3900314f2c41209d75e19c6a91aae513d2ae4b7c74a5cdd10ccdf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9fe0d7425cc3890e0e70ca12c2482b98280b27c7d3700b1092c9c3f78db24fd1984da7f8d18d41934f267f25181c8b12a10831c3c6f0c74e35785bae6481a20a
|
|
7
|
+
data.tar.gz: f4302ba9d6722cb9f96e2e766b08a09e0b02cb5387da7aab5f06b6fb4ac6cd3670f92828d20c7bbf033abb43f1fd7a477bdf44f236ab1e7a5dd6a4e50289fa10
|
|
@@ -14,12 +14,15 @@ class Interscript::Node::Item::Alias < Interscript::Node::Item
|
|
|
14
14
|
Interscript::Stdlib.boundary_like_alias?(name)
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
+
# rs parity (WO17): the deterministic parallel sort counts every
|
|
18
|
+
# alias as 1 (0 for none) — rs Item::max_length treats Prim/Alias
|
|
19
|
+
# uniformly, and resolving the expansion here would need document
|
|
20
|
+
# context the sort site does not carry.
|
|
17
21
|
def max_length
|
|
18
22
|
if stdlib?
|
|
19
23
|
[:none].include?(name) ? 0 : 1
|
|
20
24
|
else
|
|
21
|
-
|
|
22
|
-
raise NotImplementedError, "can't get a max length of this alias"
|
|
25
|
+
1
|
|
23
26
|
end
|
|
24
27
|
end
|
|
25
28
|
|
data/lib/interscript/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: interscript
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.5.0
|
|
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-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|