|
| 1 | +# coding: utf-8 |
| 2 | +lib = File.expand_path('../lib', __FILE__) |
| 3 | +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) |
| 4 | +require 'classifier-reborn/version' |
| 5 | + |
| 6 | +Gem::Specification.new do |s| |
| 7 | + s.platform = 'java' |
| 8 | + s.specification_version = 2 if s.respond_to? :specification_version= |
| 9 | + s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version= |
| 10 | + s.rubygems_version = '2.2.2' |
| 11 | + s.required_ruby_version = '>= 1.9.3' |
| 12 | + |
| 13 | + s.name = 'classifier-reborn-jruby' |
| 14 | + s.version = ClassifierReborn::VERSION |
| 15 | + s.license = 'LGPL' |
| 16 | + s.summary = 'A general classifier module to allow Bayesian and other types of classifications.' |
| 17 | + s.authors = ['Lucas Carlson', 'Parker Moore', 'Chase Gilliam'] |
| 18 | + |
| 19 | + s.homepage = 'https://github.com/jekyll/classifier-reborn' |
| 20 | + |
| 21 | + all_files = `git ls-files -z`.split("\x0") |
| 22 | + s.files = all_files.grep(%r{^(bin|lib|data)/}) |
| 23 | + s.executables = all_files.grep(%r{^bin/}) { |f| File.basename(f) } |
| 24 | + s.require_paths = ['lib'] |
| 25 | + |
| 26 | + s.has_rdoc = true |
| 27 | + s.rdoc_options = ['--charset=UTF-8'] |
| 28 | + s.extra_rdoc_files = %w(README.markdown LICENSE) |
| 29 | + |
| 30 | + s.add_runtime_dependency('jruby-stemmer-other', '~> 0.0.2') |
| 31 | + |
| 32 | + s.add_development_dependency('rake') |
| 33 | + s.add_development_dependency('rdoc') |
| 34 | + s.add_development_dependency('minitest') |
| 35 | + s.add_development_dependency('minitest-reporters') |
| 36 | + s.add_development_dependency('rubocop') |
| 37 | + s.add_development_dependency('pry') |
| 38 | + s.add_development_dependency('redis') |
| 39 | +end |
0 commit comments