Permalink
Browse files

rakefile + update gemspec

  • Loading branch information...
1 parent 185f117 commit 62947986d8501c4489eab89eb59623e98e881184 @igrigorik committed Oct 3, 2010
Showing with 77 additions and 26 deletions.
  1. +19 −0 Rakefile
  2. +1 −0 VERSION
  3. +57 −26 decisiontree.gemspec
View
@@ -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
+
View
@@ -0,0 +1 @@
+0.3.1
View
@@ -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
+

0 comments on commit 6294798

Please sign in to comment.