curb_threadpool 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -5,9 +5,8 @@ A multi-threaded worker pool for Curb.
5
5
  ## Usage
6
6
 
7
7
  ct = Curl::ThreadPool.new
8
- reqs = []
9
8
  10000.times { |i| ct[i] = "http://localhost/test" }
10
- responses = ct.exec() # => contains keyed response hash
9
+ responses = ct.perform() # => contains keyed response hash
11
10
 
12
11
  or
13
12
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.5.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{curb_threadpool}
8
- s.version = "0.5.1"
8
+ s.version = "0.5.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Chetan Sarva"]
@@ -53,7 +53,7 @@ class Curl::ThreadPool
53
53
  @reqs[i] = url.to_s
54
54
  end
55
55
 
56
- results = exec()
56
+ results = perform()
57
57
 
58
58
  ret = []
59
59
  (0..results.size-1).each do |i|
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: curb_threadpool
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 1
10
- version: 0.5.1
9
+ - 2
10
+ version: 0.5.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chetan Sarva