neo4j 9.1.6 → 9.1.7

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: 180d3e1b930a1d7b61aa2d89c52e46c36b4a6d68
4
- data.tar.gz: 43b5fee65bdff8db960b3ecf17221b102977e670
3
+ metadata.gz: 629a77a4c318a7b47878d92f72053bc34714092b
4
+ data.tar.gz: 61dccf00f3e329d4ce1e4a9a7cd9074508068b97
5
5
  SHA512:
6
- metadata.gz: a0750c3beae563a0e22e3f43ae0954cb76949cadd0af7d32b2971b8b0bf4b7f526eabc3eab9d933cfb101ffba33b6edfd9eccf8aa2e83aaca6b8d04312aa68a4
7
- data.tar.gz: f34d0cf5c8274505df5cec82942ddc488e305efd0cd128560457bd328cd690b69c126315053b8d9e14077b088d201cf29bb3e6146c7809596df87e0dde26af1a
6
+ metadata.gz: 4153c3488109fc16d8001e5f53d416baf0646e5790f16deb51f6e2eacf535ef52914b2c71929d39a2d7ce61847c3fce148ad04d3437e786f80836db314bcbeae
7
+ data.tar.gz: 351b07006b2055702e5272c9bb9baaf88d99add95533f012afa6422a9114e64b6904e6b5d188026896a777a64c346b980cf7cecd449719af4aa0431394d78e9f
data/CHANGELOG.md CHANGED
@@ -3,7 +3,13 @@ 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.1.6] 2018-03-18
6
+ ## [9.1.7] 2018-03-27
7
+
8
+ ## Fixed
9
+
10
+ - Created helpful error message to AssociationTree (thanks @thefliik / see #1488)
11
+
12
+ ## [9.1.6] 2018-03-27
7
13
 
8
14
  ## Fixed
9
15
 
@@ -23,6 +23,11 @@ module Neo4j
23
23
  end
24
24
 
25
25
  def add_spec(spec)
26
+ unless model
27
+ fail "Cannot eager load \"past\" a polymorphic association. \
28
+ (Since the association can return multiple models, we don't how to handle the \"#{spec}\" association.)"
29
+ end
30
+
26
31
  if spec.is_a?(Array)
27
32
  spec.each { |s| add_spec(s) }
28
33
  elsif spec.is_a?(Hash)
data/lib/neo4j/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '9.1.6'
2
+ VERSION = '9.1.7'
3
3
  end
data/neo4j.gemspec CHANGED
@@ -26,26 +26,26 @@ A Neo4j OGM (Object-Graph-Mapper) for Ruby heavily inspired by ActiveRecord.
26
26
  s.has_rdoc = true
27
27
  s.extra_rdoc_files = %w( README.md )
28
28
  s.rdoc_options = ['--quiet', '--title', 'Neo4j.rb', '--line-numbers', '--main', 'README.rdoc', '--inline-source']
29
- s.metadata = {
30
- "homepage_uri" => "http://neo4jrb.io/",
31
- "changelog_uri" => "https://github.com/neo4jrb/neo4j/blob/master/CHANGELOG.md",
32
- "source_code_uri" => "https://github.com/neo4jrb/neo4j/",
33
- "bug_tracker_uri" => "https://github.com/neo4jrb/neo4j/issues",
29
+ s.metadata = {
30
+ 'homepage_uri' => 'http://neo4jrb.io/',
31
+ 'changelog_uri' => 'https://github.com/neo4jrb/neo4j/blob/master/CHANGELOG.md',
32
+ 'source_code_uri' => 'https://github.com/neo4jrb/neo4j/',
33
+ 'bug_tracker_uri' => 'https://github.com/neo4jrb/neo4j/issues'
34
34
  }
35
35
 
36
- s.add_dependency('orm_adapter', '~> 0.5.0')
37
36
  s.add_dependency('activemodel', '>= 4.0')
38
37
  s.add_dependency('activesupport', '>= 4.0')
39
- s.add_dependency('neo4j-core', '>= 7.2.2')
40
38
  s.add_dependency('neo4j-community', '~> 2.0') if RUBY_PLATFORM =~ /java/
41
- s.add_development_dependency('railties', '>= 4.0')
42
- s.add_development_dependency('pry')
43
- s.add_development_dependency('os')
44
- s.add_development_dependency('rake')
45
- s.add_development_dependency('yard')
39
+ s.add_dependency('neo4j-core', '>= 7.2.2')
40
+ s.add_dependency('orm_adapter', '~> 0.5.0')
46
41
  s.add_development_dependency('guard')
47
- s.add_development_dependency('guard-rubocop')
48
42
  s.add_development_dependency('guard-rspec')
49
- s.add_development_dependency('rubocop', '~> 0.49.1')
43
+ s.add_development_dependency('guard-rubocop')
50
44
  s.add_development_dependency('neo4j-rake_tasks', '>= 0.3.0')
45
+ s.add_development_dependency('os')
46
+ s.add_development_dependency('pry')
47
+ s.add_development_dependency('railties', '>= 4.0')
48
+ s.add_development_dependency('rake')
49
+ s.add_development_dependency('rubocop', '~> 0.49.1')
50
+ s.add_development_dependency('yard')
51
51
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.1.6
4
+ version: 9.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Ronge, Brian Underwood, Chris Grigg
@@ -10,20 +10,6 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2018-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: orm_adapter
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 0.5.0
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 0.5.0
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: activemodel
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -67,21 +53,35 @@ dependencies:
67
53
  - !ruby/object:Gem::Version
68
54
  version: 7.2.2
69
55
  - !ruby/object:Gem::Dependency
70
- name: railties
56
+ name: orm_adapter
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.5.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.5.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: guard
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '4.0'
75
+ version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '4.0'
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: pry
84
+ name: guard-rspec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: os
98
+ name: guard-rubocop
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -109,21 +109,21 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: rake
112
+ name: neo4j-rake_tasks
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: '0'
117
+ version: 0.3.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: '0'
124
+ version: 0.3.0
125
125
  - !ruby/object:Gem::Dependency
126
- name: yard
126
+ name: os
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - ">="
@@ -137,7 +137,7 @@ dependencies:
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
- name: guard
140
+ name: pry
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - ">="
@@ -151,21 +151,21 @@ dependencies:
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
- name: guard-rubocop
154
+ name: railties
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: '0'
159
+ version: '4.0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: '0'
166
+ version: '4.0'
167
167
  - !ruby/object:Gem::Dependency
168
- name: guard-rspec
168
+ name: rake
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - ">="
@@ -193,19 +193,19 @@ dependencies:
193
193
  - !ruby/object:Gem::Version
194
194
  version: 0.49.1
195
195
  - !ruby/object:Gem::Dependency
196
- name: neo4j-rake_tasks
196
+ name: yard
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - ">="
200
200
  - !ruby/object:Gem::Version
201
- version: 0.3.0
201
+ version: '0'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - ">="
207
207
  - !ruby/object:Gem::Version
208
- version: 0.3.0
208
+ version: '0'
209
209
  description: 'A Neo4j OGM (Object-Graph-Mapper) for Ruby heavily inspired by ActiveRecord.
210
210
 
211
211
  '