Sha256: 2269a3aab3347af3911ca7e23098334b745236f909be9fc4e79c80b0838de55e
Contents?: true
Size: 1.31 KB
Versions: 5
Compression:
Stored size: 1.31 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "naive_bayes" gem.summary = %Q{Simple straight forward Naive Bayes classifier implementation} gem.description = %Q{Simple straight forward Naive Bayes classifier implementation} gem.email = "reddavis@gmail.com" gem.homepage = "http://github.com/reddavis/Naive-Bayes" gem.authors = ["reddavis"] gem.add_development_dependency "rspec", ">= 1.2.9" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" end require 'spec/rake/spectask' Spec::Rake::SpecTask.new(:spec) do |spec| spec.libs << 'lib' << 'spec' spec.spec_files = FileList['spec/**/*_spec.rb'] end Spec::Rake::SpecTask.new(:rcov) do |spec| spec.libs << 'lib' << 'spec' spec.pattern = 'spec/**/*_spec.rb' spec.rcov = true end task :spec => :check_dependencies task :default => :spec require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "naive_bayes #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
5 entries across 5 versions & 2 rubygems
Version | Path |
---|---|
solid_naive_bayes-0.0.3 | Rakefile |
naive_bayes-0.0.3 | Rakefile |
naive_bayes-0.0.2 | Rakefile |
naive_bayes-0.0.1 | Rakefile |
naive_bayes-0.0.0 | Rakefile |