list_spider 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/list_spider.rb +2 -2
- 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: b7fe803a88429fac480e8a5caeb849ed0e12f050
|
4
|
+
data.tar.gz: 5d941d4a9a4d18b5212dd02deade36f21688c638
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8476135ee259429fb37ce9d58f0b64b3f7d8fec310fca172ac261fbc87e99328716ebbdbdfe9bb438365137f718956b5d7c233275f4ae1cf7beea9d1a1fc0252
|
7
|
+
data.tar.gz: ea8af75e48aee9f2d0101ba1d97d5db84f2bd615c6f5fa824cd842cbf5d88870bc81dee06e49aa9c78e6b070dec7e269eab01b561b132402d8b83ac1818ad67c
|
data/lib/list_spider.rb
CHANGED
@@ -226,8 +226,8 @@ module ListSpider
|
|
226
226
|
event_machine_start_list(get_next_task, method(:complete))
|
227
227
|
end
|
228
228
|
|
229
|
-
def get_one(task)
|
230
|
-
get_list([task])
|
229
|
+
def get_one(task, inter_val: 0, max: 30)
|
230
|
+
get_list([task], inter_val: inter_val, max: max)
|
231
231
|
end
|
232
232
|
|
233
233
|
def add_task(task)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: list_spider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Zhang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: em-http-request
|