frozen_record 0.19.3 → 0.19.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/frozen_record/compact.rb +2 -1
- data/lib/frozen_record/version.rb +1 -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: 2fe4a43299f20ff72c35ee4093ef5f6c8d49214aabc82cf67108da083980b28e
|
4
|
+
data.tar.gz: 7023b4b75d3eb733ef534ae85f1b25e0efb7aac3ba8548dd9e1a25bdbe1ec804
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4031cf6cd49bec9dc97c246a0999736ed178d9f6b1e623ef6e60070da454e1141fb7ca25056d2d55f2f808d2812f0f1c14e856cecaf73b0dd403a2a047debf62
|
7
|
+
data.tar.gz: 823f999ec6e21c55b4b0cad6b39008c55377052d194a29af96edb0e85cc9a33227635246a9187fdc7207eac9ec515c352f54ac8c568a7ec7bd3589ef74dea0dd
|
@@ -18,8 +18,9 @@ module FrozenRecord
|
|
18
18
|
@attributes = list_attributes(records).freeze
|
19
19
|
build_attributes_cache
|
20
20
|
define_attribute_methods(@attributes.to_a)
|
21
|
+
records = records.map { |r| load(r) }.freeze
|
21
22
|
index_definitions.values.each { |index| index.build(records) }
|
22
|
-
records
|
23
|
+
records
|
23
24
|
end
|
24
25
|
end
|
25
26
|
|