eventq_base 1.9.1 → 1.9.3

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: e8f1d276ba5b65604efb3dc743daa4db91beeda3
4
- data.tar.gz: 20fad895d52b7fbf053e40ef2732a8888187de93
3
+ metadata.gz: 3c27fe104b8bbbd41440ab16cbc9bc607ba287dc
4
+ data.tar.gz: 4065c7f71de34e6c2b7bc03a71524e0ce22f43ed
5
5
  SHA512:
6
- metadata.gz: 79e305329388507009ec788b5b43a7bfb1346f1584764f3474432912ee341b1e18a1cc5bb116660897eb3c93d3ade03076db4803dacb9bd917cb3d71cd2109f0
7
- data.tar.gz: cbe2d24397ac6055d6005acd02287ab01c5358584a9b7e5efa8398f454c323dfe0c7e1e4ac41a5ac5c287f14fe094ae6b9e34ae6bf8d6074d5535824e109f475
6
+ metadata.gz: 3aeb240aef39cb29f09853e9f6d911187760bb93d3daa86c15111d8b2d43c7a5ccc5c0afce3fe98cbf38ead3829881b65d2f428673257ffd18059a6459d8ac35
7
+ data.tar.gz: 39e67133a032d3ae16d89163d61341447776789e8c758869fddb1276588359bb505ae7283faf1d95e01a83059a3113569ce1e25b1f02eec6c2b5000858c4749b
@@ -7,13 +7,14 @@ module EventQ
7
7
  end
8
8
 
9
9
  def serialize(object)
10
- return Oj.dump(object)
10
+ return Oj.dump(object, mode: :object)
11
11
  end
12
12
 
13
13
  def deserialize(json)
14
14
  begin
15
15
  return Oj.load(json)
16
16
  rescue Oj::ParseError
17
+ EventQ.log(:debug, "[#{self.class}] - Failed to deserialize using Oj, falling back to JsonSerializationProvider.")
17
18
  return @json_serializer.deserialize(json)
18
19
  end
19
20
  end
@@ -1,3 +1,3 @@
1
1
  module EventqBase
2
- VERSION = "1.9.1"
2
+ VERSION = "1.9.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventq_base
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonsage
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-10 00:00:00.000000000 Z
11
+ date: 2016-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler