spider-gazelle 3.0.8 → 3.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spider-gazelle/reactor.rb +3 -5
- data/lib/spider-gazelle/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1fb9d631f4b6388900685024833ffcc2ea4e27f
|
4
|
+
data.tar.gz: e0a966bb202f0981be2fbeafc239165423562779
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6cb52ce7c34a05e486bba8f4a2cb9194fe65858c22eadf33f60bb8af64c9f5b0c091f73d098e5ff67050404cd2096cd073d34bab79693138e2487e7503dbd69
|
7
|
+
data.tar.gz: e2dedb5e93f053a641270dccecb9ef9e32628653f0f89c74dc5be0cb4bee56d76a5825f07acb34b65f51df6e1bbc96c8be1c16a83fd8954b567f655440d1c473
|
@@ -18,16 +18,14 @@ module SpiderGazelle
|
|
18
18
|
@shutdown_called = false
|
19
19
|
end
|
20
20
|
|
21
|
-
def run
|
21
|
+
def run
|
22
22
|
if @running
|
23
|
-
@thread.schedule
|
23
|
+
@thread.schedule { yield }
|
24
24
|
else
|
25
25
|
@running = true
|
26
26
|
@thread.notifier method(:log)
|
27
27
|
@thread.on_program_interrupt @shutdown
|
28
|
-
@thread.run {
|
29
|
-
block.call
|
30
|
-
}
|
28
|
+
@thread.run { yield }
|
31
29
|
end
|
32
30
|
end
|
33
31
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spider-gazelle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen von Takach
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http-parser
|