neo4j 5.2.7 → 5.2.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 +5 -1
- data/lib/neo4j/version.rb +1 -1
- data/lib/rails/generators/neo4j/model/templates/model.erb +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 995bb89e81a2980c96a02fb29f07f1b5a6a2bab7
|
4
|
+
data.tar.gz: 93f3b243d02df66a9690f0a40ad569b169ef5729
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90496ea3c7b9d0019a3997f5246261f682408021bee7931fe2c0a508486b2ddef55bf791e49b1053c59fbc3941f5e0797df7cf412c5ad6662924efc44aafd2f7
|
7
|
+
data.tar.gz: cf4bddb0f9bfd919af01d21bc3e66418958ee1f3d562e8956bb398b590169c21a0b958f833cbdf6d1ef3a0f8abe1d822b369136f4d88eab1821e29e3d3461cf2
|
data/CHANGELOG.md
CHANGED
@@ -5,10 +5,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
6
6
|
## [Unreleased][unreleased]
|
7
7
|
|
8
|
-
## [5.2.
|
8
|
+
## [5.2.8] - 09-30-2015
|
9
9
|
|
10
10
|
### Fixed
|
11
|
+
- Support `references` in model/scaffold generators
|
12
|
+
|
13
|
+
## [5.2.7] - 09-25-2015
|
11
14
|
|
15
|
+
### Fixed
|
12
16
|
- Allow for association `model_class` to be prepended with double colons
|
13
17
|
|
14
18
|
## [5.2.6] - 09-16-2015
|
data/lib/neo4j/version.rb
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
class <%= class_name %> <%= parent? ? "#{options[:parent].classify}" : "" %>
|
2
2
|
include Neo4j::ActiveNode
|
3
|
-
<% attributes.each do |attribute| -%>
|
3
|
+
<% attributes.reject(&:reference?).each do |attribute| -%>
|
4
4
|
property :<%= attribute.name %><%= ", type: #{attribute.type_class}" unless attribute.type_class == 'any' %><%= "\n " + index_fragment if index_fragment = index_fragment(attribute.name) %>
|
5
5
|
<% end -%>
|
6
|
+
|
7
|
+
<% attributes.select(&:reference?).each do |attribute| -%>
|
8
|
+
has_one :in_or_out_or_both, :<%= attribute.name %>, type: :FILL_IN_RELATIONSHIP_TYPE_HERE
|
9
|
+
<% end -%>
|
10
|
+
|
6
11
|
<%= has_many_statements if has_many? -%>
|
7
12
|
<%= has_one_statements if has_one? -%>
|
8
13
|
|
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: 5.2.
|
4
|
+
version: 5.2.8
|
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-09-
|
11
|
+
date: 2015-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: orm_adapter
|