unicode-confusable 1.4.0 → 1.5.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: ff7ca55c41e0ea741c409a0e98b1be63aa12b128788a04f52452dbe38a3d02a3
4
- data.tar.gz: 8b674ed826c9199f65b39daaeb5187c85e8511066c44f513c80e24f6bb6bdb04
3
+ metadata.gz: c286dc084f40d5ec5d4c35933f2d8f55624fa90dff7b99b8853a39773b42d222
4
+ data.tar.gz: 4be86a8cd5c9b73866fc7f09f857989b2fb15718408744ec883065de52b7b6ac
5
5
  SHA512:
6
- metadata.gz: 0b29f5ece2f51581ff30c366f046052597a33289e2db8707d0675e12e48a747cf6cea0e4eeebac4ee41a433bccb435d395272eeff0363aad3f5ecbd67f0463ad
7
- data.tar.gz: a6b478be06b68db144fe3ad219bf994c0e30d67bef5a56791df0f017836d2570c1023e34a642869f6b5a83bf0d902e68c98c89f8072bb6c9ed934e3dbfa7c313
6
+ metadata.gz: f9e5d626eeff19a1ccc2cfdff564698d15bad60793edc4788a6efba8f64f3734f33cfa1a646c7f081aa44def4263df7befda7c12b637d22b7679d51644338269
7
+ data.tar.gz: 3f4db6352ad180e614a5bdb785f4a93ddced468f3bbb159ce2ae165313ebc2ea4c1d041b818aabea81c86ec7e226c859fcc1e17fad30c9604e399c84b59ab682
@@ -4,15 +4,17 @@ language: ruby
4
4
  script: bundle exec ruby spec/unicode_confusable_spec.rb
5
5
 
6
6
  rvm:
7
- - 2.5.1
7
+ - 2.6.1
8
+ - 2.5.3
8
9
  - 2.4.4
9
- - 2.3.7
10
+ - 2.3.8
10
11
  - 2.2
11
12
  - ruby-head
12
13
  - jruby-head
13
- - jruby-9.1.16.0
14
+ - jruby-9.2.6.0
14
15
 
15
16
  matrix:
16
17
  allow_failures:
18
+ - rvm: 2.3.8
17
19
  - rvm: 2.2
18
20
  - rvm: jruby-head
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.5.0
4
+
5
+ * Unicode 12
6
+
3
7
  ### 1.4.0
4
8
 
5
9
  * Unicode 11
@@ -1,4 +1,4 @@
1
- Copyright (c) 2016-2018 Jan Lelis, mail@janlelis.de
1
+ Copyright (c) 2016-2019 Jan Lelis, mail@janlelis.de
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
@@ -1,12 +1,12 @@
1
- # Unicode::Confusable [![[version]](https://badge.fury.io/rb/unicode-confusable.svg)](http://badge.fury.io/rb/unicode-confusable) [![[travis]](https://travis-ci.org/janlelis/unicode-confusable.png)](https://travis-ci.org/janlelis/unicode-confusable)
1
+ # Unicode::Confusable [![[version]](https://badge.fury.io/rb/unicode-confusable.svg)](https://badge.fury.io/rb/unicode-confusable) [![[travis]](https://travis-ci.org/janlelis/unicode-confusable.png)](https://travis-ci.org/janlelis/unicode-confusable)
2
2
 
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/10.0.0/confusables.txt), and normalizing the string again.
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: **11.0.0**
5
+ Unicode version: **12.0.0**
6
6
 
7
- Supported Rubies: **2.5**, **2.4**, **2.3**
7
+ Supported Rubies: **2.6**, **2.5**, **2.4**
8
8
 
9
- Old Rubies that might still work: **2.2**
9
+ Old Rubies that might still work: **2.3**, **2.2**
10
10
 
11
11
  ## Usage
12
12
 
@@ -61,5 +61,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
61
61
 
62
62
  ## MIT License
63
63
 
64
- - Copyright (C) 2016-2018 Jan Lelis <http://janlelis.com>. Released under the MIT license.
64
+ - Copyright (C) 2016-2019 Jan Lelis <http://janlelis.com>. Released under the MIT license.
65
65
  - Unicode data: http://www.unicode.org/copyright.html#Exhibit1
Binary file
@@ -1,9 +1,11 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Unicode
2
4
  module Confusable
3
- VERSION = "1.4.0".freeze
4
- UNICODE_VERSION = "11.0.0".freeze
5
- DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + '/../../../data/').freeze
6
- INDEX_FILENAME = (DATA_DIRECTORY + '/confusable.marshal.gz').freeze
5
+ VERSION = "1.5.0"
6
+ UNICODE_VERSION = "12.0.0"
7
+ DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
8
+ INDEX_FILENAME = (DATA_DIRECTORY + "/confusable.marshal.gz").freeze
7
9
  end
8
10
  end
9
11
 
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.0
4
+ version: 1.5.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: 2018-06-05 00:00:00.000000000 Z
11
+ date: 2019-03-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: "[Unicode 11.0.0] Compares two strings if they are visually confusable
13
+ description: "[Unicode 12.0.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,8 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
57
  requirements: []
58
- rubyforge_project:
59
- rubygems_version: 2.7.6
58
+ rubygems_version: 3.0.1
60
59
  signing_key:
61
60
  specification_version: 4
62
61
  summary: Detect characters that look visually similar.