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 +4 -4
- data/CHANGELOG.md +24 -0
- data/lib/hegel/libhegel_version.rb +1 -1
- data/lib/hegel/runner.rb +2 -2
- data/lib/hegel/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: 050dad9d0ff9759857669ca00e9cd06a1cfdb477057c4ae57aee108541bca4bd
|
|
4
|
+
data.tar.gz: de5e05dcd08f7fe3f88f52d59cbf3baa2a1a27a35461e6933b41ab60efbd8826
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
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
|
|
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