Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 5 commits
  • 3 files changed
  • 0 commit comments
  • 2 contributors
Showing with 5 additions and 8 deletions.
  1. +1 −1 VERSION
  2. +3 −2 decisiontree.gemspec
  3. +1 −5 lib/decisiontree/id3_tree.rb
View
2 VERSION
@@ -1 +1 @@
-0.3.1
+0.3.2
View
5 decisiontree.gemspec
@@ -5,7 +5,7 @@
Gem::Specification.new do |s|
s.name = %q{decisiontree}
- s.version = "0.3.1"
+ s.version = "0.3.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Ilya Grigorik"]
@@ -46,7 +46,8 @@ Gem::Specification.new do |s|
"examples/discrete-id3.rb",
"examples/simple.rb"
]
-
+ s.add_runtime_dependency "graphr"
+
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
View
6 lib/decisiontree/id3_tree.rb
@@ -3,11 +3,7 @@
### Copyright (c) 2007 Ilya Grigorik <ilya AT igvita DOT com>
### Modifed at 2007 by José Ignacio Fernández <joseignacio.fernandez AT gmail DOT com>
-begin
- require 'graph/graphviz_dot'
-rescue LoadError
- STDERR.puts "graph/graphviz_dot not installed, graphing functionality not included."
-end
+require 'graphr'
class Object
def save_to_file(filename)

No commit comments for this range

Something went wrong with that request. Please try again.