neo4j 6.0.0.alpha.3 → 6.0.0.alpha.4
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/has_n.rb +3 -3
- data/lib/neo4j/shared/type_converters.rb +4 -2
- data/lib/neo4j/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2d0692e7269df978b91b6159ae61bf13d5b1e6f
|
4
|
+
data.tar.gz: fcbe9452451260b44431ed4d69559d0880a218c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe05be04e219c87f1af15db0480b6b89ea627b466fe20509e1e46365f8f09f40714a4d0b0118917e91766dca134f4c19754d7d4b661b0b1a3245687a89e0a199
|
7
|
+
data.tar.gz: 9b8fb18005ef90978d9d1acd2589179f1e6aa661b1b38cf67c342cb49b337eef1a37cf7fa7a172e1e32c0171847cdc21bd85e6d8202d7fb1210a08835f6d5beb
|
data/CHANGELOG.md
CHANGED
@@ -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
|
+
## [6.0.0.alpha.4] - 10-17-2015
|
7
|
+
|
8
|
+
### Fixed
|
9
|
+
|
10
|
+
- `QueryProxy` was not converting Boolean properties correctly
|
11
|
+
|
6
12
|
## [6.0.0.alpha.3] - 10-14-2015
|
7
13
|
|
8
14
|
### Removed
|
@@ -40,6 +46,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
40
46
|
- Certain actions that were intended as once-in-the-app's-lifetime events, notably schema operations, will only occur immediately upon the first session's establishment.
|
41
47
|
- Context now set for Model.all QueryProxy so that logs can reflect that it wasn't just a raw Cypher query
|
42
48
|
|
49
|
+
## [5.2.10] - 10-14-2015
|
50
|
+
|
51
|
+
### Fixed
|
52
|
+
- `has_one` does not define `_id` methods if they are already defined. Also use `method_defined?` instead of `respond_to?` since it is at the class level
|
53
|
+
|
43
54
|
## [5.2.9] - 09-30-2015
|
44
55
|
|
45
56
|
### Fixed
|
@@ -372,7 +372,7 @@ module Neo4j::ActiveNode
|
|
372
372
|
end
|
373
373
|
|
374
374
|
def define_method_unless_defined(method_name, &block)
|
375
|
-
define_method(method_name, block) unless
|
375
|
+
define_method(method_name, block) unless method_defined?(method_name)
|
376
376
|
end
|
377
377
|
|
378
378
|
def define_has_one_methods(name)
|
@@ -388,7 +388,7 @@ module Neo4j::ActiveNode
|
|
388
388
|
end
|
389
389
|
|
390
390
|
def define_has_one_id_methods(name)
|
391
|
-
|
391
|
+
define_method_unless_defined("#{name}_id") do
|
392
392
|
association_proxy(name).result_ids.first
|
393
393
|
end
|
394
394
|
|
@@ -396,7 +396,7 @@ module Neo4j::ActiveNode
|
|
396
396
|
association_proxy(name).replace_with(id)
|
397
397
|
end
|
398
398
|
|
399
|
-
|
399
|
+
define_method_unless_defined("#{name}_neo_id") do
|
400
400
|
association_proxy(name).pluck(:neo_id).first
|
401
401
|
end
|
402
402
|
end
|
@@ -94,10 +94,10 @@ module Neo4j::Shared
|
|
94
94
|
|
95
95
|
class << self
|
96
96
|
def converted?(value)
|
97
|
-
|
97
|
+
converted_values.include?(value)
|
98
98
|
end
|
99
99
|
|
100
|
-
def
|
100
|
+
def converted_values
|
101
101
|
[true, false]
|
102
102
|
end
|
103
103
|
|
@@ -105,6 +105,8 @@ module Neo4j::Shared
|
|
105
105
|
ActiveAttr::Typecasting::Boolean
|
106
106
|
end
|
107
107
|
|
108
|
+
alias_method :convert_type, :db_type
|
109
|
+
|
108
110
|
def to_db(value)
|
109
111
|
return false if FALSE_VALUES.include?(value)
|
110
112
|
case value
|
data/lib/neo4j/version.rb
CHANGED
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: 6.0.0.alpha.
|
4
|
+
version: 6.0.0.alpha.4
|
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-10-
|
11
|
+
date: 2015-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: orm_adapter
|
@@ -326,7 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
326
326
|
version: 1.3.1
|
327
327
|
requirements: []
|
328
328
|
rubyforge_project: neo4j
|
329
|
-
rubygems_version: 2.4.
|
329
|
+
rubygems_version: 2.4.6
|
330
330
|
signing_key:
|
331
331
|
specification_version: 4
|
332
332
|
summary: A graph database for Ruby
|