frozen_record 0.22.0 → 0.22.1
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/backends/json.rb +1 -0
- data/lib/frozen_record/compact.rb +2 -8
- data/lib/frozen_record/version.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f9b741714b43651cc824bf8fe992752dd4425f2357eaf6a995531cc37b3a224
|
4
|
+
data.tar.gz: c3700095fba0b7f56722e3b4ee515a81fed36542fc8e1dadc3854610a32f4ff1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6783fd2e014e11c2348cab5ab4926b12edf5927f347f311d4e7ecea80ab556db2952489c4e9a607936e3d32e052b89874050895c3fb27816c8a907bda7656d9d
|
7
|
+
data.tar.gz: 6afe414bdce72a1eb9ed68f780af2f20dde1e4aa43b155a5542096a64361434716b14cbaface580de7893e1e15416b6daffe4b875e30878c9acdffce9b1e5662
|
@@ -25,14 +25,8 @@ module FrozenRecord
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
-
|
29
|
-
|
30
|
-
owner << "attr_reader #{attr.inspect}"
|
31
|
-
end
|
32
|
-
else
|
33
|
-
def define_method_attribute(attr)
|
34
|
-
generated_attribute_methods.attr_reader(attr)
|
35
|
-
end
|
28
|
+
def define_method_attribute(attr, **)
|
29
|
+
generated_attribute_methods.attr_reader(attr)
|
36
30
|
end
|
37
31
|
|
38
32
|
attr_reader :_attributes_cache
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: frozen_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.22.
|
4
|
+
version: 0.22.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Boussier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|