Sha256: 78986fe75e665085044bb215e68aa3fb681f1bfa9744011bc7ab08c96f04950d
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 KB
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' desc 'Default: run unit tests.' task :default => :test desc 'Test the acts_as_recommended plugin.' Rake::TestTask.new(:test) do |test| test.test_files = FileList.new('test/**/*_test.rb') do |list| list.exclude 'test/test_helper.rb' end test.libs << 'test' test.verbose = true end desc 'Generate documentation for the acts_as_recommendable plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'ActsAsRecommendable' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('lib/**/*.rb') end begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "acts_as_recommendable" gemspec.summary = "Colaborative Filtering Library" gemspec.description = "Recommendation engine from the Programming Collective Inteligence book" gemspec.email = "leobessa@gmail.com" gemspec.homepage = "http://github.com/leobessa/acts_as_recommendable" gemspec.authors = ["Leonardo Bessa"] end rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
leobessa-acts_as_recommendable-0.0.0 | Rakefile |