unicode-display_width 3.0.0.pre → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24ff78422db61795aff270140d13402fb9d353b6e8fcf3f33c67cc48c8d1b9b8
4
- data.tar.gz: e6b5e5a3694cbdc95b4743763a416c6f760582b3ee8998a6410fba84384588b9
3
+ metadata.gz: 2d2f36aeac48ce4e9e4fb84f578bbf652d59ee81cca87f19608d302a0cf175bc
4
+ data.tar.gz: d7df0d9fe9d2cc82a615aaa2ceb0d149606d0992aeb9bc886f1ec565ed19ae5c
5
5
  SHA512:
6
- metadata.gz: 735eab64e91f4d12d22c3faf87531bfb0bab9f7ae1abbcef4756b263c1ed1201bf2ca7dea2499d32f523b9e3833d520ed6c73e508b02df7e3ab191380fa4db2d
7
- data.tar.gz: 8a52b16c3222e2ba99fffd5027dc95a4c0b8458dc7deb2df4cb6dde0fde4aac90337677047dd01a050c23fcb88a69532ad7a4d81be94edf5bad8903572e03ae7
6
+ metadata.gz: 5d5ec1bea71952674bb8d868d06eaf0d634869acbd57cf3bb2119e7b0b24b719ee193ac43cdc7b36146c35398b13e0e6567eea120ec7bc6abd91c68192786532
7
+ data.tar.gz: f6f94791603e6eb719e02e0054eb8a7b539747859ab460ecee61b4e383107594d1b9dc2aacae947542c4a8c8826e47e07659e3883e2e32051a81054f3bc8c75e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
- ## 3.0.0 (unreleased)
3
+ ## 3.0.1
4
+
5
+ - Add WezTerm and foot as good Emoji terminals
6
+
7
+ ## 3.0.0
4
8
 
5
9
  **Rework Emoji support:**
6
10
 
@@ -27,6 +31,7 @@
27
31
  please migrate to the keyword arguments API
28
32
  - Gem raises `ArgumentError` for ambiguous values other than 1 or 2
29
33
  - Performance optimizations
34
+ - Require Ruby 2.5
30
35
 
31
36
  ## 2.6.0
32
37
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Unicode
4
4
  class DisplayWidth
5
- VERSION = "3.0.0.pre"
5
+ VERSION = "3.0.1"
6
6
  UNICODE_VERSION = "16.0.0"
7
7
  DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/")
8
8
  INDEX_FILENAME = DATA_DIRECTORY + "/display_width.marshal.gz"
@@ -14,13 +14,15 @@ module Unicode
14
14
  end
15
15
 
16
16
  case ENV["TERM_PROGRAM"]
17
- when "iTerm.app"
17
+ when "iTerm.app", "WezTerm"
18
18
  return :all
19
19
  when "Apple_Terminal"
20
20
  return :rgi_uqe
21
21
  end
22
22
 
23
23
  case ENV["TERM"]
24
+ when "foot"
25
+ return :all
24
26
  when "contour"
25
27
  return :rgi_uqe
26
28
  when /kitty/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-display_width
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.pre
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis
@@ -14,22 +14,16 @@ dependencies:
14
14
  name: unicode-emoji
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '3.8'
20
- - - "<"
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: '5.0'
19
+ version: '4.0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: '3.8'
30
- - - "<"
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: '5.0'
26
+ version: '4.0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: rspec
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +53,8 @@ dependencies:
59
53
  - !ruby/object:Gem::Version
60
54
  version: '13.0'
61
55
  description: "[Unicode 16.0.0] Determines the monospace display width of a string
62
- using EastAsianWidth.txt, Unicode general category, and other data."
56
+ using EastAsianWidth.txt, Unicode general category, Emoji specification, and other
57
+ data."
63
58
  email:
64
59
  - hi@ruby.consulting
65
60
  executables: []
@@ -96,7 +91,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
91
  requirements:
97
92
  - - ">="
98
93
  - !ruby/object:Gem::Version
99
- version: 2.4.0
94
+ version: 2.5.0
100
95
  required_rubygems_version: !ruby/object:Gem::Requirement
101
96
  requirements:
102
97
  - - ">="