Skip to content

Commit

Permalink
Support Tarantool 3.1.X (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyarock01 authored Jul 22, 2024
1 parent 87dfa76 commit 96815d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Currently supported versions
* 1.10
* 2.x
* 3.0.x
* 3.1.x

## `_G`lobal

Expand Down
2 changes: 1 addition & 1 deletion kit/loc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ repeat
elseif (0+maj) == 2 then
if (0+min) <= 11 then break end -- <= 2.10 is acceptable
elseif (0+maj) == 3 then
if (0+min) == 0 then break end -- < 3.1 is acceptable
if (0+min) <= 1 then break end -- <= 3.1 is acceptable
end
error(string.format("Version %s not supported", _TARANTOOL))
until true
Expand Down

0 comments on commit 96815d2

Please sign in to comment.