Sha256: 8d054362040ab534dd565db2a331c58d8af15128763d38de2839f5d7e69711e7

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength, Gemspec/RequiredRubyVersion
require_relative "lib/unihan_lang/version"

Gem::Specification.new do |spec|
  spec.name          = "unihan_lang"
  spec.version       = UnihanLang::VERSION
  spec.authors       = ["kyubey1228"]
  spec.email         = ["kyuuka1228@gmail.com"]

  spec.summary       = "Language detection for Chinese characters"
  spec.description   = "A gem to detect and differentiate between Traditional Chinese, Simplified Chinese based on Unihan data."
  spec.homepage      = "https://github.com/kyubey1228/unihan_lang"
  spec.license       = "MIT"
  spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")

  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 2.0"
  spec.add_development_dependency "rake", "~> 13.0"
  spec.add_development_dependency "rspec", "~> 3.0"

  spec.files = Dir.chdir(File.expand_path(__dir__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end + Dir["data/*"]
end
# rubocop:enable all

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unihan_lang-0.2.0 unihan_lang.gemspec