File: classifier-reborn.gemspec

package info (click to toggle)
ruby-classifier-reborn 2.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 320 kB
  • ctags: 132
  • sloc: ruby: 919; sh: 13; makefile: 7
file content (34 lines) | stat: -rw-r--r-- 2,570 bytes parent folder | download
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
# 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.email            = ["lucas@rufy.com", "parkrmoore@gmail.com", "chase.gilliam@gmail.com"]
  s.homepage         = 'https://github.com/jekyll/classifier-reborn'

  all_files          = [".gitignore",".travis.yml","Gemfile","History.markdown","LICENSE","README.markdown","Rakefile","bin/bayes.rb","bin/summarize.rb","classifier-reborn.gemspec","data/stopwords/ca","data/stopwords/cs","data/stopwords/da","data/stopwords/de","data/stopwords/en","data/stopwords/es","data/stopwords/fi","data/stopwords/fr","data/stopwords/hu","data/stopwords/it","data/stopwords/nl","data/stopwords/no","data/stopwords/pl","data/stopwords/pt","data/stopwords/se","data/stopwords/tr","lib/classifier-reborn.rb","lib/classifier-reborn/bayes.rb","lib/classifier-reborn/category_namer.rb","lib/classifier-reborn/extensions/hasher.rb","lib/classifier-reborn/extensions/vector.rb","lib/classifier-reborn/extensions/vector_serialize.rb","lib/classifier-reborn/lsi.rb","lib/classifier-reborn/lsi/cached_content_node.rb","lib/classifier-reborn/lsi/content_node.rb","lib/classifier-reborn/lsi/summarizer.rb","lib/classifier-reborn/lsi/word_list.rb","lib/classifier-reborn/version.rb","script/bootstrap","script/cibuild","script/test","test/bayes/bayesian_test.rb","test/data/stopwords/en","test/extensions/hasher_test.rb","test/lsi/lsi_test.rb","test/lsi/word_list_test.rb","test/test_helper.rb"]
  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('test-unit')
end