neo4j 6.0.0.alpha.7 → 6.0.0.alpha.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/neo4j/active_node/query/query_proxy.rb +4 -4
- data/lib/neo4j/active_node/query/query_proxy_link.rb +4 -0
- data/lib/neo4j/railtie.rb +1 -1
- data/lib/neo4j/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 715265763c28f04acb9e54f3dc25dbffc1257df8
|
4
|
+
data.tar.gz: 4947537ea67beca1ffa59d22837079129425562b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d6b66ede21482b9183f5276654c66e88daedae44f20befa26b6b8c4206f6ed9e49c76e2fdf7ff88f4c2bafbba521ac25b29194368f7dccaddf25c6ee01736e5
|
7
|
+
data.tar.gz: 6caec430e130b5810a20c57c5fe8874b97d77e295cda0e191cdd08d362d8f10a6359b517889af7dcfad5f2d769e8979ce713f3faff702005970be3da349cfab0
|
data/CHANGELOG.md
CHANGED
@@ -3,9 +3,20 @@ 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
|
+
## [Unreleased]
|
7
|
+
|
8
|
+
### Added
|
9
|
+
|
10
|
+
- `rel_order` method for association chaining
|
11
|
+
|
6
12
|
## [6.0.0.alpha.7] - 10-19-2015
|
7
13
|
|
14
|
+
### Changed
|
15
|
+
|
8
16
|
- Remove uniqueness validation for `id_property` because we already have Neo4j constraints
|
17
|
+
|
18
|
+
### Added
|
19
|
+
|
9
20
|
- Support `config/neo4j.ya?ml`
|
10
21
|
|
11
22
|
## [6.0.0.alpha.6] - 10-18-2015
|
@@ -138,13 +138,14 @@ module Neo4j
|
|
138
138
|
@model.current_scope = previous
|
139
139
|
end
|
140
140
|
|
141
|
-
METHODS = %w(where where_not rel_where order skip limit)
|
141
|
+
METHODS = %w(where where_not rel_where rel_order order skip limit)
|
142
142
|
|
143
143
|
METHODS.each do |method|
|
144
144
|
define_method(method) { |*args| build_deeper_query_proxy(method.to_sym, args) }
|
145
145
|
end
|
146
|
-
# Since there
|
146
|
+
# Since there are rel_where and rel_order methods, it seems only natural for there to be node_where and node_order
|
147
147
|
alias_method :node_where, :where
|
148
|
+
alias_method :node_order, :order
|
148
149
|
alias_method :offset, :skip
|
149
150
|
alias_method :order_by, :order
|
150
151
|
|
@@ -208,8 +209,7 @@ module Neo4j
|
|
208
209
|
|
209
210
|
def _create_relationship(other_node_or_nodes, properties)
|
210
211
|
_session.query(context: @options[:context])
|
211
|
-
.match(:start, :end)
|
212
|
-
.where(start: {neo_id: @start_object}, end: {neo_id: other_node_or_nodes})
|
212
|
+
.match(:start, :end).match_nodes(start: @start_object, end: other_node_or_nodes)
|
213
213
|
.send(association.create_method, "start#{_association_arrow(properties, true)}end").exec
|
214
214
|
end
|
215
215
|
|
data/lib/neo4j/railtie.rb
CHANGED
data/lib/neo4j/version.rb
CHANGED