activegraph 10.0.0.pre.beta.6 → 10.0.0.pre.beta.7

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: f2d132e9650a26653214b08a0eb1011f3055423f8b06595ccfa6916d0bafe535
4
- data.tar.gz: 39d0462710f928dbe895ec75c1e6b82f137cb73681c2f41edf069f8da56321e3
3
+ metadata.gz: 2902297d95b7e8850de1e878b4adb9187ccba6cd40cfbb803717cb9175097923
4
+ data.tar.gz: 74884302b9d3990d944d809d67809037d5544411e748a203ab54710e91d51b1b
5
5
  SHA512:
6
- metadata.gz: 83b22026f597bd92afdf7e27319f3d4c5e40dcb54d5b121f4cbab3d32e669e29199e90cc9f662500698c9abf336fe7905de46eb57d1ec368fff8361531afc1eb
7
- data.tar.gz: ac6c4bc78512ddf185e0245c28cb78b8f09cd80aeb10d583ae591a3d542ff5a269b918aad9895805ba73267bece5330b0417166fbe7298a29dfa5f0e65f1936f
6
+ metadata.gz: dcbb938142991fcd1b4f3fd0def043448953cd1068ce40f44c04cd36b553f220b350c9f1bd80456142f3247312d2b8dfd2fbfba2a19aa0be99fbcc668ee8d39a
7
+ data.tar.gz: 8c694ef8ad6767e06fb93d6407052e5e4ef698f19c2ac774ca59448eca9e09a9e2da7791b0a3282f6990328e7efb7e28b2d69e5d258981e65f99112ea1496c80
@@ -34,19 +34,19 @@ module ActiveGraph
34
34
  def v3_indexes(result)
35
35
  result.reject do |row|
36
36
  # These indexes are created automagically when the corresponding constraints are created
37
- row.type == 'node_unique_property'
38
- end.map(&:description)
37
+ row[:type] == 'node_unique_property'
38
+ end.map { |row| row[:description] }
39
39
  end
40
40
 
41
41
  def v4_indexes(result)
42
42
  result.reject do |row|
43
43
  # These indexes are created automagically when the corresponding constraints are created
44
- row.uniqueness == 'UNIQUE'
44
+ row[:uniqueness] == 'UNIQUE'
45
45
  end.map(&method(:description))
46
46
  end
47
47
 
48
48
  def description(row)
49
- "INDEX FOR (n:#{row.labelsOrTypes.first}) ON (#{row.properties.map{|prop| "n.#{prop}"}.join(', ')})"
49
+ "INDEX FOR (n:#{row[:labelsOrTypes].first}) ON (#{row[:properties].map { |prop| "n.#{prop}" }.join(', ')})"
50
50
  end
51
51
 
52
52
  def drop_and_create_queries(existing, specified, remove_missing)
@@ -1,3 +1,3 @@
1
1
  module ActiveGraph
2
- VERSION = '10.0.0-beta.6'
2
+ VERSION = '10.0.0-beta.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activegraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.0.0.pre.beta.6
4
+ version: 10.0.0.pre.beta.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Ronge, Brian Underwood, Chris Grigg, Heinrich Klobuczek