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 +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/unicode/display_width/constants.rb +1 -1
- data/lib/unicode/display_width/emoji_support.rb +3 -1
- metadata +8 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d2f36aeac48ce4e9e4fb84f578bbf652d59ee81cca87f19608d302a0cf175bc
|
4
|
+
data.tar.gz: d7df0d9fe9d2cc82a615aaa2ceb0d149606d0992aeb9bc886f1ec565ed19ae5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
|
@@ -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.
|
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: '
|
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: '
|
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
|
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.
|
94
|
+
version: 2.5.0
|
100
95
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
96
|
requirements:
|
102
97
|
- - ">="
|