eventq_base 1.6.6 → 1.6.7

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: f97a222ad756c7d3dfc79a43df6ecad24965cce4
4
- data.tar.gz: 4d7149f4d5b90bfa854c5fcc5c02124b782ccda4
3
+ metadata.gz: 87eabe6523b050ac4624171df4d462c6bbe40691
4
+ data.tar.gz: a379e8e023218840639a87132457833a8685ab88
5
5
  SHA512:
6
- metadata.gz: 0a880a9fe5279a52d8388d5363f4bbbd3f1ba8ffd5608d55e920136c7a8d849cf1d40222381dc11f1ba3717091fea55e17554a85a0d21c1643c25b88b263091a
7
- data.tar.gz: 078e1aa4a2b9fa555c34989791391575e7e1ca9193f66990e9c3f1c9b324f48108ec83433eac70d3472d17627aed990e1f36c5973add47e39befe824b3ea5be1
6
+ metadata.gz: 2636c113ca835081154e812f6b6ee9d1d94c5fa6606b266a793334f66f4f86076d53f920671dabf3df5054de80d97d6e95dca850320a71efe9d12c0252b8337b
7
+ data.tar.gz: 67fe3df7797be4907f4110804a2c36a090130ba7f99bf58eb0f03ce955c96528d4d99abee5cf86e6deb7da7607d6c2442f1e8c6777089e03928f13569a069b6d
@@ -7,7 +7,7 @@ module EventQ
7
7
 
8
8
  def self.serialization_provider
9
9
  if @serialization_provider == nil
10
- return EventQ::SerializationProviders::OJ
10
+ return EventQ::SerializationProviders::OJ_PROVIDER
11
11
  else
12
12
  return @serialization_provider
13
13
  end
@@ -4,14 +4,14 @@ require_relative 'serialization_providers/oj_serialization_provider'
4
4
  module EventQ
5
5
  module SerializationProviders
6
6
 
7
- OJ = 'oj'.freeze
8
- JSON = 'json'.freeze
7
+ OJ_PROVIDER = 'oj'.freeze
8
+ JSON_PROVIDER = 'json'.freeze
9
9
 
10
10
  class Manager
11
11
  def initialize
12
12
  @providers = {}
13
- @providers[OJ] = EventQ::SerializationProviders::OjSerializationProvider.new
14
- @providers[JSON] = EventQ::SerializationProviders::JsonSerializationProvider.new
13
+ @providers[OJ_PROVIDER] = EventQ::SerializationProviders::OjSerializationProvider.new
14
+ @providers[JSON_PROVIDER] = EventQ::SerializationProviders::JsonSerializationProvider.new
15
15
  end
16
16
 
17
17
  def get_provider(provider_type)
@@ -14,7 +14,7 @@ module EventQ
14
14
  end
15
15
 
16
16
  def deserialize(string)
17
- return JSON.parse(string)
17
+ return JSON.load(string)
18
18
  end
19
19
 
20
20
  end
@@ -1,3 +1,3 @@
1
1
  module EventqBase
2
- VERSION = "1.6.6"
2
+ VERSION = "1.6.7"
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.6
4
+ version: 1.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonsage