namo.rb 0.32.10 → 0.32.11
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 +7 -0
- data/lib/Namo/VERSION.rb +1 -1
- data/test/namo_test.rb +2 -2
- 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: 1a779bff571ed33b0f11df7af1456c70212b0fde51552760b99abda949a3db57
|
|
4
|
+
data.tar.gz: f27816b28720d3d7c8d8b4511df430c4f12326c45a8fa3c17f9c64b36bfa6155
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ddcc73857b5a17493a633eac77df312f93f270c522f7c747bbe323335a90e9c7f3c63fd4693acffbf2b07cc718a45f7207a171f362dfe85194764c9787bcbbcc
|
|
7
|
+
data.tar.gz: 51f7c6b0ac40d6e07337ae9a797918eb1289c3cb97dd3d642408d185bd94383f3b5574376079492fe7472929f2683ecc04388462cfe580d4dcd1b5035614a3c0
|
data/CHANGELOG
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# namo/CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 20261109
|
|
4
|
+
|
|
5
|
+
0.32.11: ~ test/namo_test.rb: The two tests added in 0.32.10 pass under minitest 6.1.
|
|
6
|
+
|
|
7
|
+
1. ~ test/namo_test.rb: The Hashes the two access-scope tests expect are in braces, since minitest 6.1.0 takes a Hash given to must_equal without them as keyword arguments, leaving the expected value nil.
|
|
8
|
+
2. ~ Namo::VERSION: /0.32.10/0.32.11/
|
|
9
|
+
|
|
3
10
|
## 20261103
|
|
4
11
|
|
|
5
12
|
0.32.10: ~ Namo#materialising: A frozen Namo can be read again, and two threads reading one Namo no longer share a scope.
|
data/lib/Namo/VERSION.rb
CHANGED
data/test/namo_test.rb
CHANGED
|
@@ -322,7 +322,7 @@ describe Namo do
|
|
|
322
322
|
namo[:agg] = proc{|row, namo| namo.values(:base).first}
|
|
323
323
|
# :agg's formula calls values(:base) mid-materialisation; that nested call must
|
|
324
324
|
# reuse the open scope, not reset it, so the :x column that follows still builds.
|
|
325
|
-
_(namo.values(:agg, :x)).must_equal(agg: [2, 2, 2], x: [1, 2, 3])
|
|
325
|
+
_(namo.values(:agg, :x)).must_equal({agg: [2, 2, 2], x: [1, 2, 3]})
|
|
326
326
|
_(calls).must_equal 3
|
|
327
327
|
end
|
|
328
328
|
|
|
@@ -346,7 +346,7 @@ describe Namo do
|
|
|
346
346
|
namo[:reader] = proc{|row| released << true; holder.join; row[:n]}
|
|
347
347
|
holder = Thread.new{namo.values(:held)}
|
|
348
348
|
entered.pop
|
|
349
|
-
_(namo.values(:reader, :n)).must_equal(reader: [1], n: [1])
|
|
349
|
+
_(namo.values(:reader, :n)).must_equal({reader: [1], n: [1]})
|
|
350
350
|
_(holder.value).must_equal [1]
|
|
351
351
|
end
|
|
352
352
|
end
|