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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6375692eca36d132d9e274aa374b92ea3d6346ae
4
- data.tar.gz: d49392db1ed0558c86b4fd3d963fd3977e9cf0e2
3
+ metadata.gz: bb6890e72f1082eb70684060ee58c7287ed81dc8
4
+ data.tar.gz: cc8f0efb5ce531b73032cafc0eba3dcd37aad131
5
5
  SHA512:
6
- metadata.gz: ac1a3b77079c3db6cd2e18b43ac55fea38b116b439b1e0e456d9a24f28507b52d74dc4d47684220093a096447c7876cefd616daf7b8400debea6532ff418fcfd
7
- data.tar.gz: 8b65881627ed47fd3d339df0593c47ce943a8e226b2e9d29d78a552a42b93e6a3f37de42f48557ac17087a7354f9ec0f26391658d2a94d1f2d36252f78ac8e12
6
+ metadata.gz: 8d07ea1bcb73d2d9026b58b0a35632d0923e47dad3baf82e4e985f7304315c52d76072a5da5762f3138c038150d4180608391adcbfd97739f7db4f5c57345d06
7
+ data.tar.gz: b3f443fe620ef9e13e783cacdc46dcdab2d77079269d03efe4f73717e092fb3cd5e2f2709daa0a6cb1156aaf4a4843191de010c52ff9153927730e99d5ff5555
@@ -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
@@ -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
- def self.inherited(model)
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
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '7.1.1'
2
+ VERSION = '7.1.2'
3
3
  end
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.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-07-21 00:00:00.000000000 Z
11
+ date: 2016-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter