eventq_base 1.6.2 → 1.6.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: de095fe6a2bd97f8b3e62370ecb951013d39a990
4
- data.tar.gz: d8c5b8270aae20bd5c49032c8e18274a9e56a7de
3
+ metadata.gz: 57b40f06cb176a4a1913e0ec1465b3b65fe006f4
4
+ data.tar.gz: 484e7193eeac32cb6bbf2eea8c28b8d1f382e6be
5
5
  SHA512:
6
- metadata.gz: cd7fe5ccd89db115d09664147357b28e11e73ddad5ea4300720cda202e2c6645815f83e98fccd7da6075d5761eced376cea67b429f01f9acb2fe0a6fc2793e04
7
- data.tar.gz: f4a76ea65c0f85d299d45788c642c5337f9fcc327cbf076898a960d1c787b536245e95696481715bf129e5223003e9a52540dd1a9d17a1f49520756ce851a5e3
6
+ metadata.gz: 149d7642106907f254af1e89a2053dfb695635fbf9e5821a5eae4856767537e3d4bfe0b65981834d626e47296185b50b1049f7a428671f20d36724d82202398f
7
+ data.tar.gz: 9d70c5d78d7b95ce602d9a608a7c801dc907952fdf89f7589e538aeba623ba08e4e2d353a2efeb467ee7dad160d92678b9aa284456da42b2cd99df4ed219ae39
@@ -1,8 +1,14 @@
1
1
  module EventQ
2
2
  module SerializationProviders
3
3
  class JsonSerializationProvider
4
+
5
+ def initialize
6
+ @hash_helper = HashKit::Helper.new
7
+ end
8
+
4
9
  def serialize(object)
5
- Json.dump(object)
10
+ hash = @hash_helper.to_hash(object)
11
+ Json.dump(hash)
6
12
  end
7
13
 
8
14
  def deserialize(json)
@@ -1,3 +1,3 @@
1
1
  module EventqBase
2
- VERSION = "1.6.2"
2
+ VERSION = "1.6.3"
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.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonsage