rakefile + update gemspec

This commit is contained in:
Ilya Grigorik
2010-10-03 12:34:55 -04:00
parent 185f1170e5
commit 62947986d8
3 changed files with 78 additions and 27 deletions

19
Rakefile Normal file
View 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
VERSION Normal file
View File

@@ -0,0 +1 @@
0.3.1

View File

@@ -1,29 +1,60 @@
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 Gem::Specification.new do |s|
s.email = 'ilya@igvita.com' s.name = %q{decisiontree}
s.homepage = "http://github.com/igrigorik/decisiontree" s.version = "0.3.1"
s.has_rdoc = true
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Ilya Grigorik"] s.authors = ["Ilya Grigorik"]
s.rubyforge_project = "decisiontree" 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"
]
# ruby -rpp -e' pp `git ls-files`.split("\n") ' if s.respond_to? :specification_version then
s.files = ["CHANGELOG.txt", current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
"README.rdoc", s.specification_version = 3
"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"]
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
else
end
else
end
end end