Closed greysteil closed 6 years ago
Updated to just be the comment parsing change and a very minor test cleanup - should be easy to merge now 🙂.
Thanks for the quick turn-around! ⚡️
@greysteil new version pushed, you can update your gem now ;)
Thank you so much for taking care of this bug, and cleaning the warnings!
First up, thanks for
toml-rb
! I use it in Dependabot and it's rad.I came across a valid TOML file that it couldn't parse (this one) and dug into how the grammars work. This PR fixes the issue, which was that linespaces between comment lines were causing issues. I've added a test, too.
To make it easier for others to get up-and-running hacking on the library I've also committed the setup steps I made (i.e., adding support for Bundler) and cleaned up some deprecation warnings.