unicode-confusable 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -6
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -0
- data/README.md +1 -1
- data/data/confusable.marshal.gz +0 -0
- data/lib/unicode/confusable/constants.rb +2 -2
- 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: 73e1cdc3efe0de7c8f7631bf621fbc75373271d5a8c92f4191ca883352acff1a
|
4
|
+
data.tar.gz: 2ed0a75085eb3dd702299e7a222a691a87e65f213453df3d42d66897cc59dcef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5166a223ecbc20d353d02117a2c9d037e2aa7f478e5e7e0d12fcf93f11143e76b5a24c8e865d0db78f4cafe8229c990e132978ee72d02441164565122ff12bcb
|
7
|
+
data.tar.gz: 16d52312e4e7faf94ba4dbb394fa158a7fc0b1cfe9710bb754469192bb939ce2e8d4a37e6a6bb4cfc961f38cd8855fb9eddd83cd41463a6f8166d6462040bba7
|
data/.travis.yml
CHANGED
@@ -4,17 +4,17 @@ language: ruby
|
|
4
4
|
script: bundle exec ruby spec/unicode_confusable_spec.rb
|
5
5
|
|
6
6
|
rvm:
|
7
|
-
- 2.6
|
8
|
-
- 2.5
|
9
|
-
- 2.4
|
10
|
-
- 2.3
|
7
|
+
- 2.6
|
8
|
+
- 2.5
|
9
|
+
- 2.4
|
10
|
+
- 2.3
|
11
11
|
- 2.2
|
12
12
|
- ruby-head
|
13
13
|
- jruby-head
|
14
|
-
- jruby-9.2.
|
14
|
+
- jruby-9.2.7.0
|
15
15
|
|
16
16
|
matrix:
|
17
17
|
allow_failures:
|
18
|
-
- rvm: 2.3
|
18
|
+
- rvm: 2.3
|
19
19
|
- rvm: 2.2
|
20
20
|
- rvm: jruby-head
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Compares two strings if they are visually confusable as described in [Unicode® Technical Standard #39](http://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](ftp://ftp.unicode.org/Public/security/12.0.0/confusables.txt), and normalizing the string again.
|
4
4
|
|
5
|
-
Unicode version: **12.
|
5
|
+
Unicode version: **12.1.0** (May 2019)
|
6
6
|
|
7
7
|
Supported Rubies: **2.6**, **2.5**, **2.4**
|
8
8
|
|
data/data/confusable.marshal.gz
CHANGED
Binary file
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
module Unicode
|
4
4
|
module Confusable
|
5
|
-
VERSION = "1.
|
6
|
-
UNICODE_VERSION = "12.
|
5
|
+
VERSION = "1.6.0"
|
6
|
+
UNICODE_VERSION = "12.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
|
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.
|
4
|
+
version: 1.6.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: 2019-
|
11
|
+
date: 2019-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: "[Unicode 12.
|
13
|
+
description: "[Unicode 12.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 normalizing the string again."
|
@@ -55,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '0'
|
57
57
|
requirements: []
|
58
|
-
rubygems_version: 3.0.
|
58
|
+
rubygems_version: 3.0.3
|
59
59
|
signing_key:
|
60
60
|
specification_version: 4
|
61
61
|
summary: Detect characters that look visually similar.
|