titan 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +7 -1
- data/lib/titan/thread.rb +1 -1
- data/lib/titan/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,14 @@
|
|
1
|
+
## 0.2.1 (December 6, 2010)
|
2
|
+
|
3
|
+
- Bug fixes
|
4
|
+
|
5
|
+
* Titan::Titan#pid has to be an Integer
|
6
|
+
|
1
7
|
## 0.2.0 (December 4, 2010)
|
2
8
|
|
3
9
|
- Features
|
4
10
|
|
5
|
-
* Use pid files for each thread instead of one global .titan file
|
11
|
+
* Use pid files for each thread instead of one global .titan file [Issue #5]
|
6
12
|
* !!! You've to call Titan::Thread#run in order to start the created thread
|
7
13
|
|
8
14
|
- Bug fixes
|
data/lib/titan/thread.rb
CHANGED
@@ -112,7 +112,7 @@ module Titan
|
|
112
112
|
check_filesystem
|
113
113
|
pid_files.each{ |pid_file|
|
114
114
|
thread = Titan::Thread.new(:id => File.basename(pid_file, ".pid"))
|
115
|
-
thread.pid = File.read(File.expand_path(pid_file, TITAN_DIRECTORY))
|
115
|
+
thread.pid = File.read(File.expand_path(pid_file, TITAN_DIRECTORY)).to_i
|
116
116
|
@@threads[thread.id] = thread
|
117
117
|
}
|
118
118
|
end
|
data/lib/titan/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 1
|
9
|
+
version: 0.2.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Stefan Sprenger
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-12-
|
17
|
+
date: 2010-12-06 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|