fiber18 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/fiber18.gemspec +1 -1
  2. data/lib/fiber18.rb +4 -0
  3. metadata +31 -20
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "fiber18"
6
- s.version = "1.0.0"
6
+ s.version = "1.0.1"
7
7
  s.authors = [""]
8
8
  s.email = [""]
9
9
  s.homepage = "http://github.com/tmm1/fiber18"
@@ -52,6 +52,10 @@ unless defined? Fiber
52
52
  def inspect
53
53
  "#<#{self.class}:0x#{self.object_id.to_s(16)}>"
54
54
  end
55
+
56
+ def alive?
57
+ @thread.alive?
58
+ end
55
59
  end
56
60
 
57
61
  class RootFiber < Fiber
metadata CHANGED
@@ -1,21 +1,26 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fiber18
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 21
4
5
  prerelease:
5
- version: 1.0.0
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 1
10
+ version: 1.0.1
6
11
  platform: ruby
7
12
  authors:
8
- - ""
13
+ - ""
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2012-03-07 00:00:00 Z
18
+ date: 2012-03-15 00:00:00 Z
14
19
  dependencies: []
15
20
 
16
21
  description: API compatible Thread based Fiber implementation for Ruby 1.8 (including JRuby in 1.8 mode)
17
22
  email:
18
- - ""
23
+ - ""
19
24
  executables: []
20
25
 
21
26
  extensions: []
@@ -23,14 +28,14 @@ extensions: []
23
28
  extra_rdoc_files: []
24
29
 
25
30
  files:
26
- - .gitignore
27
- - README
28
- - Rakefile
29
- - fiber18.gemspec
30
- - lib/compat/continuation.rb
31
- - lib/compat/fiber.rb
32
- - lib/fiber18.rb
33
- - test/test_fiber.rb
31
+ - .gitignore
32
+ - README
33
+ - Rakefile
34
+ - fiber18.gemspec
35
+ - lib/compat/continuation.rb
36
+ - lib/compat/fiber.rb
37
+ - lib/fiber18.rb
38
+ - test/test_fiber.rb
34
39
  homepage: http://github.com/tmm1/fiber18
35
40
  licenses: []
36
41
 
@@ -38,23 +43,29 @@ post_install_message:
38
43
  rdoc_options: []
39
44
 
40
45
  require_paths:
41
- - lib
46
+ - lib
42
47
  required_ruby_version: !ruby/object:Gem::Requirement
43
48
  none: false
44
49
  requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: "0"
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ hash: 3
53
+ segments:
54
+ - 0
55
+ version: "0"
48
56
  required_rubygems_version: !ruby/object:Gem::Requirement
49
57
  none: false
50
58
  requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: "0"
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ hash: 3
62
+ segments:
63
+ - 0
64
+ version: "0"
54
65
  requirements: []
55
66
 
56
67
  rubyforge_project: fiber18
57
- rubygems_version: 1.8.15
68
+ rubygems_version: 1.8.17
58
69
  signing_key:
59
70
  specification_version: 3
60
71
  summary: API compatible Thread based Fiber implementation for Ruby 1.8