HighLine v2.0.0-develop.2 Release Notes
Release Date: 2015-09-09 // over 8 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.
- Use
- โ 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