Tomlrb v2.0.0 Release Notes

Release Date: 2020-11-26 // over 3 years ago
    • Conform to TOML v1.0.0-rc3
    Breanking Changes

    TOML v0.5.0 introduced new value types: Local Date-Time, Local Date and Local Time which represent time without time zone information. Tomlrb also introduced corresponding classes starting from v2.0.0. By this change, some table values such as 2020-11-24T20:32:18, 2020-11-24 or 20:32:18 are not treated as strings but as new the classes Tomlrb::LocalDateTime, Tomlrb::LocalDate and Tomlrb::LocalTime respectively. You can get the string values by calling #to_s method on any of those classes. Additionally, You can also get Time objects with the #to_time method. See API documentation for the methods' details.

Previous changes from v1.3.0

    • 🛠 Fix error with falsy table values