workqueue 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/workqueue.rb CHANGED
@@ -49,7 +49,7 @@ class WorkQueue
49
49
  end
50
50
 
51
51
  def run
52
- @workers ||= (1..size).map do
52
+ @workers = (1..size).map do
53
53
  Thread.new { work! }
54
54
  end
55
55
 
@@ -1,5 +1,5 @@
1
1
  class WorkQueue
2
2
  def self.version
3
- '0.0.1'
3
+ '0.1.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workqueue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -38,7 +38,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
38
38
  version: '0'
39
39
  segments:
40
40
  - 0
41
- hash: -901472412083853702
41
+ hash: -1970191640167719375
42
42
  required_rubygems_version: !ruby/object:Gem::Requirement
43
43
  none: false
44
44
  requirements:
@@ -47,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
47
  version: '0'
48
48
  segments:
49
49
  - 0
50
- hash: -901472412083853702
50
+ hash: -1970191640167719375
51
51
  requirements: []
52
52
  rubyforge_project: workqueue
53
53
  rubygems_version: 1.8.10