metacrunch-redis 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 774482c4b0397c7515dd587ead6c63ccd1387cd0
4
- data.tar.gz: 643b0b75a78e9b6423fd8b0c90eb9902a0289edd
3
+ metadata.gz: e2966f98bbe7578886cd8062a85adbdcdfac6506
4
+ data.tar.gz: 93b03ff34459f6dda1fa41e4a13e5080ba832c62
5
5
  SHA512:
6
- metadata.gz: 9c5cde0ade90bd646c4b835b7d15418c5b87b27c05a3307f1d382c70afab7b6b6e1e69554d8a76de8ba29e5cdbd5fab46add4ccbfc6f6aa356edba6a060782be
7
- data.tar.gz: 1b2b6b1b05cad27e6694ae5ad77da92a34ced50becc915df227d693486af37613a31888efdf46a387cd48529b514a76dddc2c0fea1db1bd121dd11e17d6dd0bf
6
+ metadata.gz: bff4e20ae228229b11e4dac0da275e47d8a850a88659da98b6f4225ce08de5391a08d8e383bf8b4c67182d90eb90e94c771f4359a75d862f7d4230fe7958540d
7
+ data.tar.gz: 663a3cf3d7749621fe0ea09634f1ddb0c3604aeca9fae4accd9354d066ad0d3d29b1d6dc633af4d1d02f3310d3570ce08b76ccce0b8794aee6f0af6ed2b464a7
@@ -24,14 +24,14 @@ module Metacrunch
24
24
  while true
25
25
  list, result = @redis.blpop(@queue_name, timeout: @blocking_timeout)
26
26
  if result.present?
27
- yield JSON.parse(result)
27
+ yield result
28
28
  else
29
29
  yield nil
30
30
  end
31
31
  end
32
32
  else
33
33
  while result = @redis.lpop(@queue_name)
34
- yield JSON.parse(result)
34
+ yield result
35
35
  end
36
36
  end
37
37
 
@@ -1,5 +1,5 @@
1
1
  module Metacrunch
2
2
  module Redis
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metacrunch-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - René Sprotte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-21 00:00:00.000000000 Z
11
+ date: 2017-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport