neo4j 5.1.2 → 5.1.3

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: d8d21901ecc3c33815464bd3a14dc2d0e5cbb38b
4
- data.tar.gz: 0ebd5e5d54eb5d033762a3a6e5da4e48db20bf4c
3
+ metadata.gz: 0387f39827ae50589eaf89b66e4d013b52fb3d0a
4
+ data.tar.gz: 186efe6c255f377fdcc978618a196b15cffb22e5
5
5
  SHA512:
6
- metadata.gz: c6681d2ee56a32d25e9b9def98943e9b4d7b3f857a2a94c1ac24fd88e1d7914f30c1959cd1209cb68a5b9f3faaf66eb643212471323ef7684516223b3746f07d
7
- data.tar.gz: c3263a97117c9f018b53f1a92d5e91931cc9ff4361866b7775efef3be92f640f9808a12770a578473179bbe09b748305ca09eca0ed794c2f3234af08552e3896
6
+ metadata.gz: 841fa55c9fc0fa135da7534cbaed461bb398908e48ea3a02390744197a789ec7e624be4b9d9ce6c88511da9b07eef16ca6d78063b17ff78c4885b3f9700a137e
7
+ data.tar.gz: e0e044853829f3d1d938a8de1376f83caa949f1f444611fd6c2e716cd096c8d5df2463f72531315c70c4b1c7de5655b713079738b0190130ec6a717e4553fe10
data/CHANGELOG.md CHANGED
@@ -5,6 +5,17 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
6
  ## [Unreleased][unreleased]
7
7
 
8
+ ## [5.1.3] - 08-23-2015
9
+
10
+ ### Fixed
11
+ - `has_one` associations are now properly cached (like `has_many` associations)
12
+ - `QueryProxy` now responds to `#to_ary`. Fixes integration with ActiveModelSerializer gem
13
+
14
+ ## [5.1.2] - 08-20-2015
15
+
16
+ ### Fixed
17
+ - When association has `model_class` and `type: false` the association doesn't work (see: https://github.com/neo4jrb/neo4j/pull/930)
18
+
8
19
  ## [5.1.1] - 08-19-2015
9
20
 
10
21
  ### Fixed
@@ -380,7 +380,7 @@ module Neo4j::ActiveNode
380
380
  if options[:rel_length] && !options[:rel_length].is_a?(Fixnum)
381
381
  results
382
382
  else
383
- results.first
383
+ results.result.first
384
384
  end
385
385
  end
386
386
  end
@@ -221,6 +221,8 @@ module Neo4j
221
221
  to_a.map { |o| o.read_attribute_for_serialization(*args) }
222
222
  end
223
223
 
224
+ delegate :to_ary, to: :to_a
225
+
224
226
  # QueryProxy objects act as a representation of a model at the class level so we pass through calls
225
227
  # This allows us to define class functions for reusable query chaining or for end-of-query aggregation/summarizing
226
228
  def method_missing(method_name, *args, &block)
data/lib/neo4j/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '5.1.2'
2
+ VERSION = '5.1.3'
3
3
  end
metadata CHANGED
@@ -1,209 +1,223 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.2
4
+ version: 5.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Ronge, Brian Underwood, Chris Grigg
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-20 00:00:00.000000000 Z
11
+ date: 2015-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: orm_adapter
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - "~>"
16
+ - - ~>
18
17
  - !ruby/object:Gem::Version
19
18
  version: 0.5.0
20
- type: :runtime
19
+ name: orm_adapter
21
20
  prerelease: false
21
+ type: :runtime
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.5.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: activemodel
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
- - - "~>"
30
+ - - ~>
32
31
  - !ruby/object:Gem::Version
33
32
  version: '4'
34
- type: :runtime
33
+ name: activemodel
35
34
  prerelease: false
35
+ type: :runtime
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '4'
41
41
  - !ruby/object:Gem::Dependency
42
- name: activesupport
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
- - - "~>"
44
+ - - ~>
46
45
  - !ruby/object:Gem::Version
