neo4j 8.0.13 → 8.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/neo4j/active_node/query/query_proxy_methods.rb +1 -1
- data/lib/neo4j/active_node/query_methods.rb +1 -1
- data/lib/neo4j/version.rb +1 -1
- data/neo4j.gemspec +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c34f74600e776067ed9042db509f4a371948781b
|
4
|
+
data.tar.gz: 3c92ee8c499afaa1aa7fb5c17a8ab538500495ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30c4e34c19946ab52c371fe55db23ff3a88eebc797130b7f8745f4bfa199d715c431b0abfb7c199e7f0545ee01ba5151b9c82ff869512bafb1d7ba593dbc6499
|
7
|
+
data.tar.gz: 1cdebec13a1a8e190451a01bc598341fdd20d45ff47758404bafc6862ae9de7d0e3b2e6f97c72a7a00038f39f9bbef784d1d53b3bfec4743f2c271431ab05198
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file.
|
|
3
3
|
This file should follow the standards specified on [http://keepachangelog.com/]
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
5
5
|
|
6
|
+
## [8.0.15] 2016-04-24
|
7
|
+
|
8
|
+
### Fixed
|
9
|
+
|
10
|
+
- Error message for getting distinct on count was not clear
|
11
|
+
|
12
|
+
## [8.0.14] 2016-04-15
|
13
|
+
|
14
|
+
### Fixed
|
15
|
+
|
16
|
+
- Simple change to description in gemspec file to remove "Ruby on Rails" and "Rack" as the gem can be use in any Ruby-based script / application
|
17
|
+
|
6
18
|
## [8.0.13] 2016-04-07
|
7
19
|
|
8
20
|
### Fixed
|
@@ -50,7 +50,7 @@ module Neo4j
|
|
50
50
|
# @return [Integer] number of nodes of this class
|
51
51
|
def count(distinct = nil, target = nil)
|
52
52
|
return 0 if unpersisted_start_object?
|
53
|
-
fail(Neo4j::InvalidParameterError, ':count accepts
|
53
|
+
fail(Neo4j::InvalidParameterError, ':count accepts the `:distinct` symbol or nil as a parameter') unless distinct.nil? || distinct == :distinct
|
54
54
|
query_with_target(target) do |var|
|
55
55
|
q = ensure_distinct(var, !distinct.nil?)
|
56
56
|
limited_query = self.query.clause?(:limit) ? self.query.break.with(var) : self.query.reorder
|
@@ -23,7 +23,7 @@ module Neo4j
|
|
23
23
|
|
24
24
|
# @return [Integer] number of nodes of this class
|
25
25
|
def count(distinct = nil)
|
26
|
-
fail(Neo4j::InvalidParameterError, ':count accepts
|
26
|
+
fail(Neo4j::InvalidParameterError, ':count accepts the `:distinct` symbol or nil as a parameter') unless distinct.nil? || distinct == :distinct
|
27
27
|
q = distinct.nil? ? 'n' : 'DISTINCT n'
|
28
28
|
self.query_as(:n).return("count(#{q}) AS count").first.count
|
29
29
|
end
|
data/lib/neo4j/version.rb
CHANGED
data/neo4j.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.summary = 'A graph database for Ruby'
|
18
18
|
s.license = 'MIT'
|
19
19
|
s.description = <<-EOF
|
20
|
-
A Neo4j OGM (Object-Graph-Mapper) for
|
20
|
+
A Neo4j OGM (Object-Graph-Mapper) for Ruby heavily inspired by ActiveRecord.
|
21
21
|
EOF
|
22
22
|
|
23
23
|
s.require_path = 'lib'
|
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: 8.0.
|
4
|
+
version: 8.0.15
|
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: 2017-04-
|
11
|
+
date: 2017-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: orm_adapter
|
@@ -210,8 +210,7 @@ dependencies:
|
|
210
210
|
- - "~>"
|
211
211
|
- !ruby/object:Gem::Version
|
212
212
|
version: 0.39.0
|
213
|
-
description: 'A Neo4j OGM (Object-Graph-Mapper) for
|
214
|
-
frameworks heavily inspired by ActiveRecord.
|
213
|
+
description: 'A Neo4j OGM (Object-Graph-Mapper) for Ruby heavily inspired by ActiveRecord.
|
215
214
|
|
216
215
|
'
|
217
216
|
email: andreas.ronge@gmail.com, public@brian-underwood.codes, chris@subvertallmedia.com
|