Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use colorize dedicated method for color and modes #199

Merged
merged 1 commit into from
Dec 16, 2014

Conversation

fazibear
Copy link

Hey, colorize gem provides dedicated methods to list all modes and colors.
This merge request fix this problem.

@leehambley
Copy link
Member

Thanks we have a cross-compatible API in another PR.

@leehambley leehambley reopened this Dec 16, 2014
leehambley added a commit that referenced this pull request Dec 16, 2014
Use colorize dedicated method for color and modes
@leehambley leehambley merged commit db4d1d3 into capistrano:master Dec 16, 2014
@leehambley
Copy link
Member

Thanks, so I've merged two PRs fixing the same thing, so I'll clean this up tomorrow. Fix the version dependency, and get a new release out. Expect 1.6.1 in the next ~12 hrs or so.

@sponomarev
Copy link
Contributor

This fails old colorize API

@leehambley
Copy link
Member

Seems like Colourize can't really be said in any strong way to have an API...

@sponomarev
Copy link
Contributor

Yes))) but you wanted to support both versions) my first suggestion was to upgrade sshkit to fit latest colorize...

@leehambley
Copy link
Member

Indeed, this fixes it well enough, and all 0.7 series covers the last two years - http://rubygems.org/gems/colorize/versions

@leehambley
Copy link
Member

Thanks for support, v1.6.1 should fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants