Upgrading highline 0.6 to 1
Breaking0.6.1 → 1.7.10Breaking3Platform1New34Changed18Fixed40Other10
BreakingUpgrade verdict
3 breaking changes and a platform requirement change.
In plain terms
- Removed unneeded Shebang lines (by Scott Gonyea).
- Removed a circular require that kept Ruby 1.9.2 from loading HighLine.
- Removed old and broken help tests.
- Drop support for Ruby 1.8 (Abinoam Marques Jr., ).
Must act 4 items need code or config changes
Ruby requirement changed in 1.7.1: > 0.0.0 → >= 1.9.3.
What you must change
Breaking3
Removed unneeded Shebang lines (by Scott Gonyea).
Removed a circular require that kept Ruby 1.9.2 from loading HighLine.
Removed old and broken help tests.
Platform1
Drop support for Ruby 1.8 (Abinoam Marques Jr., ).
API changes
Generated by DepDelta from published Ruby source. Not mixed with prose notes.
- removed:
const HighLine.BLACK - removed:
const HighLine.BLINK - removed:
const HighLine.BLUE - removed:
const HighLine.BOLD - removed:
const HighLine.CHARACTER_MODE - removed:
const HighLine.CLEAR - removed:
const HighLine.CONCEALED - removed:
const HighLine.CYAN - removed:
const HighLine.DARK - removed:
const HighLine.GREEN - removed:
const HighLine.MAGENTA - removed:
const HighLine.ON_BLACK - removed:
const HighLine.ON_BLUE - removed:
const HighLine.ON_CYAN - removed:
const HighLine.ON_GREEN - removed:
const HighLine.ON_MAGENTA - removed:
const HighLine.ON_RED - removed:
const HighLine.ON_WHITE - removed:
const HighLine.ON_YELLOW - removed:
const HighLine.RED - removed:
const HighLine.RESET - removed:
const HighLine.REVERSE - removed:
const HighLine.UNDERLINE - removed:
const HighLine.UNDERSCORE - removed:
const HighLine.WHITE - removed:
const HighLine.YELLOW - changed:
constructor HighLine(_ = …, _ = …, _ = …, _ = …) → constructor HighLine(_ = …, _ = …, _ = …, _ = …, _ = …, _ = …) - changed:
method HighLine.color(_, *) → method HighLine.color(*) - changed:
property HighLine.page_at: accessor → property HighLine.page_at: reader - changed:
property HighLine.wrap_at: accessor → property HighLine.wrap_at: reader - added:
class IO - added:
class Object - added:
class String - added:
class StringIO - added:
const HighLine.BASIC_COLORS - added:
const HighLine.COLORS - added:
const HighLine.STYLES - added:
const HighLine.VERSION - added:
method HighLine.color_code(*) - added:
method HighLine.indent(_ = …, _ = …, _ = …) - added:
method HighLine.indentation() - added:
method HighLine.newline() - added:
method HighLine.output_cols() - added:
method HighLine.output_rows() - added:
method HighLine.uncolor(_) - added:
method IO.getbyte() - added:
method Object.or_ask(*) - added:
method String.each_line() - added:
method StringIO.getbyte() - added:
property HighLine.indent_level: accessor - added:
property HighLine.indent_size: accessor - added:
property HighLine.multi_indent: accessor - added:
set HighLine.page_at(_) - added:
set HighLine.wrap_at(_) - added:
static method HighLine.String(_) - added:
static method HighLine.Style(*) - added:
static method HighLine.color(_, *) - added:
static method HighLine.color_code(*) - added:
static method HighLine.color_scheme() - added:
static method HighLine.colorize_strings() - added:
static method HighLine.const_missing(_) - added:
static method HighLine.supports_rgb_color?() - added:
static method HighLine.track_eof?() - added:
static method HighLine.uncolor(_) - added:
static method HighLine.use_color?() - added:
static method HighLine.using_color_scheme?() - added:
static set HighLine.color_scheme(_) - added:
static set HighLine.track_eof(_) - added:
static set HighLine.use_color(_)
- removed:
method Menu.to_str() - removed:
method Question.to_str() - changed:
method Menu.choice(_) → method Menu.choice(_, _ = …) - changed:
method Menu.select(_, _ = …) → method Menu.select(_, _, _ = …) - changed:
method Question.build_responses() → method Question.build_responses(_ = …, _ = …) - added:
class BLACK_STYLE < Style.new(:name=>:black, :builtin=>true, :code=>"\e[30m", :rgb=>[0, 0, 0]) - added:
class BLINK_STYLE < Style.new(:name=>:blink, :builtin=>true, :code=>"\e[5m") - added:
class BLUE_STYLE < Style.new(:name=>:blue, :builtin=>true, :code=>"\e[34m", :rgb=>[0, 0,128]) - added:
class BOLD_STYLE < Style.new(:name=>:bold, :builtin=>true, :code=>"\e[1m") - added:
class CLEAR_STYLE < Style.new(:name=>:clear, :builtin=>true, :code=>"\e[0m") - added:
class CONCEALED_STYLE < Style.new(:name=>:concealed, :builtin=>true, :code=>"\e[8m") - added:
class CYAN_STYLE < Style.new(:name=>:cyan, :builtin=>true, :code=>"\e[36m", :rgb=>[0,128,128]) - added:
class ColorScheme - added:
class DARK_STYLE < Style.new(:name=>:dark, :builtin=>true, :code=>"\e[2m") - added:
class ERASE_CHAR_STYLE < Style.new(:name=>:erase_char, :builtin=>true, :code=>"\e[P") - added:
class ERASE_LINE_STYLE < Style.new(:name=>:erase_line, :builtin=>true, :code=>"\e[K") - added:
class GRAY_STYLE < Style.new(:name=>:gray, :builtin=>true, :code=>"\e[37m", :rgb=>[192,192,192]) - added:
class GREEN_STYLE < Style.new(:name=>:green, :builtin=>true, :code=>"\e[32m", :rgb=>[0,128, 0]) - added:
class GREY_STYLE < Style.new(:name=>:grey, :builtin=>true, :code=>"\e[37m", :rgb=>[192,192,192]) - added:
class MAGENTA_STYLE < Style.new(:name=>:magenta, :builtin=>true, :code=>"\e[35m", :rgb=>[128, 0,128]) - added:
class NONE_STYLE < Style.new(:name=>:none, :builtin=>true, :code=>"\e[38m", :rgb=>[0, 0, 0]) - added:
class RED_STYLE < Style.new(:name=>:red, :builtin=>true, :code=>"\e[31m", :rgb=>[128, 0, 0]) - added:
class RESET_STYLE < Style.new(:name=>:reset, :builtin=>true, :code=>"\e[0m") - added:
class REVERSE_STYLE < Style.new(:name=>:reverse, :builtin=>true, :code=>"\e[7m") - added:
class SampleColorScheme < ColorScheme - added:
class Simulate - added:
class Style - added:
class UNDERLINE_STYLE < Style.new(:name=>:underline, :builtin=>true, :code=>"\e[4m") - added:
class UNDERSCORE_STYLE < Style.new(:name=>:underscore, :builtin=>true, :code=>"\e[4m") - added:
class WHITE_STYLE < Style.new(:name=>:white, :builtin=>true, :code=>"\e[37m", :rgb=>[192,192,192]) - added:
class YELLOW_STYLE < Style.new(:name=>:yellow, :builtin=>true, :code=>"\e[33m", :rgb=>[128,128, 0]) - added:
const SystemExtensions.CHARACTER_MODE - added:
const SystemExtensions.JRUBY - added:
const SystemExtensions.JRUBY_OVER_17 - added:
constructor ColorScheme(_ = …) - added:
constructor SampleColorScheme(_ = …) - added:
constructor Simulate(_) - added:
constructor Style(_ = …) - added:
method ColorScheme.[](_) - added:
method ColorScheme.[]=(_, _) - added:
method ColorScheme.definition(_) - added:
method ColorScheme.include?(_) - added:
method ColorScheme.keys() - added:
method ColorScheme.load_from_hash(_) - added:
method ColorScheme.to_hash() - added:
method Menu.help(_, _) - added:
method Menu.hidden(_, _ = …) - added:
method Menu.init_help() - added:
method Menu.to_s() - added:
method Question.first_answer() - added:
method Question.first_answer?() - added:
method Question.selection() - added:
method Question.to_s() - added:
method Simulate.eof?() - added:
method Simulate.getbyte() - added:
method Simulate.gets() - added:
method Style.blue() - added:
method Style.bright() - added:
method Style.code() - added:
method Style.color(_) - added:
method Style.dup() - added:
method Style.green() - added:
method Style.light() - added:
method Style.on() - added:
method Style.red() - added:
method Style.to_hash() - added:
method Style.variant(_, _ = …) - added:
method SystemExtensions.get_character(_ = …) - added:
method SystemExtensions.initialize_system_extensions() - added:
method SystemExtensions.raw_no_echo_mode() - added:
method SystemExtensions.restore_mode() - added:
method SystemExtensions.terminal_size() - added:
module StringExtensions - added:
module SystemExtensions - added:
property Question.completion: accessor - added:
property Question.directory: accessor - added:
property Question.first_answer: writer - added:
property Question.gather: accessor - added:
property Question.glob: accessor - added:
property Question.limit: accessor - added:
property Question.overwrite: accessor - added:
property Question.question: accessor - added:
property Question.readline: accessor - added:
property Question.verify_match: accessor - added:
property Style.builtin: accessor - added:
property Style.list: reader - added:
property Style.name: reader - added:
property Style.rgb: accessor - added:
static method Simulate.with(*) - added:
static method Style.ansi_rgb_to_hex(_) - added:
static method Style.code_index() - added:
static method Style.index(_) - added:
static method Style.list() - added:
static method Style.rgb(*) - added:
static method Style.rgb_hex(*) - added:
static method Style.rgb_number(*) - added:
static method Style.rgb_parts(_) - added:
static method Style.uncolor(_)
- added:
class String < ::String
- added:
const WinAPI.Handle - added:
module WinAPI - added:
static method WinAPI.GetConsoleScreenBufferInfo() - added:
static method WinAPI.GetConsoleScreenBufferInfo(_, _) - added:
static method WinAPI.GetStdHandle() - added:
static method WinAPI.GetStdHandle(_) - added:
static method WinAPI._getch()
- added:
class Crt < Handle.new("msvcrt") - added:
class Kernel32 < Handle.new("kernel32")