forked from jekyll/classifier-reborn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclassifier-reborn.gemspec
33 lines (27 loc) · 1.29 KB
/
classifier-reborn.gemspec
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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'classifier-reborn/version'
Gem::Specification.new do |s|
s.specification_version = 2 if s.respond_to? :specification_version=
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.rubygems_version = '2.2.2'
s.required_ruby_version = '>= 1.9.3'
s.name = 'classifier-reborn'
s.version = ClassifierReborn::VERSION
s.license = 'LGPL'
s.summary = "A general classifier module to allow Bayesian and other types of classifications."
s.authors = ["Lucas Carlson", "Parker Moore"]
s.email = ["[email protected]", "[email protected]"]
s.homepage = 'https://github.com/jekyll/classifier-reborn'
all_files = `git ls-files -z`.split("\x0")
s.files = all_files.grep(%r{^(bin|lib)/})
s.executables = all_files.grep(%r{^bin/}) { |f| File.basename(f) }
s.require_paths = ["lib"]
s.has_rdoc = true
s.rdoc_options = ["--charset=UTF-8"]
s.extra_rdoc_files = %w[README.markdown LICENSE]
s.add_runtime_dependency('fast-stemmer', '~> 1.0')
s.add_development_dependency('rake')
s.add_development_dependency('rdoc')
end