unicode-types 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +14 -4
- data/MIT-LICENSE.txt +1 -1
- data/README.md +4 -4
- data/data/types.marshal.gz +0 -0
- data/lib/unicode/types/constants.rb +2 -2
- data/spec/unicode_types_spec.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a556877568c59a20132e53c0bf723ce414b2280f3944cc2c8653afa8f92708b3
|
4
|
+
data.tar.gz: f5a7dc3e9c1fcd4246b9d5cdc829602d4859b37c7d80680b3b6bcdbc1da19e77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9326274b2b5990d141fa5c726bd21b1919cc98ef72195a8ab448858817db635276ec2f71c3bee61d5749b8856e5ff219a8aa61d33b33ee27c90df7557e3aa5e1
|
7
|
+
data.tar.gz: 7e69e72802252216339f65e68559fa12136de8a7831414689c3a71f9828d420cf7a702bcb03b27da71f87585b3bcfcc3a427c32e660f190497b64437f1d42896
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,14 +1,24 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
unicode-types (1.
|
4
|
+
unicode-types (1.9.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
io-console (0.6.0)
|
10
|
+
irb (1.8.1)
|
11
|
+
rdoc
|
12
|
+
reline (>= 0.3.8)
|
13
|
+
minitest (5.20.0)
|
14
|
+
psych (5.1.0)
|
15
|
+
stringio
|
16
|
+
rake (13.0.6)
|
17
|
+
rdoc (6.5.0)
|
18
|
+
psych (>= 4.0.0)
|
19
|
+
reline (0.3.8)
|
20
|
+
io-console (~> 0.5)
|
21
|
+
stringio (3.0.8)
|
12
22
|
|
13
23
|
PLATFORMS
|
14
24
|
ruby
|
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -10,11 +10,11 @@ Determine the basic type of codepoints. This can be one of:
|
|
10
10
|
- Noncharacter
|
11
11
|
- Reserved
|
12
12
|
|
13
|
-
Unicode version: **15.
|
13
|
+
Unicode version: **15.1.0** (September 2023)
|
14
14
|
|
15
|
-
Supported Rubies: **3.
|
15
|
+
Supported Rubies: **3.2**, **3.1**, **3.0**
|
16
16
|
|
17
|
-
Old Rubies that might still work: **2.
|
17
|
+
Old Rubies that might still work: **2.X**
|
18
18
|
|
19
19
|
## Gemfile
|
20
20
|
|
@@ -43,5 +43,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
|
|
43
43
|
|
44
44
|
## MIT License
|
45
45
|
|
46
|
-
- Copyright (C) 2016-
|
46
|
+
- Copyright (C) 2016-2023 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
47
47
|
- Unicode data: http://www.unicode.org/copyright.html#Exhibit1
|
data/data/types.marshal.gz
CHANGED
Binary file
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
module Unicode
|
4
4
|
module Types
|
5
|
-
VERSION = "1.
|
6
|
-
UNICODE_VERSION = "15.
|
5
|
+
VERSION = "1.9.0"
|
6
|
+
UNICODE_VERSION = "15.1.0"
|
7
7
|
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
|
8
8
|
INDEX_FILENAME = (DATA_DIRECTORY + "/types.marshal.gz").freeze
|
9
9
|
end
|
data/spec/unicode_types_spec.rb
CHANGED
@@ -17,7 +17,7 @@ describe Unicode::Types do
|
|
17
17
|
end
|
18
18
|
|
19
19
|
it "will call .type for every character" do
|
20
|
-
mocked_method =
|
20
|
+
mocked_method = Minitest::Mock.new
|
21
21
|
mocked_method.expect :call, "first type", ["A"]
|
22
22
|
mocked_method.expect :call, "second type", ["2"]
|
23
23
|
Unicode::Types.stub :type, mocked_method do
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicode-types
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: "[Unicode 15.
|
13
|
+
description: "[Unicode 15.1.0] Determines the very basic type of codepoints (one of:
|
14
14
|
Graphic, Format, Control, Private-use, Surrogate, Noncharacter, Reserved)"
|
15
15
|
email:
|
16
16
|
- hi@ruby.consulting
|
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
requirements: []
|
56
|
-
rubygems_version: 3.
|
56
|
+
rubygems_version: 3.4.4
|
57
57
|
signing_key:
|
58
58
|
specification_version: 4
|
59
59
|
summary: Determines the very basic type of a code point
|