unicode-confusable 1.1.0 → 1.2.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
  SHA1:
3
- metadata.gz: 250ef2174c93d982622bd010538575ab71da22a5
4
- data.tar.gz: bb61daf9d9370be515fd26e234f7dd638ab65f3a
3
+ metadata.gz: 7c5d87eb8d09b0db6a0467eb43aee2a0f1666841
4
+ data.tar.gz: 79c5a68b5d65d5dc2c3f75c31bb214d53585687d
5
5
  SHA512:
6
- metadata.gz: 944d65e2a740ac4ba02e6f6b871217c59bf6c43bf4748005f1f7f92d0cbf1d8a667dc5d44cbb232ff805514d753b513631864fab6d3b30585cd5ff8df848c675
7
- data.tar.gz: 59e152950196c0794888a6581394ece3c0df2cf1746544dc957ac8e06b76904854714237e1cc6796fb23117ac5275725ae884d8f1b646ad2def6e0bb0cb9db45
6
+ metadata.gz: b5b39e475e55bc30f617db53e1ad3d41a4bf8c9e88ed690eef3caa061fdec805186bc7a640b7a5d1202f3d8995331db6056ea13bdefb2da464800bdbdc0c30b5
7
+ data.tar.gz: ce09d7f44f527fe5509ebd6757b4eb8a1eb74b7f98d95212882c359f12238184030122290848e6542c37d0ee6f25198231370a36e4f9b3c844465861ec836da3
data/.travis.yml CHANGED
@@ -4,17 +4,13 @@ language: ruby
4
4
  script: bundle exec ruby spec/unicode_confusable_spec.rb
5
5
 
6
6
  rvm:
7
- - 2.3.0
7
+ - 2.4.1
8
+ - 2.3.4
8
9
  - 2.2
9
10
  - ruby-head
10
- - rbx-2
11
11
  - jruby-head
12
- - jruby-9.0.5.0
13
-
14
- cache:
15
- - bundler
12
+ - jruby-9.1.12.0
16
13
 
17
14
  matrix:
18
15
  allow_failures:
19
16
  - rvm: jruby-head
20
- - rvm: rbx-2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.2.0
4
+
5
+ * Unicode 10
6
+
3
7
  ### 1.1.0
4
8
 
5
9
  * Support Unicode 9.0
data/Gemfile CHANGED
@@ -3,3 +3,5 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  gem 'minitest'
6
+ gem 'rake'
7
+
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
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)
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/8.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/10.0.0/confusables.txt), and normalizing the string again.
4
4
 
5
- Unicode version: **9.0.0**
5
+ Unicode version: **10.0.0**
6
6
 
7
- Supported Rubies: **2.3**, **2.2**
7
+ Supported Rubies: **2.4**, **2.3**, **2.2**
8
8
 
9
9
  ## Usage
10
10
 
@@ -37,7 +37,9 @@ TR 39 also describes mechanisms for a more exact recognition of confusables, als
37
37
 
38
38
  This is currently **not** supported by this gem.
39
39
 
40
+ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related micro libraries.
41
+
40
42
  ## MIT License
41
43
 
42
- - Copyright (C) 2016 Jan Lelis <http://janlelis.com>. Released under the MIT license.
44
+ - Copyright (C) 2016-2017 Jan Lelis <http://janlelis.com>. Released under the MIT license.
43
45
  - Unicode data: http://www.unicode.org/copyright.html#Exhibit1
Binary file
@@ -1,7 +1,7 @@
1
1
  module Unicode
2
2
  module Confusable
3
- VERSION = "1.1.0".freeze
4
- UNICODE_VERSION = "9.0.0".freeze
3
+ VERSION = "1.2.0".freeze
4
+ UNICODE_VERSION = "10.0.0".freeze
5
5
  DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + '/../../../data/').freeze
6
6
  INDEX_FILENAME = (DATA_DIRECTORY + '/confusable.marshal.gz').freeze
7
7
  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.1.0
4
+ version: 1.2.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: 2016-06-21 00:00:00.000000000 Z
11
+ date: 2017-06-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: "[Unicode 9.0.0] Compares two strings if they are visually confusable
13
+ description: "[Unicode 10.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."
@@ -25,6 +25,7 @@ files:
25
25
  - CHANGELOG.md
26
26
  - CODE_OF_CONDUCT.md
27
27
  - Gemfile
28
+ - Gemfile.lock
28
29
  - MIT-LICENSE.txt
29
30
  - README.md
30
31
  - Rakefile
@@ -55,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
56
  version: '0'
56
57
  requirements: []
57
58
  rubyforge_project:
58
- rubygems_version: 2.5.1
59
+ rubygems_version: 2.6.11
59
60
  signing_key:
60
61
  specification_version: 4
61
62
  summary: Detect characters that look visually similar.