ku1ik / rainbow

Ruby gem for colorizing printed text on ANSI terminals
MIT License
813 stars 68 forks source link

use native ANSI color support on Ruby versions >= 2 #23

Closed txag1995 closed 9 years ago

txag1995 commented 9 years ago

Beginning with version 2, Ruby include native ANSI color support on Windows.

win32console gem fails to load on Windows when Ruby version >= 2. This causes rainbow to disable itself.

txag1995 commented 9 years ago

Fixes https://github.com/sickill/rainbow/issues/24

coveralls commented 9 years ago

Coverage Status

Coverage remained the same at 99.53% when pulling e0f6dd3abf46251d3a0692848bc07d528b9944a4 on txag1995:fix_color_for_ruby2_on_windows into d4e1a00cddfbf1f83d9e0180075ea636eb75010f on sickill:master.

coveralls commented 9 years ago

Coverage Status

Coverage remained the same at 99.53% when pulling 70e36808a675875a6556460d5b6a7f171432f500 on txag1995:fix_color_for_ruby2_on_windows into d4e1a00cddfbf1f83d9e0180075ea636eb75010f on sickill:master.

coveralls commented 9 years ago

Coverage Status

Coverage remained the same at 99.53% when pulling 70e36808a675875a6556460d5b6a7f171432f500 on txag1995:fix_color_for_ruby2_on_windows into d4e1a00cddfbf1f83d9e0180075ea636eb75010f on sickill:master.

coveralls commented 9 years ago

Coverage Status

Coverage remained the same at 99.53% when pulling 34168425e352c9b5f1dafe633308fb4ea1aa1e67 on txag1995:fix_color_for_ruby2_on_windows into d4e1a00cddfbf1f83d9e0180075ea636eb75010f on sickill:master.

ku1ik commented 9 years ago

Awesome, thanks!