fanforce-worker 0.19.1 → 0.19.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fanforce/worker/errors.rb +2 -2
- data/lib/fanforce/worker/version.rb +1 -1
- data/lib/fanforce/worker/worker.rb +1 -0
- 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: ca8014d9da61073d61f76751badde9a5f0bcbdb2
|
4
|
+
data.tar.gz: fd9a521fe85d726545f641ee80a51138fe2736d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef05a7bb906fbe66077c25485a83d099e7d20fa4a6c9e312e1d96fb7b6be193f4651e8eb392c3f2144a35f4693c8c32580232290e1a4e8589c305d686a2ef4d2
|
7
|
+
data.tar.gz: 789490534e5be084af2e125ad188d31b8ec578d19272a49ad74541c05a5931d23b263e14ab2b3b2164f5746d2bbb34963f0b5d7461ccfeb3425d579d4667ce2c
|
@@ -52,7 +52,7 @@ class Fanforce::Worker::Errors
|
|
52
52
|
iron: {token: Fanforce::Worker.iron_token, project_id: Fanforce::Worker.iron_project_id}
|
53
53
|
}
|
54
54
|
redis.multi do
|
55
|
-
redis.
|
55
|
+
redis.rpush("ERRORS:#{queue_id}", error_id)
|
56
56
|
redis.hmset("ERRORS:#{queue_id}:#{error_id}", error.flatten)
|
57
57
|
end
|
58
58
|
rescue => e
|
@@ -103,7 +103,7 @@ class Fanforce::Worker::Error
|
|
103
103
|
def self.redis; Fanforce::Worker::Errors.redis end
|
104
104
|
|
105
105
|
def self.delete(queue_id, error_id)
|
106
|
-
redis.
|
106
|
+
redis.lrem("ERRORS:#{queue_id}", 0, error_id)
|
107
107
|
redis.del("ERRORS:#{queue_id}:#{error_id}")
|
108
108
|
end
|
109
109
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fanforce-worker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caleb Clark
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iron_mq
|