47
46
  version: '4'
48
- type: :runtime
47
+ name: activesupport
49
48
  prerelease: false
49
+ type: :runtime
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: '4'
55
55
  - !ruby/object:Gem::Dependency
56
- name: active_attr
57
56
  requirement: !ruby/object:Gem::Requirement
58
57
  requirements:
59
- - - "~>"
58
+ - - ~>
60
59
  - !ruby/object:Gem::Version
61
60
  version: '0.8'
62
- type: :runtime
61
+ name: active_attr
63
62
  prerelease: false
63
+ type: :runtime
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0.8'
69
69
  - !ruby/object:Gem::Dependency
70
- name: neo4j-core
71
70
  requirement: !ruby/object:Gem::Requirement
72
71
  requirements:
73
- - - "~>"
72
+ - - ~>
74
73
  - !ruby/object:Gem::Version
75
74
  version: 5.1.0
76
- type: :runtime
75
+ name: neo4j-core
77
76
  prerelease: false
77
+ type: :runtime
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: 5.1.0
83
83
  - !ruby/object:Gem::Dependency
84
- name: railties
85
84
  requirement: !ruby/object:Gem::Requirement
86
85
  requirements:
87
- - - "~>"
86
+ - - ~>
87
+ - !ruby/object:Gem::Version
88
+ version: '2.0'
89
+ name: neo4j-community
90
+ prerelease: false
91
+ type: :runtime
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: '2.0'
97
+ - !ruby/object:Gem::Dependency
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ~>
88
101
  - !ruby/object:Gem::Version
89
102
  version: '4'
90
- type: :development
103
+ name: railties
91
104
  prerelease: false
105
+ type: :development
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
- - - "~>"
108
+ - - ~>
95
109
  - !ruby/object:Gem::Version
96
110
  version: '4'
97
111
  - !ruby/object:Gem::Dependency
98
- name: pry
99
112
  requirement: !ruby/object:Gem::Requirement
100
113
  requirements:
101
- - - ">="
114
+ - - '>='
102
115
  - !ruby/object:Gem::Version
103
116
  version: '0'
104
- type: :development
117
+ name: pry
105
118
  prerelease: false
119
+ type: :development
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
- - - ">="
122
+ - - '>='
109
123
  - !ruby/object:Gem::Version
110
124
  version: '0'
111
125
  - !ruby/object:Gem::Dependency
112
- name: os
113
126
  requirement: !ruby/object:Gem::Requirement
114
127
  requirements:
115
- - - ">="
128
+ - - '>='
116
129
  - !ruby/object:Gem::Version
117
130
  version: '0'
118
- type: :development
131
+ name: os
119
132
  prerelease: false
133
+ type: :development
120
134
  version_requirements: !ruby/object:Gem::Requirement
121
135
  requirements:
122
- - - ">="
136
+ - - '>='
123
137
  - !ruby/object:Gem::Version
124
138
  version: '0'
125
139
  - !ruby/object:Gem::Dependency
126
- name: rake
127
140
  requirement: !ruby/object:Gem::Requirement
128
141
  requirements:
129
- - - ">="
142
+ - - '>='
130
143
  - !ruby/object:Gem::Version
131
144
  version: '0'
132
- type: :development
145
+ name: rake
133
146
  prerelease: false
147
+ type: :development
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
- - - ">="
150
+ - - '>='
137
151
  - !ruby/object:Gem::Version
138
152
  version: '0'
139
153
  - !ruby/object:Gem::Dependency
140
- name: yard
141
154
  requirement: !ruby/object:Gem::Requirement
142
155
  requirements:
143
- - - ">="
156
+ - - '>='
144
157
  - !ruby/object:Gem::Version
145
158
  version: '0'
146
- type: :development
159
+ name: yard
147
160
  prerelease: false
161
+ type: :development
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
- - - ">="
164
+ - - '>='
151
165
  - !ruby/object:Gem::Version
