Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
77 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,60 @@ | ||
spec = Gem::Specification.new do |s| | ||
s.name = 'decisiontree' | ||
s.version = '0.3.1' | ||
s.date = '2009-02-21' | ||
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 | ||
# Generated by jeweler | ||
# DO NOT EDIT THIS FILE DIRECTLY | ||
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command | ||
# -*- encoding: utf-8 -*- | ||
|
||
Gem::Specification.new do |s| | ||
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.rubyforge_project = "decisiontree" | ||
|
||
# ruby -rpp -e' pp `git ls-files`.split("\n") ' | ||
s.files = ["CHANGELOG.txt", | ||
"README.rdoc", | ||
"decisiontree.gemspec", | ||
"examples/continuous-id3.rb", | ||
"examples/data/continuous-test.txt", | ||
"examples/data/continuous-training.txt", | ||
"examples/data/discrete-test.txt", | ||
"examples/data/discrete-training.txt", | ||
"examples/discrete-id3.rb", | ||
"examples/simple.rb", | ||
"lib/decisiontree.rb", | ||
"lib/decisiontree/id3_tree.rb", | ||
"test/helper.rb", | ||
"test/test_decisiontree.rb"] | ||
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", | ||
"Rakefile", | ||
"VERSION", | ||
"decisiontree.gemspec", | ||
"examples/continuous-id3.rb", | ||
"examples/data/continuous-test.txt", | ||
"examples/data/continuous-training.txt", | ||
"examples/data/discrete-test.txt", | ||
"examples/data/discrete-training.txt", | ||
"examples/discrete-id3.rb", | ||
"examples/simple.rb", | ||
"lib/decisiontree.rb", | ||
"lib/decisiontree/id3_tree.rb", | ||
"test/helper.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 | ||
else | ||
end | ||
end | ||
|