eventq_base 1.6.5 → 1.6.6

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: 332c2befb331323920d8220042a36e1b03faaf91
4
- data.tar.gz: 5cca7d89d22610eb5e36f62356e3c949f20e84e9
3
+ metadata.gz: f97a222ad756c7d3dfc79a43df6ecad24965cce4
4
+ data.tar.gz: 4d7149f4d5b90bfa854c5fcc5c02124b782ccda4
5
5
  SHA512:
6
- metadata.gz: 213cb6bea65a336863f18c226e37697f0a483f00f0edaf71e258d4148bd89de569cb57eb6d3ad1f818d8964ba26f824a0399f8b5b603d28699e5513d163d86d5
7
- data.tar.gz: 7fd5a3a01bcb12e35668621f948bb933adadd9b3376e142c133005b28e423b84b0a3da0ddf534de036344640dc2548c8f58e2d4e65698e439f9a69cb164c29ad
6
+ metadata.gz: 0a880a9fe5279a52d8388d5363f4bbbd3f1ba8ffd5608d55e920136c7a8d849cf1d40222381dc11f1ba3717091fea55e17554a85a0d21c1643c25b88b263091a
7
+ data.tar.gz: 078e1aa4a2b9fa555c34989791391575e7e1ca9193f66990e9c3f1c9b324f48108ec83433eac70d3472d17627aed990e1f36c5973add47e39befe824b3ea5be1
@@ -1,3 +1,5 @@
1
+ require 'hash_kit'
2
+
1
3
  module EventQ
2
4
  module SerializationProviders
3
5
  class JsonSerializationProvider
@@ -8,12 +10,13 @@ module EventQ
8
10
 
9
11
  def serialize(object)
10
12
  hash = @hash_helper.to_hash(object)
11
- JSON.dump(hash)
13
+ return JSON.dump(hash)
12
14
  end
13
15
 
14
16
  def deserialize(string)
15
- JSON.load(string)
17
+ return JSON.parse(string)
16
18
  end
19
+
17
20
  end
18
21
  end
19
22
  end
@@ -1,3 +1,3 @@
1
1
  module EventqBase
2
- VERSION = "1.6.5"
2
+ VERSION = "1.6.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventq_base
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.5
4
+ version: 1.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonsage