Skip to content

Commit 7ae8ca2

Browse files
committed
Bump unicode-emoji to 4.0 since REGEX_EMOJI_KEYCAP is used …
Also set required Ruby to 2.5, which is the required Ruby version of unicode-emoji
1 parent 6d52a83 commit 7ae8ca2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
please migrate to the keyword arguments API
2828
- Gem raises `ArgumentError` for ambiguous values other than 1 or 2
2929
- Performance optimizations
30+
- Require Ruby 2.5
3031

3132
## 2.6.0
3233

unicode-display_width.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ Gem::Specification.new do |s|
88
s.email = ["[email protected]"]
99
s.homepage = "https://github.com/janlelis/unicode-display_width"
1010
s.summary = "Determines the monospace display width of a string in Ruby."
11-
s.description = "[Unicode #{Unicode::DisplayWidth::UNICODE_VERSION}] Determines the monospace display width of a string using EastAsianWidth.txt, Unicode general category, and other data."
11+
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."
1212
s.files = Dir.glob(%w[{lib,data}/**/*])
1313
s.extra_rdoc_files = ["README.md", "MIT-LICENSE.txt", "CHANGELOG.md"]
1414
s.license = 'MIT'
15-
s.required_ruby_version = '>= 2.4.0'
16-
s.add_dependency 'unicode-emoji', '>= 3.8', '< 5.0'
15+
s.required_ruby_version = '>= 2.5.0'
16+
s.add_dependency 'unicode-emoji', '~> 4.0'
1717
s.add_development_dependency 'rspec', '~> 3.4'
1818
s.add_development_dependency 'rake', '~> 13.0'
1919

0 commit comments

Comments
 (0)