hegeltest 0.5.1 → 0.5.2

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: b4d64e49f806952b3c95f8f6d163d87c8ed718e9d5f4feee6307c28ad17c2db5
4
- data.tar.gz: 89f510f4cc4c9f3e59c5e48ed38735d96fe79a98ea0b7579a5a1f7cdda1ac8aa
3
+ metadata.gz: 050dad9d0ff9759857669ca00e9cd06a1cfdb477057c4ae57aee108541bca4bd
4
+ data.tar.gz: de5e05dcd08f7fe3f88f52d59cbf3baa2a1a27a35461e6933b41ab60efbd8826
5
5
  SHA512:
6
- metadata.gz: a6eb6d9b2a9c54caa3f428bfd543b775ec84c8f894b472cd68bf0daa5b4ffd00393a5724e7091082558f949e80512681632bd5519b8e3a9dba7039cdd6326255
7
- data.tar.gz: 6c56ccf4cc4d76d5b6841d5a691f742ae840efe099e488a9421c1435be230b01f7f2ece41de71ed1d783d527303c040ddbc92d01530d8fbb61832c9ded53f5dc
6
+ metadata.gz: 10222418a9cb8ada863b70be2fe7be8ecf9671f7853880139b814836d88b4bdf1aa4e398e2d08522dfd7838814aaa236545ce84198e83ee235851689691114aa
7
+ data.tar.gz: 70d71fc4106eaf3038685eac2c2703f0f60330213cbe00759806c01a2c58d64f1079274da259812daa4718a9e27f026b9d61397b53b926cfa5ce2948d4ace80f
data/CHANGELOG.md CHANGED
@@ -2,6 +2,29 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.5.2] - 2026-11-14
6
+
7
+ ### Engine: libhegel 0.51.5 (was 0.51.1)
8
+
9
+ The [libhegel 0.51.5 release notes](https://github.com/hegeldev/hegel/releases/tag/libhegel/0.51.5)
10
+ describe 0.51.5. The move also includes 0.51.2, 0.51.3, and 0.51.4, and the
11
+ [libhegel changelog at 0.51.5](https://github.com/hegeldev/hegel/blob/libhegel/0.51.5/libhegel/CHANGELOG.md)
12
+ describes all four releases.
13
+
14
+ Each platform gem carries `libhegel` 0.51.5. A caller has nothing to
15
+ change. The public methods keep their signatures and return values.
16
+
17
+ In 0.51.4, the engine shrinks two kinds of recursive values better. A
18
+ recursive value whose branches can hold one child can now shrink to a
19
+ branch of one child. A value that the engine found after it abandoned
20
+ earlier attempts to draw it now shrinks fully. A failure report can so
21
+ show a smaller counterexample than before.
22
+
23
+ In 0.51.5, the engine adds two functions, `hegel_pause_faults` and
24
+ `hegel_unpause_faults`. These bindings do not call them, and this release
25
+ does not add a way to pause faults. 0.51.2 and 0.51.3 change only the
26
+ internals of the engine.
27
+
5
28
  ## [0.5.1] - 2026-11-11
6
29
 
7
30
  ### Engine: libhegel 0.51.1 (was 0.50.0)
@@ -545,6 +568,7 @@ The engine is called through the `ffi` gem. Each platform gem carries the
545
568
  matching `libhegel` 0.32.5 build. The platform-independent gem carries none,
546
569
  so a run on it needs `HEGEL_LIBHEGEL_PATH` pointing at a local build.
547
570
 
571
+ [0.5.2]: https://github.com/meganemura/hegel-ruby/releases/tag/v0.5.2
548
572
  [0.5.1]: https://github.com/meganemura/hegel-ruby/releases/tag/v0.5.1
549
573
  [0.5.0]: https://github.com/meganemura/hegel-ruby/releases/tag/v0.5.0
550
574
  [0.4.1]: https://github.com/meganemura/hegel-ruby/releases/tag/v0.4.1
@@ -5,5 +5,5 @@ module Hegel
5
5
  # Hegel::VERSION (the gem's own release): hegel-go and hegel-typescript keep
6
6
  # the two separate too, so bumping the pinned engine can land as its own
7
7
  # commit without also releasing a new gem version.
8
- LIBHEGEL_VERSION = "0.51.1"
8
+ LIBHEGEL_VERSION = "0.51.5"
9
9
  end
data/lib/hegel/runner.rb CHANGED
@@ -202,9 +202,9 @@ module Hegel
202
202
  # Pulls test cases from +run+ until hegel_next_test_case reports none
203
203
  # left (a nil out-parameter, not an error). Never counts iterations
204
204
  # itself: test_cases bounds generation, not how many times shrinking
205
- # and rejected cases call the body. Measured against libhegel 0.51.1, a
205
+ # and rejected cases call the body. Measured against libhegel 0.51.5, a
206
206
  # run configured for 20 test cases whose body rejected nearly every case
207
- # took 858 to 1842 iterations over 30 runs. +stats+ does its own, different counting
207
+ # took 581 to 1768 iterations over 30 runs. +stats+ does its own, different counting
208
208
  # -- see GenerationStats above.
209
209
  def drive(impl, ctx, run, grammars, stats, captures, &block)
210
210
  loop do
data/lib/hegel/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hegel
4
- VERSION = "0.5.1"
4
+ VERSION = "0.5.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hegeltest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - meganemura