Skip to content

Commit

Permalink
README / gemspec tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
janlelis committed Jan 17, 2020
1 parent d075c11 commit 1b30222
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 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)

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.
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.

Unicode version: **12.1.0** (May 2019)

Expand Down Expand Up @@ -29,7 +29,7 @@ Unicode::Confusable.confusable? "⁇", "??" # => true
Unicode::Confusable.skeleton "ℜ𝘂ᖯʏ" # => "Ruby"
```

**Please note:** The skeleton is an intermediate representation, not meant for any other use than testing confusability, [according to the standard](http://www.unicode.org/reports/tr39/#Confusable_Detection).
**Please note:** The skeleton is an intermediate representation, not meant for any other use than testing confusability, [according to the standard](https://www.unicode.org/reports/tr39/#Confusable_Detection).

### List

Expand Down Expand Up @@ -61,5 +61,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related

## MIT License

- Copyright (C) 2016-2019 Jan Lelis <http://janlelis.com>. Released under the MIT license.
- Copyright (C) 2016-2019 Jan Lelis <https://janlelis.com>. Released under the MIT license.
- Unicode data: http://www.unicode.org/copyright.html#Exhibit1
6 changes: 3 additions & 3 deletions unicode-confusable.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Gem::Specification.new do |gem|
gem.name = "unicode-confusable"
gem.version = Unicode::Confusable::VERSION
gem.summary = "Detect characters that look visually similar."
gem.description = "[Unicode #{Unicode::Confusable::UNICODE_VERSION}] Compares two strings if they are visually confusable as described in Unicode® Technical Standard #39: Both strings get transformed into a skeleton format before comparing them. The skeleton is generated by normalizing the string, replacing confusable characters, and normalizing the string again."
gem.description = "[Unicode #{Unicode::Confusable::UNICODE_VERSION}] Compares two strings if they are visually confusable as described in Unicode® Technical Standard #39: Both strings get transformed into a skeleton format before comparing them. The skeleton is generated by normalizing the string, replacing confusable characters, and then normalizing the string again."
gem.authors = ["Jan Lelis"]
gem.email = ["mail@janlelis.de"]
gem.email = ["hi@ruby.consulting"]
gem.homepage = "https://github.com/janlelis/unicode-confusable"
gem.license = "MIT"

Expand All @@ -17,5 +17,5 @@ Gem::Specification.new do |gem|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]

gem.required_ruby_version = "~> 2.2"
gem.required_ruby_version = ">= 2.2"
end

0 comments on commit 1b30222

Please sign in to comment.