namo 0.13.0 → 0.13.1
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/CHANGELOG +14 -0
- data/README.md +2 -2
- data/lib/Namo/VERSION.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9dfca5e33dc24464a1e109e6b2a32ff5d85fd171c24497832ae5bda3f91e07dc
|
|
4
|
+
data.tar.gz: d6f4fc0cf6db0dfd349e77588d186c42ebeb0fffea32e55771549e4114f224c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46a4fcb9ec264f6ef718225995b4e83aeac410a0ba3c5a2c8591640ea89e6b9af4ee2a25e4ec91d739e54e159eea192a592dae2732166339206f66a93307631d
|
|
7
|
+
data.tar.gz: 867849106103a6cdeaea5c1a67eba12d4d4b4d2c5ea439b7c669fd723847998668d33834c0f5cf58305aeb01016fd875d064d149141e8e9efba355897e2855da
|
data/CHANGELOG
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
CHANGELOG
|
|
2
2
|
_________
|
|
3
3
|
|
|
4
|
+
20260604
|
|
5
|
+
0.13.1: Correct the row-order claim across the docs and document the same-dimension-order precondition.
|
|
6
|
+
|
|
7
|
+
1. ~ README.md: Scope the "row order is ignored" statement to the comparison operators
|
|
8
|
+
(==, eql?, ===, <, <=, >, >=) in the Equality section; drop "accident of ingestion".
|
|
9
|
+
+ Positive note that row order is preserved through to_h/values, each, first, last,
|
|
10
|
+
take, drop, and +.
|
|
11
|
+
2. ~ README.md: At Concatenation, state that the set operators require the same dimension
|
|
12
|
+
names in the same order, with guidance to normalise inputs to a common column order
|
|
13
|
+
before combining.
|
|
14
|
+
3. ~ ROADMAP.md: Scope the 0.6.0 section's "row order is an accident of ingestion" to the
|
|
15
|
+
comparison operators; drop "accident of ingestion". Date bumped to 20260604.
|
|
16
|
+
4. ~ Namo::VERSION: /0.13.0/0.13.1/
|
|
17
|
+
|
|
4
18
|
20260601
|
|
5
19
|
0.13.0: Polymorphic []= — proc registers a formula, scalar broadcasts to every row.
|
|
6
20
|
|
data/README.md
CHANGED
|
@@ -226,7 +226,7 @@ all_sales = q1_sales + q2_sales
|
|
|
226
226
|
# ]>
|
|
227
227
|
```
|
|
228
228
|
|
|
229
|
-
The dimensions must match —
|
|
229
|
+
The dimensions must match — the same dimension names in the same order — or the operator raises an `ArgumentError`. Two Namos holding the same columns in a different order must be normalised to a common column order before they can be combined. Formulae carry through from the left-hand side.
|
|
230
230
|
|
|
231
231
|
### Row Removal
|
|
232
232
|
|
|
@@ -449,7 +449,7 @@ This is the same pattern that makes `Array#-` useful with arrays that aren't sub
|
|
|
449
449
|
|
|
450
450
|
### Equality
|
|
451
451
|
|
|
452
|
-
Comparison on Namos is **multiset-theoretic on rows**: row order
|
|
452
|
+
Comparison on Namos is **multiset-theoretic on rows**: the comparison operators — `==`, `eql?`, `===`, `<`, `<=`, `>`, `>=` — ignore row order, so two Namos holding the same rows in a different order compare equal, while row multiplicities count (they *are* data). That stance is shared across the equality, pattern-match, and subset/superset operators documented below. Row order is otherwise preserved: `to_h` and `values` depend on it for columnar alignment, and `each`, `first`, `last`, `take`, `drop`, and `+` all observe it. It is the comparison operators alone that treat the sequence of rows as a multiset.
|
|
453
453
|
|
|
454
454
|
`==` is multiset equality on rows. Class and formulae are ignored; row order is ignored; row multiplicities are not.
|
|
455
455
|
|
data/lib/Namo/VERSION.rb
CHANGED