neo4j 9.2.0 → 9.2.1

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: 67c0f2fd54679230595111f53cebdbf903a1438e
4
- data.tar.gz: fe2f94f8ab2da07e40060260c7cf7c527b978649
3
+ metadata.gz: ed812d32cd486f6e304bccea02d2a17685f79da4
4
+ data.tar.gz: 0616013941019bcc60f521317099908829732f3b
5
5
  SHA512:
6
- metadata.gz: a6514e9e4161b5c6816afafa79b7d99a2104ff192fca8ee8d2bc344012fec68c8a531dcf745c1f8f6c80bcb9f98cc0204d66282db430a14b79d2e3b46b8ac42d
7
- data.tar.gz: 51f664641fb807f2fe7406cd939dc90b0b0d92dd8e99434fbec4a347c85fd755f3314063dd271ef8c91422656aa0f19613af82e897bb5a223b075ad4563b0b09
6
+ metadata.gz: 34da0e1129e009f65a828b70604542243bbb759ef6c90769eadc0d3082260cf53c76339e0ab4f93d776e3aa44ba3e5e2af0c6f5a6b57586c224ea698efef7867
7
+ data.tar.gz: 4428c77bd82200b118925452c26dbe0b5423bb43daedd4d2495fda4dea03258414b311c19ccf4751303453a7a43e7cee3ebc220508ba924be1aceea601e027da
@@ -3,6 +3,12 @@ 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
+ ## [9.2.1] 2018-04-01
7
+
8
+ ## Fixed
9
+
10
+ - Fixed .first and .last methods for QueryProxyMethods (thanks @kopylovvlad / see #1494)
11
+
6
12
  ## [9.2.0] 2018-03-27
7
13
 
8
14
  ## Added
@@ -259,7 +259,8 @@ module Neo4j
259
259
  [self.query.with(identity),
260
260
  proc { |var| "#{func}(COLLECT(#{var})) as #{var}" }]
261
261
  else
262
- [self.order(order_property).limit(1),
262
+ ord_prop = (func == LAST ? {order_property => :DESC} : order_property)
263
+ [self.order(ord_prop).limit(1),
263
264
  proc { |var| var }]
264
265
  end
265
266
  query_with_target(target) do |var|
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '9.2.0'
2
+ VERSION = '9.2.1'
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: 9.2.0
4
+ version: 9.2.1
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: 2018-03-27 00:00:00.000000000 Z
11
+ date: 2018-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel