tpool 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/tpool_block.rb +1 -1
  3. data/tpool.gemspec +8 -8
  4. metadata +4 -6
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -30,7 +30,7 @@ class Tpool::Block
30
30
 
31
31
  if @args[:thread_starts]
32
32
  @args[:thread_starts].each do |thread|
33
- thread.wakeup
33
+ thread.wakeup if thread.alive?
34
34
  end
35
35
  end
36
36
 
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{tpool}
8
- s.version = "0.0.3"
7
+ s.name = "tpool"
8
+ s.version = "0.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kasper Johansen"]
12
- s.date = %q{2012-08-29}
13
- s.description = %q{A thread-pool for Ruby that supports joining, status-checking, stopping jobs and more.}
14
- s.email = %q{k@spernj.org}
12
+ s.date = "2012-09-16"
13
+ s.description = "A thread-pool for Ruby that supports joining, status-checking, stopping jobs and more."
14
+ s.email = "k@spernj.org"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.rdoc"
@@ -31,11 +31,11 @@ Gem::Specification.new do |s|
31
31
  "spec/tpool_spec.rb",
32
32
  "tpool.gemspec"
33
33
  ]
34
- s.homepage = %q{http://github.com/kaspernj/tpool}
34
+ s.homepage = "http://github.com/kaspernj/tpool"
35
35
  s.licenses = ["MIT"]
36
36
  s.require_paths = ["lib"]
37
- s.rubygems_version = %q{1.6.2}
38
- s.summary = %q{A thread-pool for Ruby.}
37
+ s.rubygems_version = "1.8.24"
38
+ s.summary = "A thread-pool for Ruby."
39
39
 
40
40
  if s.respond_to? :specification_version then
41
41
  s.specification_version = 3
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: tpool
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kasper Johansen
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-08-29 00:00:00 +02:00
14
- default_executable:
13
+ date: 2012-09-16 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: rspec
@@ -80,7 +79,6 @@ files:
80
79
  - spec/spec_helper.rb
81
80
  - spec/tpool_spec.rb
82
81
  - tpool.gemspec
83
- has_rdoc: true
84
82
  homepage: http://github.com/kaspernj/tpool
85
83
  licenses:
86
84
  - MIT
@@ -94,7 +92,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
94
92
  requirements:
95
93
  - - ">="
96
94
  - !ruby/object:Gem::Version
97
- hash: 150434338561834536
95
+ hash: -779568761833722332
98
96
  segments:
99
97
  - 0
100
98
  version: "0"
@@ -107,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
105
  requirements: []
108
106
 
109
107
  rubyforge_project:
110
- rubygems_version: 1.6.2
108
+ rubygems_version: 1.8.24
111
109
  signing_key:
112
110
  specification_version: 3
113
111
  summary: A thread-pool for Ruby.