Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Bump to version 0.2.1: Titan::Thread#pid has to be an Integer
Browse files Browse the repository at this point in the history
  • Loading branch information
flippingbits committed Dec 6, 2010
1 parent 07a557c commit 8e2b8e7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/titan/thread.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/titan/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Titan
VERSION = "0.2.0"
VERSION = "0.2.1"
end

0 comments on commit 8e2b8e7

Please sign in to comment.