152
166
  version: '0'
153
167
  - !ruby/object:Gem::Dependency
154
- name: guard
155
168
  requirement: !ruby/object:Gem::Requirement
156
169
  requirements:
157
- - - ">="
170
+ - - '>='
158
171
  - !ruby/object:Gem::Version
159
172
  version: '0'
160
- type: :development
173
+ name: guard
161
174
  prerelease: false
175
+ type: :development
162
176
  version_requirements: !ruby/object:Gem::Requirement
163
177
  requirements:
164
- - - ">="
178
+ - - '>='
165
179
  - !ruby/object:Gem::Version
166
180
  version: '0'
167
181
  - !ruby/object:Gem::Dependency
168
- name: guard-rubocop
169
182
  requirement: !ruby/object:Gem::Requirement
170
183
  requirements:
171
- - - ">="
184
+ - - '>='
172
185
  - !ruby/object:Gem::Version
173
186
  version: '0'
174
- type: :development
187
+ name: guard-rubocop
175
188
  prerelease: false
189
+ type: :development
176
190
  version_requirements: !ruby/object:Gem::Requirement
177
191
  requirements:
178
- - - ">="
192
+ - - '>='
179
193
  - !ruby/object:Gem::Version
180
194
  version: '0'
181
195
  - !ruby/object:Gem::Dependency
182
- name: guard-rspec
183
196
  requirement: !ruby/object:Gem::Requirement
184
197
  requirements:
185
- - - ">="
198
+ - - '>='
186
199
  - !ruby/object:Gem::Version
187
200
  version: '0'
188
- type: :development
201
+ name: guard-rspec
189
202
  prerelease: false
203
+ type: :development
190
204
  version_requirements: !ruby/object:Gem::Requirement
191
205
  requirements:
192
- - - ">="
206
+ - - '>='
193
207
  - !ruby/object:Gem::Version
194
208
  version: '0'
195
209
  - !ruby/object:Gem::Dependency
196
- name: rubocop
197
210
  requirement: !ruby/object:Gem::Requirement
198
211
  requirements:
199
- - - "~>"
212
+ - - ~>
200
213
  - !ruby/object:Gem::Version
201
214
  version: 0.29.1
202
- type: :development
215
+ name: rubocop
203
216
  prerelease: false
217
+ type: :development
204
218
  version_requirements: !ruby/object:Gem::Requirement
205
219
  requirements:
206
- - - "~>"
220
+ - - ~>
207
221
  - !ruby/object:Gem::Version
208
222
  version: 0.29.1
209
223
  description: |
@@ -299,31 +313,31 @@ homepage: https://github.com/neo4jrb/neo4j/
299
313
  licenses:
300
314
  - MIT
301
315
  metadata: {}
302
- post_install_message:
316
+ post_install_message:
303
317
  rdoc_options:
304
- - "--quiet"
305
- - "--title"
318
+ - --quiet
319
+ - --title
306
320
  - Neo4j.rb
307
- - "--line-numbers"
308
- - "--main"
321
+ - --line-numbers
322
+ - --main
309
323
  - README.rdoc
310
- - "--inline-source"
324
+ - --inline-source
311
325
  require_paths:
312
326
  - lib
313
327
  required_ruby_version: !ruby/object:Gem::Requirement
314
328
  requirements:
315
- - - ">="
329
+ - - '>='
316
330
  - !ruby/object:Gem::Version
317
331
  version: 1.9.3
318
332
  required_rubygems_version: !ruby/object:Gem::Requirement
319
333
  requirements:
320
- - - ">="
334
+ - - '>='
321
335
  - !ruby/object:Gem::Version
322
336
  version: '0'
323
337
  requirements: []
324
338
  rubyforge_project: neo4j
325
339
  rubygems_version: 2.4.5
326
- signing_key:
340
+ signing_key:
327
341
  specification_version: 4
328
342
  summary: A graph database for Ruby
329
343
  test_files: []