-
Notifications
You must be signed in to change notification settings - Fork 2
/
unicode-confusable.gemspec
22 lines (18 loc) · 1.19 KB
/
unicode-confusable.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- encoding: utf-8 -*-
require File.dirname(__FILE__) + "/lib/unicode/confusable/constants"
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 then normalizing the string again."
gem.authors = ["Jan Lelis"]
gem.email = ["[email protected]"]
gem.homepage = "https://github.com/janlelis/unicode-confusable"
gem.license = "MIT"
gem.files = Dir["{**/}{.*,*}"].select{ |path| File.file?(path) && path !~ /^pkg/ }
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.metadata = { "rubygems_mfa_required" => "true" }
gem.required_ruby_version = ">= 2.2"
end