dddr 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dddr/version.rb +1 -1
- data/lib/dddr.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d7f242b3643ea6417751a4d0a172114d8f4e4d538740e8a2ef5cbec040e1d0b
|
4
|
+
data.tar.gz: a46ea8ea402f0aa98c04ccc6b1d321f5d35f344fbb17684526f93d086d333cd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9105134ac2b43915ac26fd493758dc1cdf2e8e6b5f86c7c4af8e971feb7463722d97337054f3957976853d8b0c9245971089c15b82f0328edd142f360c8908ae
|
7
|
+
data.tar.gz: 772dc22ef446d3d0ec98b81d02ef6ed27107491eccef64bb313677401e29b6c3f64277d3f5090d90c94605a426fa41d3cb7a0c975e43839278e48bcbcdab3f8c
|
data/lib/dddr/version.rb
CHANGED
data/lib/dddr.rb
CHANGED
@@ -6,6 +6,7 @@ require "date"
|
|
6
6
|
require 'csv'
|
7
7
|
require "ostruct"
|
8
8
|
require "fileutils"
|
9
|
+
require "oj"
|
9
10
|
|
10
11
|
require_relative "dddr/sdbm"
|
11
12
|
require_relative "dddr/sequel"
|
@@ -36,7 +37,7 @@ module Dddr
|
|
36
37
|
configuration.env = ENV["DDDR_ENV"] || "development"
|
37
38
|
configuration.data_dir = "/var/dddr"
|
38
39
|
configuration.engine = :sdbm
|
39
|
-
configuration.serializer =
|
40
|
+
configuration.serializer = Oj
|
40
41
|
configuration.container = nil
|
41
42
|
yield(configuration) if block_given?
|
42
43
|
end
|