titan 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +6 -0
- data/lib/titan/thread.rb +8 -1
- data/lib/titan/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/lib/titan/thread.rb
CHANGED
@@ -28,7 +28,7 @@ module Titan
|
|
28
28
|
end
|
29
29
|
|
30
30
|
Process.detach(@pid)
|
31
|
-
Thread.add(self)
|
31
|
+
Titan::Thread.add(self)
|
32
32
|
end
|
33
33
|
|
34
34
|
#
|
@@ -48,6 +48,13 @@ module Titan
|
|
48
48
|
false
|
49
49
|
end
|
50
50
|
|
51
|
+
def id=(id)
|
52
|
+
@@threads.delete(@id)
|
53
|
+
@id = id
|
54
|
+
@@threads[id] = self
|
55
|
+
Titan::Thread.save_threads
|
56
|
+
end
|
57
|
+
|
51
58
|
class << self
|
52
59
|
def add(thread)
|
53
60
|
load_threads
|
data/lib/titan/version.rb
CHANGED