eventq_base 1.6.0 → 1.6.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: ef8e4f3f27d8c02c1d6833b85db7303e5d69739c
4
- data.tar.gz: dc5c6e661571e6bb84fd6d338ec54c60cd41f660
3
+ metadata.gz: ca5a24a8d3dd026bbbddf9b917c5f6dcbc80c81b
4
+ data.tar.gz: eb77ff480db3bfc2e31efad317e5d6481a70b864
5
5
  SHA512:
6
- metadata.gz: 5a496045f214af48e774a3d33cf5123a853f8561d69e154cffe7837f3d69801553124e69d0ac4e3cafa5fdf3e5b2fd352a06946580ff6e96efebf602bdaf9147
7
- data.tar.gz: 505ae01c7133cc0789c687b5b5d262faed49af01774b20f4c6be7cbe0e431db6f42f00a73dd3c5cf2edfd8a788251f1f41b2af279c6e97403558c6f1c38c9011
6
+ metadata.gz: 815dc02ff6c9b11ac77a05beb8b75d0fe4145acff15d3c24bd2f28d9ed419ad5497610ed6b558bd39beb88651f2038e644640b610769d839b2e33674fa36e981
7
+ data.tar.gz: 83906d4d38eed95e385b653291a83610383ee39caa004913ade674ce0f620778976ca755685cfaf08c3e1fdeddc07c6656f4bdbf07e53c9e969cd6f59d493521
@@ -1,10 +1,16 @@
1
1
  module EventQ
2
2
  class Configuration
3
3
 
4
- attr_accessor :serialization_provider
4
+ def self.serialization_provider=(value)
5
+ @serialization_provider = value
6
+ end
5
7
 
6
- def initialize
7
- serialization_provider = EventQ::SerializationProviders::OJ
8
+ def self.serialization_provider
9
+ if @serialization_provider == nil
10
+ return EventQ::SerializationProviders::OJ
11
+ else
12
+ return @serialization_provider
13
+ end
8
14
  end
9
15
 
10
16
  end
@@ -1,3 +1,3 @@
1
1
  module EventqBase
2
- VERSION = "1.6.0"
2
+ VERSION = "1.6.1"
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.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonsage