neo4j 4.1.3 → 4.1.4

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
  SHA1:
3
- metadata.gz: fc205134a4b67af95256deb3b4d72808e387e9a1
4
- data.tar.gz: fb4afe4dac4036b227867b1dd771bb13b1a067df
3
+ metadata.gz: e73fdf52090b56ccdd3ac83ef334162b2ded7434
4
+ data.tar.gz: a1d054dc2b8d6a7ae549ccc3c8d53340ee3d9c53
5
5
  SHA512:
6
- metadata.gz: 3d9a385384d249676e13f41da6ab838ab7ba9c56808ccab74bbe1e02c44798d91c179477181b8b554d60eabf6cb69b74452527ff9bc5717c8c82dc50cdab204c
7
- data.tar.gz: 7beacde3a246b22f70fe45f1bf08ba5ccd5de7a89d35aa56a40f71ae99b4f1af96d3a783fde036482133efc57c8cb511bb5f25d84d57809d94b4960b63000e80
6
+ metadata.gz: 103503ef3fb6b99ea8083a9298f205cbde637460e2fcaa8eb4905f013a13a1e37610551eb2bcad1a684b548962e085a794d0adf0a5bd0cde23897e9aa8b84b9e
7
+ data.tar.gz: 4769894bacafa6f427cefd62e377bad9853166505708acf0da85fedc5dc8e389ab854c5863d88655a78b13a93620a7043e3ec85571e6a487d839091a3b7ed767
@@ -55,7 +55,7 @@ module Neo4j
55
55
  def delete_all(identifier = nil)
56
56
  query_with_target(identifier) do |target|
57
57
  begin
58
- self.query.with(target).match("(#{target})-[#{target}_rel]-()").delete("#{target}, #{target}_rel").exec
58
+ self.query.with(target).optional_match("(#{target})-[#{target}_rel]-()").delete("#{target}, #{target}_rel").exec
59
59
  rescue Neo4j::Session::CypherError
60
60
  self.query.delete(target).exec
61
61
  end
data/lib/neo4j/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '4.1.3'
2
+ VERSION = '4.1.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.3
4
+ version: 4.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Ronge, Brian Underwood, Chris Grigg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-08 00:00:00.000000000 Z
11
+ date: 2015-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter