Change log¶ ↑
v0.8.0 - 2020-07-04¶ ↑
Changed¶ ↑
-
Change gemspec to require Ruby 2.0 or higher
-
Change
Pastel#new
to use keyword arguments in place of hash options -
Change to freeze all strings
-
Remove equatable dependency
Fixed¶ ↑
-
Fix Pastel#strip to recognise no-number reset by DanielVartanov(@DanielVartanov)
-
Fix Pastel#undecorate to correctly assign styles for nested colors
v0.7.4 - 2020-05-08¶ ↑
Fixed¶ ↑
-
Fix ColorParser#undecorate to require direct dependency by Nick Pezza(@npezza93)
v0.7.3 - 2019-06-16¶ ↑
Changed¶ ↑
-
Change gemspec to load required files directly without git
-
Change to update tty-color & equatable dependency versions
Fixed¶ ↑
-
Fix Delegator warning
v0.7.2 - 2017-11-09¶ ↑
Changed¶ ↑
-
Change to load relative file paths
-
Change to allow
#alias_color
to accept multiple colors by Jared Ning (@ordinaryzelig)
v0.7.1 - 2017-01-09¶ ↑
Changed¶ ↑
-
Change to load specific files when needed
-
Change to freeze ANSI attributes
-
Change to directly assign enabled attribute
v0.7.0 - 2016-12-27¶ ↑
Changed¶ ↑
-
Enabled colors on Windows by default
-
Update tty-color dependency
Fixed¶ ↑
-
Fix Color#decorate to prevent redecoration with the same color
v0.6.1 - 2016-04-09¶ ↑
Fixed¶ ↑
-
Fix decorate to apply color to non zero length strings
v0.6.0 - 2016-01-15¶ ↑
Added¶ ↑
-
Add helper functions foreground?, background?, style to ANSI module
-
Add ColorParser for parsing color symbols out of text
-
Add Pastel#undecorate for parsing color names out of strings
Changed¶ ↑
-
Change to use tty-color for color capabilities detection
-
Change to move enabled option to
Pastel#new
-
Improve performance of Color#lookup
-
Change Color#decorate performance to be 6x faster!
-
Change Color DSL styling to be 3x faster!
Fixed¶ ↑
-
Fix strip to only remove color sequences
-
Fix decorate to pass through original text when decorating without colors
-
Fix decorate to work correctly with nested background colors
v0.5.3 - 2015-01-05¶ ↑
Fixed¶ ↑
-
Change gemspec to fix dependencies requirement
v0.5.2 - 2015-11-27 (Nov 27, 2015)¶ ↑
-
Change Color#decorate to accept non-string values and immediately return
v0.5.1 - 2015-09-18¶ ↑
Added¶ ↑
-
Add ability to call detached instance with array access
v0.5.0 - 2015-09-13¶ ↑
Added¶ ↑
-
Add external dependency to check for color support
-
Add colored? to check if string has color escape codes
-
Add eachline option to allow coloring of multiline strings
Changed¶ ↑
-
Further refine strip method accuracy
Fixed¶ ↑
-
Fix redefining inspect method
-
Fix string representation for pastel instance
v0.4.0 - 2014-11-22¶ ↑
Added¶ ↑
-
Add ability to detach color combination for later reuse
-
Add ability to nest styles with blocks
Fixed¶ ↑
-
Fix Delegator#respond_to method to correctly report existence of methods
v0.3.0 - 2014-11-08¶ ↑
Added¶ ↑
-
Add ability to alias colors through alias_color method
-
Add ability to alias colors through the environment variable
-
Improve performance of
Pastel::Color
styles and lookup methods
Fixed¶ ↑
-
Fix bug concerned with lack of escaping for nested styles
v0.2.1 - 2014-10-13¶ ↑
Fixed¶ ↑
-
Fix issue #1 with unitialize dependency
v0.2.0 - 2014-10-12¶ ↑
Added¶ ↑
-
Add supports? to Color to check for terminal color support
-
Add ability to force color support through :enabled option
Changed¶ ↑
-
Change gemspec to include equatable as dependency
-
Change Delegator to stop creating instances and improve performance