HighLine v2.0.0-develop.2 Release Notes

Release Date: 2015-09-09 // almost 7 years ago
  • (by Abinoam P. Marques Jr. - @abinoam)

    NOTES

    ๐Ÿ This version brings greater compatibility with JRuby and Windows. But we still have a lot of small issues in both platforms. We were able to unify/converge all approaches into using io/console, so we could delete old code that relied solely on stty, termios, java api and ๐Ÿ windows apis (DL and Fiddle).

    โœ… Another improvement is the beginning of what I called "acceptance tests". โœ… If you type rake acceptance you'll be guided through some tests ๐Ÿ‘€ where you have to input some thing and see if everything work as expected. This makes easier to catch bugs that otherwise would be over-sighted.

    ๐Ÿ”„ CHANGES SUMMARY

    • ๐Ÿ›  Fix Simplecov - it was reporting erroneous code coverage
    • โž• Add new tests. Improves code coverage
    • ๐Ÿ’… Extract HighLine::BuiltinStyles
    • Try to avoid nil checking
    • Try to avoid class variables (mis)use
    • ๐Ÿ›  Fix RDoc include path and some small fixes to the docs
    • ๐Ÿšš Move HighLine::String to its own file
    • โž• Add HighLine::Terminal::IOConsole
      • Add an IOConsoleCompatibility module with some stubbed methods for using at StringIO, File and Tempfile to help on tests.
      • Any enviroment that can require 'io/console' will use HighLine::Terminal::IOConsole by default. This kind of unifies most environments where HighLine runs. For example, we can use Terminal::IOConsole on JRuby!!!
    • โž• Add ruby-head and JRuby (19mode and head) to Travis CI matrix. Yes, this our first step to a more peaceful JRuby compatibility.
    • โž• Add AppVeyor Continuous Integration for Windows
    • Add acceptance tests for HighLine
      • Use rake acceptance to run them
      • Basically it interactively asks the user to confirm if some expected HighLine behavior is actually happening. After that it gather some environment debug information, so the use could send to the HighLine contributors in case of failure.
    • โœ‚ Remove old and unused files (as a result of relying on io/console)
      • JRuby
      • Windows (DL and Fiddle)
      • Termios
    • ๐Ÿ›  Fix some small (old and new) bugs
    • ๐Ÿ Make some more tuning for Windows compatibility
    • ๐Ÿ’Ž Make some more tuning for JRuby compatibility