forked from jekyll/classifier-reborn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
classifier-reborn.gemspec
38 lines (32 loc) · 1.55 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
34
35
36
37
38
# 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', 'Chase Gilliam']
s.homepage = 'https://github.com/jekyll/classifier-reborn'
all_files = `git ls-files -z`.split("\x0")
s.files = all_files.grep(%r{^(bin|lib|data)/})
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')
s.add_development_dependency('minitest')
s.add_development_dependency('minitest-reporters')
s.add_development_dependency('rubocop')
s.add_development_dependency('pry')
s.add_development_dependency('redis')
end