Sha256: c9ef4bcdef11175f83e1d2069ff114c2216b010e9e102680b4cd4bbb6efbf143

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'language_detection/version'

Gem::Specification.new do |gem|
  gem.name          = "language_detection"
  gem.version       = LanguageDetection::VERSION
  gem.authors       = ["Vojtech Hyza"]
  gem.license       = 'MIT'
  gem.email         = ["vhyza@vhyza.eu"]
  gem.description   = %q{Ruby bindings for Chromium Compact Language Detector}
  gem.summary       = <<-EOF
    Ruby bindings for Chromium Compact Language Detector ([source](http://src.chromium.org/viewvc/chrome/trunk/src/third_party/cld/)).
    This gem is using source codes from [chromium-compact-language-detector](http://code.google.com/p/chromium-compact-language-detector/) port.
  EOF
  gem.homepage      = "https://github.com/vhyza/language_detection"

  gem.files         = `git ls-files`.split($/)
  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.extensions    = ["ext/cld/extconf.rb"]

  gem.add_runtime_dependency "ffi", "~> 1.12"

  gem.add_development_dependency "rake", "~> 13"
  gem.add_development_dependency "shoulda", "~> 4"
  gem.add_development_dependency "mocha", "~> 2"
  gem.add_development_dependency "test-unit", "~> 3"

  gem.required_ruby_version = [ ">= 2.5.0", "< 3.3.0" ]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
language_detection-0.1.0 language_detection.gemspec