titan 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
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.all
54
+ Titan::Manager.all_threads
47
55
 
48
- By using the manager you can find currently running threads using their identifier:
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
@@ -1,4 +1,4 @@
1
- require "yaml" if RUBY_VERSION >= '1.9'
1
+ require "yaml"
2
2
 
3
3
  module Titan
4
4
  #
data/lib/titan/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Titan
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
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-24 00:00:00 +01:00
18
+ date: 2010-11-25 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency