ready_pool 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/ready_pool.rb +3 -1
- metadata +7 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YjdkNGQ2NGI0MThhZjhhZDFmYWQzMzczZWYyYjEwYmRjMmNlNTc5Mg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MGNkYmI3NGY5NzRkNmEyYWZjNWQ1MjdiNThjZGM5ZGVmNjgzNzFhZg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZmMzZWRmYTQyY2VhMDlmODE1MjBmYjVkY2FhMjdlYzFkYWU3MmQzOGQ0N2Ix
|
|
10
|
+
OWU1OTEwMzExZmNjODk4ZmVmNzU4YzA0ZjM3OGIxNzA4NTRiN2E3ZmI0ODNl
|
|
11
|
+
Nzc1MTY2NDIwOTE2ZTVlMDkyOTQwNDI0OTk0NDA5ZWM1Mjc3OWE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
YTUyZjMyYjRkNjMxYTM5MWIyZTRhMzIzODE5Njg3ZDcyMDJjMDUwNzUxYTAz
|
|
14
|
+
MmJlYzM1NDY1YjMxYjQwODEwYzFiYjFkMmY0YTQyZDMyYWE0ZjcxNTYzMmVl
|
|
15
|
+
OTY4MzQwNTI0Yzg2Y2NhYzNjM2MzMzE1MzM0ZjBhODQzOWI0ZjE=
|
data/lib/ready_pool.rb
CHANGED
|
@@ -63,6 +63,7 @@ class ReadyPool
|
|
|
63
63
|
# starts the thread
|
|
64
64
|
#
|
|
65
65
|
# @param data [Object] data passed to the thread Proc
|
|
66
|
+
# @return [Thread]
|
|
66
67
|
################################################################
|
|
67
68
|
def start data
|
|
68
69
|
th = nil
|
|
@@ -83,7 +84,8 @@ class ReadyPool
|
|
|
83
84
|
end
|
|
84
85
|
|
|
85
86
|
th[:data] = data
|
|
86
|
-
signal_thread th
|
|
87
|
+
signal_thread th
|
|
88
|
+
return th[:thread]
|
|
87
89
|
end
|
|
88
90
|
|
|
89
91
|
################################################################
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ready_pool
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Greg Martin
|
|
@@ -17,6 +17,9 @@ dependencies:
|
|
|
17
17
|
- - ~>
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '1.1'
|
|
20
|
+
- - ! '>='
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: 1.1.1
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -24,6 +27,9 @@ dependencies:
|
|
|
24
27
|
- - ~>
|
|
25
28
|
- !ruby/object:Gem::Version
|
|
26
29
|
version: '1.1'
|
|
30
|
+
- - ! '>='
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 1.1.1
|
|
27
33
|
description: A thread pool implementation for ruby
|
|
28
34
|
email: greg@softsprocket.com
|
|
29
35
|
executables: []
|