Skip to content

Commit

Permalink
#27 Replace 'colorize' gem with 'rainbow' gem, for a lower friction l…
Browse files Browse the repository at this point in the history
…icensing
  • Loading branch information
rogerluan authored Feb 12, 2023
2 parents eecad34 + 3a1f705 commit 783e911
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion arkana.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion lib/arkana/helpers/ui.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 783e911

Please sign in to comment.