mirror of
https://github.com/dkam/decisiontree.git
synced 2025-12-28 15:14:52 +00:00
rakefile + update gemspec
This commit is contained in:
19
Rakefile
Normal file
19
Rakefile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
require 'rake'
|
||||||
|
|
||||||
|
begin
|
||||||
|
require 'jeweler'
|
||||||
|
Jeweler::Tasks.new do |gemspec|
|
||||||
|
gemspec.name = "decisiontree"
|
||||||
|
gemspec.summary = "ID3-based implementation of the M.L. Decision Tree algorithm"
|
||||||
|
gemspec.description = gemspec.summary
|
||||||
|
gemspec.email = "ilya@igvita.com"
|
||||||
|
gemspec.homepage = "http://github.com/igrigorik/decisiontree"
|
||||||
|
gemspec.authors = ["Ilya Grigorik"]
|
||||||
|
gemspec.rubyforge_project = "decisiontree"
|
||||||
|
end
|
||||||
|
|
||||||
|
Jeweler::GemcutterTasks.new
|
||||||
|
rescue LoadError
|
||||||
|
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
||||||
|
end
|
||||||
|
|
||||||
@@ -1,18 +1,25 @@
|
|||||||
spec = Gem::Specification.new do |s|
|
# Generated by jeweler
|
||||||
s.name = 'decisiontree'
|
# DO NOT EDIT THIS FILE DIRECTLY
|
||||||
s.version = '0.3.1'
|
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
||||||
s.date = '2009-02-21'
|
# -*- encoding: utf-8 -*-
|
||||||
s.summary = 'ID3-based implementation of the M.L. Decision Tree algorithm'
|
|
||||||
s.description = s.summary
|
|
||||||
s.email = 'ilya@igvita.com'
|
|
||||||
s.homepage = "http://github.com/igrigorik/decisiontree"
|
|
||||||
s.has_rdoc = true
|
|
||||||
s.authors = ["Ilya Grigorik"]
|
|
||||||
s.rubyforge_project = "decisiontree"
|
|
||||||
|
|
||||||
# ruby -rpp -e' pp `git ls-files`.split("\n") '
|
Gem::Specification.new do |s|
|
||||||
s.files = ["CHANGELOG.txt",
|
s.name = %q{decisiontree}
|
||||||
|
s.version = "0.3.1"
|
||||||
|
|
||||||
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||||
|
s.authors = ["Ilya Grigorik"]
|
||||||
|
s.date = %q{2010-10-03}
|
||||||
|
s.description = %q{ID3-based implementation of the M.L. Decision Tree algorithm}
|
||||||
|
s.email = %q{ilya@igvita.com}
|
||||||
|
s.extra_rdoc_files = [
|
||||||
|
"README.rdoc"
|
||||||
|
]
|
||||||
|
s.files = [
|
||||||
|
"CHANGELOG.txt",
|
||||||
"README.rdoc",
|
"README.rdoc",
|
||||||
|
"Rakefile",
|
||||||
|
"VERSION",
|
||||||
"decisiontree.gemspec",
|
"decisiontree.gemspec",
|
||||||
"examples/continuous-id3.rb",
|
"examples/continuous-id3.rb",
|
||||||
"examples/data/continuous-test.txt",
|
"examples/data/continuous-test.txt",
|
||||||
@@ -24,6 +31,30 @@ spec = Gem::Specification.new do |s|
|
|||||||
"lib/decisiontree.rb",
|
"lib/decisiontree.rb",
|
||||||
"lib/decisiontree/id3_tree.rb",
|
"lib/decisiontree/id3_tree.rb",
|
||||||
"test/helper.rb",
|
"test/helper.rb",
|
||||||
"test/test_decisiontree.rb"]
|
"test/test_decisiontree.rb"
|
||||||
|
]
|
||||||
|
s.homepage = %q{http://github.com/igrigorik/decisiontree}
|
||||||
|
s.rdoc_options = ["--charset=UTF-8"]
|
||||||
|
s.require_paths = ["lib"]
|
||||||
|
s.rubyforge_project = %q{decisiontree}
|
||||||
|
s.rubygems_version = %q{1.3.7}
|
||||||
|
s.summary = %q{ID3-based implementation of the M.L. Decision Tree algorithm}
|
||||||
|
s.test_files = [
|
||||||
|
"test/helper.rb",
|
||||||
|
"test/test_decisiontree.rb",
|
||||||
|
"examples/continuous-id3.rb",
|
||||||
|
"examples/discrete-id3.rb",
|
||||||
|
"examples/simple.rb"
|
||||||
|
]
|
||||||
|
|
||||||
|
if s.respond_to? :specification_version then
|
||||||
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
||||||
|
s.specification_version = 3
|
||||||
|
|
||||||
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
||||||
|
else
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user