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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9bf46dd431abd8476ad8351490c70739b7ad33a
4
- data.tar.gz: 0c2c4c633293dce041e0a1f1d0cf33b8c941197f
3
+ metadata.gz: ca36d6bd8ca0bdc0d9b38bf33dd39eb40288f8b1
4
+ data.tar.gz: 63c9753f7bd2d53285936d3b828bb77dc4822fc5
5
5
  SHA512:
6
- metadata.gz: ade0bf78d799f87febbaacd5a5616547f61e767a0ea5da8ce22a3c2e37869cd41349888c0ecf13ad8865e7945dfd3cc9f526d8fec7cdaec2469fd87bd540ad58
7
- data.tar.gz: a74a31a095e4d0db122c11c2bbf403191d15ca854c9fc8e55ab6382bfb6128ea8365490071a56bec1a3cb54c72179926cb3ca0e8c763bd9998a71a61d3a319ba
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
@@ -1,3 +1,3 @@
1
1
  module DuckRecord
2
- VERSION = "0.0.18"
2
+ VERSION = "0.0.19"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: duck_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - jasl