fanforce-workers 0.0.3.pre → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/fanforce/workers/version.rb +1 -1
- data/lib/fanforce/workers/worker.rb +3 -12
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzE1NGZlOGMyMzViMThkZjM5MmE5MmQ2YmYwN2YxMTY0OWY5NGNjNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDUzNmU5MDNjZWE2YzBjZGI0NWFlMWE4NDQ2NjVhMTExN2U1ZDJhYQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZmMwMmRiZDlmZTI5ZWY5N2Y5YTkyZWY3ZDIwMTcyMDY5MjAyOGNkZjEwNjJm
|
10
|
+
NWYwNGU0Yjc0NTcyMjEwZTlhMGFjMzVjMWNlOTE0MGQxMGYxNDQ3NTU4NWFk
|
11
|
+
YmYwOGQzMDY1NzljYmYzNTY0OGY5YjJmZWMxNWQ2MDJhOWY4OWE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDA2NzcxZjhiZDcyM2RmNDhmY2I2NTZmZWQxNDk4YWVlNzQwODkzNTMwZTc4
|
14
|
+
MDkzM2ZmZWM5M2VmNmRmMDhhNmRiZjVmMzMxZThlN2Q5YmY1OTdiMDI0M2E5
|
15
|
+
OWFiZmExYjI4ZjM3ZjkyZDczZGEyOTkyODQ0YzA1NDU5YjcwY2I=
|
@@ -10,18 +10,9 @@ class Fanforce::Worker
|
|
10
10
|
|
11
11
|
@init_params = init_params
|
12
12
|
@worker_code = worker_code
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
msg = iron_mq.queue(init_params['worker_id']).get #(timeout: 3600)
|
18
|
-
puts msg
|
19
|
-
puts msg.body
|
20
|
-
|
21
|
-
|
22
|
-
#iron_mq.queue(init_params['worker_id']).poll do |msg|
|
23
|
-
# run_worker(msg, 0)
|
24
|
-
#end
|
13
|
+
iron_mq.queue(init_params['worker_id']).poll do |msg|
|
14
|
+
run_worker(msg, 0)
|
15
|
+
end
|
25
16
|
end
|
26
17
|
|
27
18
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fanforce-workers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.3
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caleb Clark
|
@@ -69,9 +69,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
69
69
|
version: '0'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- - ! '
|
72
|
+
- - ! '>='
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
74
|
+
version: '0'
|
75
75
|
requirements: []
|
76
76
|
rubyforge_project:
|
77
77
|
rubygems_version: 2.0.3
|