language_detection.gemspec in language_detection-0.0.2 vs language_detection.gemspec in language_detection-0.1.0

- old
+ new

@@ -5,23 +5,29 @@ 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 = %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_dependency "ffi" - gem.add_dependency "rake" + gem.add_runtime_dependency "ffi", "~> 1.12" - gem.add_development_dependency "shoulda" - gem.add_development_dependency "mocha" - gem.add_development_dependency "turn" + 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