-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathwhatlanguage.gemspec
More file actions
20 lines (18 loc) · 864 Bytes
/
whatlanguage.gemspec
File metadata and controls
20 lines (18 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'whatlanguage/version'
Gem::Specification.new do |gem|
gem.name = "whatlanguage"
gem.version = WhatLanguage::VERSION
gem.authors = ["Peter Cooper"]
gem.email = ["git@peterc.org"]
gem.description = %q{WhatLanguage rapidly detects the language of a sample of text}
gem.summary = %q{Natural language detection for text samples}
gem.homepage = "https://github.com/peterc/whatlanguage"
gem.license = "MIT"
gem.files = `git ls-files`.split($/).reject { |f| f.start_with?("wordlists") }
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"]
end