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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d466d85a93338f42ae557c48b34cb8eef9be931703af2cd6f75b84c7fa99fcb
4
- data.tar.gz: e99a8b44d22b07f56a8935134aeb07352cd73c300a374594a55d927aa42beafd
3
+ metadata.gz: 2a3aec17e64744af3f8b985b56efb4ce1f9281cee7d975609962607b5bb42e02
4
+ data.tar.gz: c0af63007c35b6ed74802908d0347e244a5fb7a1a71a191c429a5e331639a516
5
5
  SHA512:
6
- metadata.gz: 48158eae360949d5d3fc227dc6e967e8de7bcdd4af36e801e741bb494d518aec9d7620563bb9c8b0a919cd11680cec1faeeb89e97e2a9685c5ac1e5c16a8626b
7
- data.tar.gz: 876d5d8837cd4511fbec787ac283fbcbd92633a93f62be4b6640499caf1e0aba8b2b43e11765037f5e52e2759bb0d05be68a6d41bf834ef1a40e52f67d5f47fa
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!(properties)
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 properties
146
+ def props
147
147
  attributes.reject { |_, v| v.nil? }.symbolize_keys
148
148
  end
149
149
 
@@ -1,3 +1,3 @@
1
1
  module ActiveGraph
2
- VERSION = '10.0.0-beta.10'
2
+ VERSION = '10.0.0-beta.11'
3
3
  end
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.10
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-13 00:00:00.000000000 Z
11
+ date: 2020-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel