diff --git a/Gemfile.lock b/Gemfile.lock index 328b170..24fd936 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,15 +2,14 @@ PATH remote: . specs: arkana (1.3.0) - colorize (~> 0.8) dotenv (~> 2.7) + rainbow (~> 3.1.1) yaml (~> 0.2) GEM remote: https://rubygems.org/ specs: ast (2.4.2) - colorize (0.8.1) diff-lcs (1.5.0) docile (1.4.0) dotenv (2.8.1) diff --git a/arkana.gemspec b/arkana.gemspec index d208f82..9317fc5 100644 --- a/arkana.gemspec +++ b/arkana.gemspec @@ -20,8 +20,8 @@ Gem::Specification.new do |spec| spec.executables = ["arkana"] spec.require_paths = ["lib"] - spec.add_dependency "colorize", "~> 0.8" spec.add_dependency "dotenv", "~> 2.7" + spec.add_dependency "rainbow", "~> 3.1.1" spec.add_dependency "yaml", "~> 0.2" # For more information and examples about making a new gem, check out our guide at: https://bundler.io/guides/creating_gem.html diff --git a/lib/arkana/helpers/ui.rb b/lib/arkana/helpers/ui.rb index eed72ac..b3ce9c6 100644 --- a/lib/arkana/helpers/ui.rb +++ b/lib/arkana/helpers/ui.rb @@ -1,7 +1,8 @@ # frozen_string_literal: true require "logger" -require "colorize" +require "rainbow/refinement" +using Rainbow # Contains utilities related to display information to the user on the Terminal (the user's interface). module UI