duck_record 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/duck_record/serialization.rb +0 -9
- data/lib/duck_record/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: ca36d6bd8ca0bdc0d9b38bf33dd39eb40288f8b1
|
4
|
+
data.tar.gz: 63c9753f7bd2d53285936d3b828bb77dc4822fc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f19974e0945e4f7ec0b9ef7e8795bcb09d4d72620eb61891c83eb5bba9d0645d30da6171b7b9f694b2d2ec12f1cc703a2e3da6c531b16a31d45be72b7eb4f4b2
|
7
|
+
data.tar.gz: 889d136bd29686abc478c80de163b34f6dc8a0fbc2eb0d60ef8f51fcf9e2cbce71f419813095ac0502f8edb7ab812487d85f75064c3b6f77f19ad97b8233c0c8
|
@@ -7,14 +7,5 @@ module DuckRecord #:nodoc:
|
|
7
7
|
included do
|
8
8
|
self.include_root_in_json = false
|
9
9
|
end
|
10
|
-
|
11
|
-
def serializable_hash(options = nil)
|
12
|
-
options = options.try(:dup) || {}
|
13
|
-
|
14
|
-
options[:except] = Array(options[:except]).map(&:to_s)
|
15
|
-
options[:include] = Array(_reflections.keys).map(&:to_s)
|
16
|
-
|
17
|
-
super(options)
|
18
|
-
end
|
19
10
|
end
|
20
11
|
end
|
data/lib/duck_record/version.rb
CHANGED