Unverified Commit 6d8e5d0e authored by orta's avatar orta Committed by Samuel Giddins

Migrate to colored2 instead of unmaintained colored

parent fada1daa
...@@ -8,7 +8,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre` ...@@ -8,7 +8,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Enhancements ##### Enhancements
* None. * Use the colored2 gem instead of colored.
[Orta Therox](https://github.com/orta)
[xcodeproj#463](https://github.com/CocoaPods/Xcodeproj/pull/463)
##### Bug Fixes ##### Bug Fixes
......
...@@ -114,7 +114,7 @@ PATH ...@@ -114,7 +114,7 @@ PATH
cocoapods-stats (>= 1.0.0, < 2.0) cocoapods-stats (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.1.2, < 2.0) cocoapods-trunk (>= 1.1.2, < 2.0)
cocoapods-try (>= 1.1.0, < 2.0) cocoapods-try (>= 1.1.0, < 2.0)
colored (~> 1.2) colored2 (~> 3.1)
escape (~> 0.0.4) escape (~> 0.0.4)
fourflusher (~> 2.0.1) fourflusher (~> 2.0.1)
gh_inspector (~> 1.0) gh_inspector (~> 1.0)
......
...@@ -146,7 +146,7 @@ begin ...@@ -146,7 +146,7 @@ begin
lint = %w(ALL LINT).&(tasks).any? lint = %w(ALL LINT).&(tasks).any?
# Forcing colored to be included on String before Term::ANSIColor, so that Inch will work correctly. # Forcing colored to be included on String before Term::ANSIColor, so that Inch will work correctly.
require 'colored' require 'colored2'
ENV['GENERATE_COVERAGE'] = 'true' ENV['GENERATE_COVERAGE'] = 'true'
puts "\033[0;32mUsing #{`ruby --version`}\033[0m" puts "\033[0;32mUsing #{`ruby --version`}\033[0m"
......
...@@ -42,7 +42,7 @@ Gem::Specification.new do |s| ...@@ -42,7 +42,7 @@ Gem::Specification.new do |s|
## Version 5 needs Ruby 2.2, so we specify an upper bound to stay compatible with system ruby ## Version 5 needs Ruby 2.2, so we specify an upper bound to stay compatible with system ruby
s.add_runtime_dependency 'activesupport', '>= 4.0.2', '< 5' s.add_runtime_dependency 'activesupport', '>= 4.0.2', '< 5'
s.add_runtime_dependency 'colored', '~> 1.2' s.add_runtime_dependency 'colored2', '~> 3.1'
s.add_runtime_dependency 'escape', '~> 0.0.4' s.add_runtime_dependency 'escape', '~> 0.0.4'
s.add_runtime_dependency 'fourflusher', '~> 2.0.1' s.add_runtime_dependency 'fourflusher', '~> 2.0.1'
s.add_runtime_dependency 'gh_inspector', '~> 1.0' s.add_runtime_dependency 'gh_inspector', '~> 1.0'
......
require 'colored' require 'colored2'
require 'claide' require 'claide'
require 'molinillo/errors' require 'molinillo/errors'
......
...@@ -6,7 +6,7 @@ module Pod ...@@ -6,7 +6,7 @@ module Pod
# information and for a verbose mode. # information and for a verbose mode.
# #
module UserInterface module UserInterface
require 'colored' require 'colored2'
@title_colors = %w( yellow green ) @title_colors = %w( yellow green )
@title_level = 0 @title_level = 0
......
...@@ -46,8 +46,8 @@ require 'rubygems' ...@@ -46,8 +46,8 @@ require 'rubygems'
require 'bundler/setup' require 'bundler/setup'
require 'pretty_bacon' require 'pretty_bacon'
require 'colored'
require 'CLIntegracon' require 'CLIntegracon'
require 'colored2'
require 'cocoapods-core/lockfile' require 'cocoapods-core/lockfile'
require 'cocoapods-core/yaml_helper' require 'cocoapods-core/yaml_helper'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment