virtus2 2.0.2 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +3 -0
- data/lib/virtus/attribute/collection.rb +2 -1
- data/lib/virtus/version.rb +1 -1
- 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: fd1e6b78617b2df64b1a43e95958bd409ea14c8b9209fec15f157a2d1cbf769a
|
4
|
+
data.tar.gz: 449900e332d50149793549949820ac2c0a3b43266ff6cd674482ce0058bc8904
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b3ae36a6a52b7fcf867f77ea557b20df8619e445f90626407d197d95d2a5760e954b75eb86a954c9dd45795261933e3cddbadfd8df183549d0b2d4dee0dc485
|
7
|
+
data.tar.gz: b388f3913ca960cc413df5ce51d6ae6e80fc900b1bf696429acc02a2a4d9c1a68b5ecfa54fae95efb7ae7e307b1cea7f44107d6f3796c3a8f078fc43e7910acd
|
data/Changelog.md
CHANGED
@@ -22,9 +22,10 @@ module Virtus
|
|
22
22
|
if EmbeddedValue.handles?(member) || pending?(member)
|
23
23
|
Type.new(primitive, member)
|
24
24
|
else
|
25
|
+
member_type = member < Virtus::Attribute ? member : Axiom::Types.infer(member)
|
25
26
|
klass.new {
|
26
27
|
primitive primitive
|
27
|
-
member_type
|
28
|
+
member_type member_type
|
28
29
|
}
|
29
30
|
end
|
30
31
|
end
|
data/lib/virtus/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: virtus2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Solnica
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: descendants_tracker
|