Sha256: 5030891e4793c527cd7ac66c46c56faba368f65417d182de96589bb5eef312bb

Contents?: true

Size: 1.19 KB

Versions: 3

Compression:

Stored size: 1.19 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 then normalizing the string again."
  gem.authors       = ["Jan Lelis"]
  gem.email         = ["hi@ruby.consulting"]
  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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
unicode-confusable-1.12.0 unicode-confusable.gemspec
unicode-confusable-1.11.0 unicode-confusable.gemspec
unicode-confusable-1.10.0 unicode-confusable.gemspec