Sha256: 0f8aea82dde1820e0be947f34ac8871220f5374887a05ecdb0a94a04319df3c8

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 KB

Contents

# -*- 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   = "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.authors       = ["Jan Lelis"]
  gem.email         = ["mail@janlelis.de"]
  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.required_ruby_version = "~> 2.2"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
unicode-confusable-1.0.1 unicode-confusable.gemspec
unicode-confusable-1.0.0 unicode-confusable.gemspec