-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boolean values get decoded as integers rather than as booleans #6
Comments
Thanks for the report, this has been fixed in the next version, which will be released soon. |
Great, thank you! |
@LebJe you may also want to update the embedded toml++; it's at v3.3.0 now and the last few releases have fixed a number of fun surprises I've discovered since the version currently used by this lib. |
LebJe
added a commit
that referenced
this issue
Feb 12, 2023
* Added `terseKeyValuePairs` to the list of formatting options for `toml.encode` * Tables can be made inline. * `toml.decode` can decode date, time and date-time into userdata or plain tables. * Use luaunit instead of busted for testing * Boolean values are decoded as booleans instead of integers. (#6) * Run tests on Windows * Start preparing for TOMLInt (userdata type for formatted integers)
Merged
Merged
LebJe
added a commit
that referenced
this issue
Feb 12, 2023
* Updated to toml++ v3.3.0 * Added `terseKeyValuePairs` to the list of formatting options for `toml.encode` * Tables can be made inline. * `toml.decode` can decode date, time and date-time into userdata or plain tables. * Use luaunit instead of busted for testing * Boolean values are decoded as booleans instead of integers. (#6) * Run tests on Windows * Start preparing for TOMLInt (userdata type for formatted integers) * If `lua` is not available, use `luajit` (Linux CI) * Update TOC * Date, time and date-time should not be quoted by default. * Update Changelog
@SamuelSwartzberg 0.2.0 is released! |
Nice, thanks again! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install log:
Lua 5.4, macOS 12.4, using via Hammerspoon.
The text was updated successfully, but these errors were encountered: