Skip to content

Commit

Permalink
Bump unicode-emoji to 4.0 since REGEX_EMOJI_KEYCAP is used …
Browse files Browse the repository at this point in the history
Also set required Ruby to 2.5, which is the required Ruby version
of unicode-emoji
  • Loading branch information
janlelis committed Nov 13, 2024
1 parent 6d52a83 commit 7ae8ca2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
please migrate to the keyword arguments API
- Gem raises `ArgumentError` for ambiguous values other than 1 or 2
- Performance optimizations
- Require Ruby 2.5

## 2.6.0

Expand Down
6 changes: 3 additions & 3 deletions unicode-display_width.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Gem::Specification.new do |s|
s.email = ["hi@ruby.consulting"]
s.homepage = "https://github.com/janlelis/unicode-display_width"
s.summary = "Determines the monospace display width of a string in Ruby."
s.description = "[Unicode #{Unicode::DisplayWidth::UNICODE_VERSION}] Determines the monospace display width of a string using EastAsianWidth.txt, Unicode general category, and other data."
s.description = "[Unicode #{Unicode::DisplayWidth::UNICODE_VERSION}] Determines the monospace display width of a string using EastAsianWidth.txt, Unicode general category, Emoji specification, and other data."
s.files = Dir.glob(%w[{lib,data}/**/*])
s.extra_rdoc_files = ["README.md", "MIT-LICENSE.txt", "CHANGELOG.md"]
s.license = 'MIT'
s.required_ruby_version = '>= 2.4.0'
s.add_dependency 'unicode-emoji', '>= 3.8', '< 5.0'
s.required_ruby_version = '>= 2.5.0'
s.add_dependency 'unicode-emoji', '~> 4.0'
s.add_development_dependency 'rspec', '~> 3.4'
s.add_development_dependency 'rake', '~> 13.0'

Expand Down

0 comments on commit 7ae8ca2

Please sign in to comment.