Sha256: 18e5fc709a0e09837158e00d2aafac2063e576c113f66e62e3d90d167de83169
Contents?: true
Size: 1.13 KB
Versions: 4
Compression:
Stored size: 1.13 KB
Contents
# -*- mode: ruby; coding: utf-8 -*- require 'rubygems' require 'rspec/core' require 'rspec/core/rake_task' task :spec do RSpec::Core::RakeTask.new(:spec) do |spec| spec.rspec_opts = ["-c","-fs"] spec.pattern = FileList['spec/**/*_spec.rb'] end end if RUBY_VERSION >= '1.9.0' desc "Run RSpec code examples with simplecov" task :simplecov do ENV['COVERAGE'] = "on" Rake::Task[:spec].invoke end else desc "Run RSpec code examples with rcov" RSpec::Core::RakeTask.new(:rcov) do |spec| spec.pattern = FileList['spec/lib/**/*_spec.rb'] exclude_files = [ "gems", ] spec.rcov_opts = ['--exclude', exclude_files.join(",")] spec.rcov = true end end require 'jeweler' Jeweler::Tasks.new do |gem| # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options gem.name = "naivebayes" gem.homepage = "http://github.com/id774/naivebayes" gem.license = "GPL" gem.summary = %Q{naivebayes} gem.description = %Q{Naive Bayes classifier} gem.email = "idnanashi@gmail.com" gem.authors = ["id774"] # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
naivebayes-0.1.0 | Rakefile |
naivebayes-0.0.3 | Rakefile |
naivebayes-0.0.2 | Rakefile |
naivebayes-0.0.1 | Rakefile |