-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathwhatlanguage.gemspec
More file actions
33 lines (29 loc) · 1008 Bytes
/
Copy pathwhatlanguage.gemspec
File metadata and controls
33 lines (29 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$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 = 'WhatLanguage rapidly detects the language of a sample of text'
gem.summary = 'Natural language detection for text samples'
gem.homepage = 'https://github.com/peterc/whatlanguage'
gem.license = 'MIT'
gem.required_ruby_version = '>= 3.0'
gem.files = Dir['lib/**/*'] + [
'exe/whatlanguage',
'README.md',
'CHANGELOG.md',
'LICENSE.txt',
'Gemfile',
'Rakefile',
'whatlanguage.gemspec'
]
gem.bindir = 'exe'
gem.executables = ['whatlanguage']
gem.require_paths = ['lib']
gem.add_development_dependency 'minitest', '~> 5.0'
gem.add_development_dependency 'rake'
end