activegraph 10.0.0.pre.beta.10 → 10.0.0.pre.beta.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_graph/shared/persistence.rb +2 -2
- data/lib/active_graph/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: 2a3aec17e64744af3f8b985b56efb4ce1f9281cee7d975609962607b5bb42e02
|
4
|
+
data.tar.gz: c0af63007c35b6ed74802908d0347e244a5fb7a1a71a191c429a5e331639a516
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c08db996d04dd5c4680c8a199246ead79058328a5090e28786b274b271ae207d934b5f1595f804581008354136ae2c18a479d7ac21415232091a8a2b7b030c6
|
7
|
+
data.tar.gz: 975c18e155473c98cb4551c2e70a0f1645296d1e31e5e4728052a0fb054a2e20aac89fce8e41e702e041ca09e7839d856ad9ee20e31ea88d2fd7ec4e4b55057a
|
@@ -30,7 +30,7 @@ module ActiveGraph::Shared
|
|
30
30
|
# @return [Hash]
|
31
31
|
def props_for_create
|
32
32
|
inject_timestamps!
|
33
|
-
props_with_defaults = inject_defaults!(
|
33
|
+
props_with_defaults = inject_defaults!(props)
|
34
34
|
converted_props = props_for_db(props_with_defaults)
|
35
35
|
return converted_props unless self.class.respond_to?(:default_property_values)
|
36
36
|
inject_primary_key!(converted_props)
|
@@ -143,7 +143,7 @@ module ActiveGraph::Shared
|
|
143
143
|
end
|
144
144
|
|
145
145
|
# @return [Hash] all defined and none nil properties
|
146
|
-
def
|
146
|
+
def props
|
147
147
|
attributes.reject { |_, v| v.nil? }.symbolize_keys
|
148
148
|
end
|
149
149
|
|
data/lib/active_graph/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activegraph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.0.0.pre.beta.
|
4
|
+
version: 10.0.0.pre.beta.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andreas Ronge, Brian Underwood, Chris Grigg, Heinrich Klobuczek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|