reline 0.3.8 → 0.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/reline/config.rb +1 -1
- data/lib/reline/general_io.rb +5 -1
- data/lib/reline/unicode/east_asian_width.rb +3 -3
- data/lib/reline/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f903d3b8f902335117d484007dcfbef5e8846061a8eb3c8820f9975c4c85ea5
|
|
4
|
+
data.tar.gz: 2ccb2d104c5c52b4e4f8ab1dd8a48ceb738fa03826ab62a7b38483d0f4f1288a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d8edd5b7d31464fbc150518f94d45d84466837fe78374dbc127f2226005eb73f2c238f274d685ed42c97db56e906fb90b5e6369dd03dbaeac4b6f2019f36cd68
|
|
7
|
+
data.tar.gz: 317225a1374e59f3dbb654b67a732fd3daf669fd13cab0673d73e0b952cc8d6fad554c4318366479d162890d0c538ca09cc902a1ad2fad0e42e4684b54f81c3e
|
data/lib/reline/config.rb
CHANGED
data/lib/reline/general_io.rb
CHANGED
|
@@ -3,7 +3,11 @@ require 'io/wait'
|
|
|
3
3
|
class Reline::GeneralIO
|
|
4
4
|
def self.reset(encoding: nil)
|
|
5
5
|
@@pasting = false
|
|
6
|
-
|
|
6
|
+
if encoding
|
|
7
|
+
@@encoding = encoding
|
|
8
|
+
elsif defined?(@@encoding)
|
|
9
|
+
remove_class_variable(:@@encoding)
|
|
10
|
+
end
|
|
7
11
|
end
|
|
8
12
|
|
|
9
13
|
def self.encoding
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
class Reline::Unicode::EastAsianWidth
|
|
2
2
|
# This is based on EastAsianWidth.txt
|
|
3
|
-
#
|
|
3
|
+
# UNICODE_VERSION = '15.1.0'
|
|
4
4
|
|
|
5
5
|
# Fullwidth
|
|
6
6
|
TYPE_F = /^[#{ %W(
|
|
@@ -60,14 +60,14 @@ class Reline::Unicode::EastAsianWidth
|
|
|
60
60
|
\u{2E80}-\u{2E99}
|
|
61
61
|
\u{2E9B}-\u{2EF3}
|
|
62
62
|
\u{2F00}-\u{2FD5}
|
|
63
|
-
\u{2FF0}-\u{
|
|
63
|
+
\u{2FF0}-\u{2FFF}
|
|
64
64
|
\u{3001}-\u{303E}
|
|
65
65
|
\u{3041}-\u{3096}
|
|
66
66
|
\u{3099}-\u{30FF}
|
|
67
67
|
\u{3105}-\u{312F}
|
|
68
68
|
\u{3131}-\u{318E}
|
|
69
69
|
\u{3190}-\u{31E3}
|
|
70
|
-
\u{
|
|
70
|
+
\u{31EF}-\u{321E}
|
|
71
71
|
\u{3220}-\u{3247}
|
|
72
72
|
\u{3250}-\u{4DBF}
|
|
73
73
|
\u{4E00}-\u{A48C}
|
data/lib/reline/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: reline
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- aycabta
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-10-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: io-console
|
|
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
72
72
|
- !ruby/object:Gem::Version
|
|
73
73
|
version: '0'
|
|
74
74
|
requirements: []
|
|
75
|
-
rubygems_version: 3.4.
|
|
75
|
+
rubygems_version: 3.4.13
|
|
76
76
|
signing_key:
|
|
77
77
|
specification_version: 4
|
|
78
78
|
summary: Alternative GNU Readline or Editline implementation by pure Ruby.
|