Skip to content

Commit

Permalink
Merge pull request #117 from dduugg/bump-unicode-display_width
Browse files Browse the repository at this point in the history
Support unicode-display_width v2.0.0
  • Loading branch information
nateberkopec authored Feb 4, 2021
2 parents f06ffb4 + 5e4305f commit 37f13c1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: .
specs:
terminal-table (3.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (>= 1.1.1, < 3)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -30,7 +30,7 @@ GEM
term-ansicolor (1.7.1)
tins (~> 1.0)
tins (1.0.1)
unicode-display_width (1.7.0)
unicode-display_width (2.0.0)

PLATFORMS
ruby
Expand Down
2 changes: 1 addition & 1 deletion lib/terminal-table/cell.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'unicode/display_width/no_string_ext'
require 'unicode/display_width'

module Terminal
class Table
Expand Down
2 changes: 1 addition & 1 deletion lib/terminal-table/table.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'unicode/display_width/no_string_ext'
require 'unicode/display_width'

module Terminal
class Table
Expand Down
2 changes: 1 addition & 1 deletion terminal-table.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "term-ansicolor"
spec.add_development_dependency "pry"

spec.add_runtime_dependency "unicode-display_width", ["~> 1.1", ">= 1.1.1"]
spec.add_runtime_dependency "unicode-display_width", [">= 1.1.1", "< 3"]
end

0 comments on commit 37f13c1

Please sign in to comment.