-
Notifications
You must be signed in to change notification settings - Fork 110
/
classifier-reborn-jruby.gemspec
40 lines (33 loc) · 1.62 KB
/
classifier-reborn-jruby.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
39
40
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'classifier-reborn/version'
Gem::Specification.new do |s|
s.platform = 'java'
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 = '>= 2.4.0'
s.name = 'classifier-reborn-jruby'
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.rdoc_options = ['--charset=UTF-8']
s.extra_rdoc_files = %w[README.markdown LICENSE]
s.add_runtime_dependency('jruby-stemmer-other', '~> 0.0.2')
s.add_runtime_dependency('matrix', '~> 0.4')
s.add_development_dependency('minitest')
s.add_development_dependency('minitest-reporters')
s.add_development_dependency('pry')
s.add_development_dependency('rake')
s.add_development_dependency('rdoc')
s.add_development_dependency('redis')
s.add_development_dependency('rubocop')
end