Skip to content

Update _VERSION to 3.1.3 - #80

Open
chiliec wants to merge 1 commit into
kikito:masterfrom
chiliec:fix-version-string
Open

chiliec wants to merge 1 commit into
kikito:masterfrom
chiliec:fix-version-string

Conversation

@chiliec

@chiliec chiliec commented Sep 6, 2026

Copy link
Copy Markdown

Fixes #79.

inspect._VERSION still reported inspect.lua 3.1.0 even though 3.1.1, 3.1.2 and 3.1.3 have been released (the CHANGELOG, tags and rockspecs all list 3.1.3). Anyone reading inspect._VERSION got a stale number.

Fix: bump the constant in inspect.tl to inspect.lua 3.1.3 and regenerate inspect.lua with tl gen so the generation check stays green.

Test: added a small spec asserting inspect._VERSION == 'inspect.lua 3.1.3'.

Validation (Lua 5.4, local):

  • tl gen inspect.tl → regenerated; a second tl gen produces an identical file (generation check passes)
  • luacheck inspect.lua → 0 warnings / 0 errors
  • busted → 50 successes / 0 failures
  • RED→GREEN: reverting the constant to 3.1.0 and regenerating makes the new spec fail (expected 'inspect.lua 3.1.3', got 'inspect.lua 3.1.0'); restoring it passes.

Happy to adjust if you'd rather not add the spec.

The _VERSION constant still reported 3.1.0 even though 3.1.1, 3.1.2 and
3.1.3 have been released. Sync it to the current release and add a spec
that guards the value.

Fixes kikito#79
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

_VERSION still says 3.1.0

1 participant