namo.rb 0.32.10 → 0.32.12

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: 102a39ba577957cdb56d734c56e89093be6564c1e0e5a4f51ec1fcdda9d281a3
4
- data.tar.gz: bc01e5043bd56cc9e178074332b36524b400cef4ad4f3cb35f2e6b88a50a68d2
3
+ metadata.gz: 0b0447d1ba6224a3855a9fd546766ff83758e6e857b3377899386e23ac636871
4
+ data.tar.gz: 50e567acc7255c85336069f54ef5c52abe628a37d2fc9ce41cd280381c7c2cac
5
5
  SHA512:
6
- metadata.gz: 3e2c6203b00c8e4799f45702e1776d51415399b68587e73c43aa539bff007ef054c1a69c0d23abd78f63acfd9433d99811b470ff9dc16583b0359608da889e9c
7
- data.tar.gz: e10bcedae84d2a301a8f9188a5694f2f44202b6e8b787380fa698251ff8222b612265d741359596f98a823a3a172e20f7ca679119b7fb7783781cc0c6af8e25e
6
+ metadata.gz: d0f3a378f40350eb129a330d8787ac5136b2ece31d5d0393a113a730e0632fc1ef353d5a6f021ce61ab94ac0903a581115c1c61de67da48eabda039c0696ce22
7
+ data.tar.gz: c1557d964311bfbc3ed2eaa21cad54c2ea8b3a19c3abda6fa3f99a652381d0f694103a28ab83a41c761f6b255962f162273c205f16deeb29f091bd0933894ff1
data/CHANGELOG CHANGED
@@ -1,5 +1,22 @@
1
1
  # namo/CHANGELOG
2
2
 
3
+ ## 20261109
4
+
5
+ 0.32.12: + RUBY_COMPARISON.md: Namo is compared with Daru, Rover, Polars-ruby, and RedAmber.
6
+
7
+ 1. + RUBY_COMPARISON.md: Namo is compared with Daru 0.3, Rover 1.1.0, Polars-ruby 0.27.1, and RedAmber 0.5.2 on Ruby 4.0.7, feature by feature and in measured timings.
8
+ 2. + comparison/ruby_claims.rb: Runs every snippet in RUBY_COMPARISON.md, in order, then the probes behind its claims.
9
+ 3. + comparison/ruby_dataframes.rb: Times one workload in each library on generated data, having checked each answer against plain Ruby's.
10
+ 4. ~ comparison/setup: Builds a ruby environment as well, with the gems over Apache Arrow's GLib libraries from conda-forge, which RedAmber needs, and a ruby to run them with. Red Arrow takes the installed Arrow's version, since the two must match.
11
+ 5. ~ comparison/README.md: The two scripts and the ruby environment are described.
12
+ 6. ~ COMPARISON.md: Points to RUBY_COMPARISON.md.
13
+ 7. ~ Namo::VERSION: /0.32.11/0.32.12/
14
+
15
+ 0.32.11: ~ test/namo_test.rb: The two tests added in 0.32.10 pass under minitest 6.1.
16
+
17
+ 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.
18
+ 2. ~ Namo::VERSION: /0.32.10/0.32.11/
19
+
3
20
  ## 20261103
4
21
 
5
22
  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
@@ -2,5 +2,5 @@
2
2
  # Namo::VERSION
3
3
 
4
4
  class Namo
5
- VERSION = '0.32.10'
5
+ VERSION = '0.32.12'
6
6
  end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: namo.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.10
4
+ version: 0.32.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoran