Sha256: 750ef5788617d5d930de88a9cd08bd97c145d58769a8558e888341c455a8ef43

Contents?: true

Size: 1.13 KB

Versions: 8

Compression:

Stored size: 1.13 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   = "[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.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

8 entries across 8 versions & 1 rubygems

Version Path
unicode-confusable-1.6.0 unicode-confusable.gemspec
unicode-confusable-1.5.0 unicode-confusable.gemspec
unicode-confusable-1.4.0 unicode-confusable.gemspec
unicode-confusable-1.3.2 unicode-confusable.gemspec
unicode-confusable-1.3.1 unicode-confusable.gemspec
unicode-confusable-1.3.0 unicode-confusable.gemspec
unicode-confusable-1.2.0 unicode-confusable.gemspec
unicode-confusable-1.1.0 unicode-confusable.gemspec