titan 0.0.2 → 0.0.3
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 +12 -0
- data/README.md +10 -2
- data/lib/titan/manager.rb +1 -1
- data/lib/titan/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## 0.0.3 (November 25, 2010)
|
2
|
+
|
3
|
+
- Bug fixes
|
4
|
+
|
5
|
+
* Fixed problems with Ruby 1.8.7
|
6
|
+
|
7
|
+
## 0.0.2 (November 24, 2010)
|
8
|
+
|
9
|
+
- Bug fixes
|
10
|
+
|
11
|
+
* Fixed issue #1: Titan::Manager doesn't work with Ruby 1.9.2
|
12
|
+
|
1
13
|
## 0.0.1 (November 24, 2010)
|
2
14
|
|
3
15
|
Initial version.
|
data/README.md
CHANGED
@@ -7,6 +7,14 @@ side it manages created daemon threads and provides functionality for accessing
|
|
7
7
|
Usage
|
8
8
|
======
|
9
9
|
|
10
|
+
First, you've to install the gem
|
11
|
+
|
12
|
+
gem install titan
|
13
|
+
|
14
|
+
and require it
|
15
|
+
|
16
|
+
require "titan"
|
17
|
+
|
10
18
|
Creating a new daemon thread using Titan is pretty easy:
|
11
19
|
|
12
20
|
Titan::Thread.new do
|
@@ -43,9 +51,9 @@ It manages threads and saves them in a special .titan file that can be found in
|
|
43
51
|
|
44
52
|
You can easily list all available threads:
|
45
53
|
|
46
|
-
Titan::Manager.
|
54
|
+
Titan::Manager.all_threads
|
47
55
|
|
48
|
-
By using the manager you can find currently
|
56
|
+
By using the manager you can find currently managed threads by using their identifier:
|
49
57
|
|
50
58
|
thread = Titan::Manager.find("my_new_thread")
|
51
59
|
|
data/lib/titan/manager.rb
CHANGED
data/lib/titan/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: titan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Stefan Sprenger
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-11-
|
18
|
+
date: 2010-11-25 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|