diff --git a/CHANGELOG.md b/CHANGELOG.md index dce5db3..c1db35a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.2.1 (December 6, 2010) + +- Bug fixes + + * Titan::Titan#pid has to be an Integer + ## 0.2.0 (December 4, 2010) - Features diff --git a/lib/titan/thread.rb b/lib/titan/thread.rb index 0149317..3ccd223 100644 --- a/lib/titan/thread.rb +++ b/lib/titan/thread.rb @@ -112,7 +112,7 @@ def load_threads check_filesystem pid_files.each{ |pid_file| thread = Titan::Thread.new(:id => File.basename(pid_file, ".pid")) - thread.pid = File.read(File.expand_path(pid_file, TITAN_DIRECTORY)) + thread.pid = File.read(File.expand_path(pid_file, TITAN_DIRECTORY)).to_i @@threads[thread.id] = thread } end diff --git a/lib/titan/version.rb b/lib/titan/version.rb index 01fb6b0..eb73524 100644 --- a/lib/titan/version.rb +++ b/lib/titan/version.rb @@ -1,3 +1,3 @@ module Titan - VERSION = "0.2.0" + VERSION = "0.2.1" end