unicode-confusable 1.8.0 → 1.10.0

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: 75b8aaeac1757b067675420ceef3882d9846935bfb27678bf67575fb2d8fcbaf
4
- data.tar.gz: 950e1ddbe829d6af8b4389bfa7ca3b63cc71f472fcab4e6ddbd1b3eeaf60ad10
3
+ metadata.gz: e001a3462dfe6d2671e8c9e0aa586a5955627379d2a3cadabc2e3e331628c90a
4
+ data.tar.gz: c4d36984ad85c3d37965b0934c2f21ddc71afd8e1ea50366817cfe72ef6e7679
5
5
  SHA512:
6
- metadata.gz: 262ac3a5adfc105a5ca348b102627839048dff3977aa680e4516a82f7e365256f4438c44e3211daf449833710dd43d80b1ab182626214883f0df95db94d35060
7
- data.tar.gz: 63642a6f211f5a8ea512080ee1fe1e21ec45f40b7ec68fce4949748ceaac8e57536ed5c5c3cacd9e480921ca3ea35f306293d5d9c004f5ebd57049395f4c72cc
6
+ metadata.gz: 55bde5498357e1953f35644f4a044fce2dd4cbc35ebc094b74642de73b57fdf755a379edaeb2f1f6d0dffda822894e827ec51fd69aea11f996279165678da62b
7
+ data.tar.gz: 4c40931571b97cfeb0d5e7ecb488617e9b91ef9f595960f51cf830463619e4c4a22581d80f88c62fd5951506352def6c03408b3e3068241bb3a0b29bca2e7a44
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.10.0
4
+
5
+ - Unicode 15.1
6
+
7
+ ### 1.9.0
8
+
9
+ - Unicode 15.0
10
+
3
11
  ### 1.8.0
4
12
 
5
13
  - Unicode 14.0
data/Gemfile.lock CHANGED
@@ -1,18 +1,24 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unicode-confusable (1.7.0)
4
+ unicode-confusable (1.10.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- io-console (0.5.6)
10
- irb (1.2.9)
11
- reline (>= 0.1.5)
12
- minitest (5.10.2)
13
- rake (12.0.0)
14
- reline (0.1.10)
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)
15
20
  io-console (~> 0.5)
21
+ stringio (3.0.8)
16
22
 
17
23
  PLATFORMS
18
24
  ruby
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2016-2021 Jan Lelis, https://janlelis.com
1
+ Copyright (c) 2016-2023 Jan Lelis, https://janlelis.com
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -2,13 +2,13 @@
2
2
 
3
3
  Compares two strings if they are visually confusable as described in [Unicode® Technical Standard #39](https://www.unicode.org/reports/tr39/#Confusable_Detection): Both strings get transformed into a skeleton format before comparing them. The skeleton is generated by normalizing the string ([NFD](http://unicode.org/reports/tr15/#Norm_Forms)), replacing [confusable characters](https://unicode.org/Public/security/12.1.0/confusables.txt), and normalizing the string again.
4
4
 
5
- Unicode version: **14.0.0**\* (September 2021)
5
+ Unicode version: **15.1.0** (September 2023)
6
6
 
7
7
  \* The Unicode normalization [depends on your Ruby version](https://idiosyncratic-ruby.com/73-unicode-version-mapping.html)
8
8
 
9
- Supported Rubies: **3.0**, **2.7**
9
+ Supported Rubies: **3.2**, **3.1**, **3.0**
10
10
 
11
- Old Rubies which might still work: **2.6**, **2.5**, **2.4**, **2.3**, **2.2**
11
+ Old Rubies which might still work: **2.7**, **2.6**, **2.5**, **2.4**, **2.3**, **2.2**
12
12
 
13
13
  ## Usage
14
14
 
@@ -63,5 +63,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
63
63
 
64
64
  ## MIT License
65
65
 
66
- - Copyright (C) 2016-2021 Jan Lelis <https://janlelis.com>. Released under the MIT license.
66
+ - Copyright (C) 2016-2023 Jan Lelis <https://janlelis.com>. Released under the MIT license.
67
67
  - Unicode data: https://www.unicode.org/copyright.html#Exhibit1
Binary file
@@ -2,8 +2,8 @@
2
2
 
3
3
  module Unicode
4
4
  module Confusable
5
- VERSION = "1.8.0"
6
- UNICODE_VERSION = "14.0.0"
5
+ VERSION = "1.10.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 + "/confusable.marshal.gz").freeze
9
9
  end
@@ -16,6 +16,7 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
+ gem.metadata = { "rubygems_mfa_required" => "true" }
19
20
 
20
21
  gem.required_ruby_version = ">= 2.2"
21
22
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-confusable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.10.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: 2021-09-15 00:00:00.000000000 Z
11
+ date: 2023-10-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: "[Unicode 14.0.0] Compares two strings if they are visually confusable
13
+ description: "[Unicode 15.1.0] Compares two strings if they are visually confusable
14
14
  as described in Unicode® Technical Standard #39: Both strings get transformed into
15
15
  a skeleton format before comparing them. The skeleton is generated by normalizing
16
16
  the string, replacing confusable characters, and then normalizing the string again."
@@ -39,7 +39,8 @@ files:
39
39
  homepage: https://github.com/janlelis/unicode-confusable
40
40
  licenses:
41
41
  - MIT
42
- metadata: {}
42
+ metadata:
43
+ rubygems_mfa_required: 'true'
43
44
  post_install_message:
44
45
  rdoc_options: []
45
46
  require_paths:
@@ -55,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
56
  - !ruby/object:Gem::Version
56
57
  version: '0'
57
58
  requirements: []
58
- rubygems_version: 3.2.3
59
+ rubygems_version: 3.4.4
59
60
  signing_key:
60
61
  specification_version: 4
61
62
  summary: Detect characters that look visually similar.