neo4j 7.1.1 → 7.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/neo4j/active_node.rb +2 -0
- data/lib/neo4j/active_node/labels.rb +1 -6
- data/lib/neo4j/version.rb +1 -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: bb6890e72f1082eb70684060ee58c7287ed81dc8
|
4
|
+
data.tar.gz: cc8f0efb5ce531b73032cafc0eba3dcd37aad131
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d07ea1bcb73d2d9026b58b0a35632d0923e47dad3baf82e4e985f7304315c52d76072a5da5762f3138c038150d4180608391adcbfd97739f7db4f5c57345d06
|
7
|
+
data.tar.gz: b3f443fe620ef9e13e783cacdc46dcdab2d77079269d03efe4f73717e092fb3cd5e2f2709daa0a6cb1156aaf4a4843191de010c52ff9153927730e99d5ff5555
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,18 @@ 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
|
+
## [7.1.2] - 08-01-2016
|
7
|
+
|
8
|
+
### Fixed
|
9
|
+
|
10
|
+
- Fixed issue where the label wrapping cache would get stuck
|
11
|
+
|
12
|
+
## [7.1.1] - 07-22-2016
|
13
|
+
|
14
|
+
### Fixed
|
15
|
+
|
16
|
+
- `AssociationProxy` changed so that `pluck` can be used in rails/acivesupport 5 (thanks ProGM / see #1243)
|
17
|
+
|
6
18
|
## [7.1.0] - 07-14-2016
|
7
19
|
|
8
20
|
### Changed
|
data/lib/neo4j/active_node.rb
CHANGED
@@ -68,6 +68,8 @@ module Neo4j
|
|
68
68
|
include Neo4j::Timestamps if Neo4j::Config[:record_timestamps]
|
69
69
|
|
70
70
|
def self.inherited(other)
|
71
|
+
Neo4j::ActiveNode::Labels.clear_wrapped_models
|
72
|
+
|
71
73
|
inherit_id_property(other)
|
72
74
|
attributes.each_pair do |k, v|
|
73
75
|
other.inherit_property k.to_sym, v.clone, declared_properties[k].options
|
@@ -11,11 +11,7 @@ module Neo4j
|
|
11
11
|
MODELS_FOR_LABELS_CACHE.clear
|
12
12
|
|
13
13
|
included do |model|
|
14
|
-
|
15
|
-
add_wrapped_class(model)
|
16
|
-
|
17
|
-
super
|
18
|
-
end
|
14
|
+
Neo4j::ActiveNode::Labels.clear_wrapped_models
|
19
15
|
|
20
16
|
Neo4j::ActiveNode::Labels.add_wrapped_class(model) unless Neo4j::ActiveNode::Labels._wrapped_classes.include?(model)
|
21
17
|
end
|
@@ -69,7 +65,6 @@ module Neo4j
|
|
69
65
|
end
|
70
66
|
|
71
67
|
def self.clear_wrapped_models
|
72
|
-
WRAPPED_CLASSES.clear
|
73
68
|
MODELS_FOR_LABELS_CACHE.clear
|
74
69
|
Neo4j::Node::Wrapper::CONSTANTS_FOR_LABELS_CACHE.clear
|
75
70
|
end
|
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: 7.1.
|
4
|
+
version: 7.1.2
|
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: 2016-
|
11
|
+
date: 2016-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: orm_adapter
|