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 +4 -4
- data/lib/eventq_base/configuration.rb +9 -3
- data/lib/eventq_base/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca5a24a8d3dd026bbbddf9b917c5f6dcbc80c81b
|
4
|
+
data.tar.gz: eb77ff480db3bfc2e31efad317e5d6481a70b864
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 815dc02ff6c9b11ac77a05beb8b75d0fe4145acff15d3c24bd2f28d9ed419ad5497610ed6b558bd39beb88651f2038e644640b610769d839b2e33674fa36e981
|
7
|
+
data.tar.gz: 83906d4d38eed95e385b653291a83610383ee39caa004913ade674ce0f620778976ca755685cfaf08c3e1fdeddc07c6656f4bdbf07e53c9e969cd6f59d493521
|
@@ -1,10 +1,16 @@
|
|
1
1
|
module EventQ
|
2
2
|
class Configuration
|
3
3
|
|
4
|
-
|
4
|
+
def self.serialization_provider=(value)
|
5
|
+
@serialization_provider = value
|
6
|
+
end
|
5
7
|
|
6
|
-
def
|
7
|
-
serialization_provider
|
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
|
data/lib/eventq_base/version.rb
CHANGED