neo4j 8.0.0.alpha.8 → 8.0.0.alpha.9

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: 3a4dced9d6e5bc8185bc712bc60dce1e7f7cce74
4
- data.tar.gz: 3c9284c3a08fa0968bd86ce1593e768c64fd818b
3
+ metadata.gz: 5af55246f618ffc643e86c81b6a58af2bb638f7f
4
+ data.tar.gz: 2f28ba5df62bb6024ba0fde53c60471e0e99e6ad
5
5
  SHA512:
6
- metadata.gz: b62366ac431d4d32a7f5923beb873c6a628efb84701c9cfd777a28c75eda783e1b342854c878d15afedf257432b181d1080a0209df2bb947d40773d08a2e5c3a
7
- data.tar.gz: 237623a12317e0ba70ae6964f0a2f8c441ce864b82652516d495050b5bca83652b9a633c7bb969426ab52dc2948444f83ea7c0f0ef0b58864a3e93ea6419e8da
6
+ metadata.gz: dc665609547173f3a61b54de4d6016bdf50582c5a2d0ed001652fe09b23abadfe2d652870da506f815a44d0e5d347d4bfa23e94efd967ecffe2444454ba524e5
7
+ data.tar.gz: 7a2ecbe2347f1dcfaddf3fd2d85d55caad8112c20feb8465787f6bb1458175a1fdf55af0dc22740f1ccea7e4776a4bc927baa4a83444666588a113824b061179
@@ -5,19 +5,25 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [8.0.0.alpha.9] 2016-09-14
8
9
 
9
- ## [8.0.0.alpha.7] 2016-09-13
10
-
11
- ### Changed
10
+ ### Fixed
12
11
 
13
- - Multiple sessions in Rails config no longer supported
12
+ - String / symbol issue for session types in railtie
13
+ - Put in fix for allowing models to reload for wrapping nodes / relationshps
14
14
 
15
- ## [8.0.0.alpha.6] 2016-09-14
15
+ ## [8.0.0.alpha.8] 2016-09-14
16
16
 
17
17
  ### Fixed
18
18
 
19
19
  - Issues with railtie
20
20
 
21
+ ## [8.0.0.alpha.7] 2016-09-13
22
+
23
+ ### Changed
24
+
25
+ - Multiple sessions in Rails config no longer supported
26
+
21
27
  ## [8.0.0.alpha.6] 2016-09-12
22
28
 
23
29
  ### Fixed
@@ -5,17 +5,8 @@ module Neo4j::ActiveNode::Labels
5
5
  MODELS_TO_RELOAD = []
6
6
 
7
7
  def self.reload_models!
8
- MODELS_TO_RELOAD.each(&:constantize)
9
- MODELS_TO_RELOAD.clear
10
- end
11
-
12
- module ClassMethods
13
- def before_remove_const
14
- associations.each_value(&:queue_model_refresh!)
15
- MODELS_FOR_LABELS_CACHE.clear
16
- WRAPPED_CLASSES.each { |c| MODELS_TO_RELOAD << c.name }
17
- WRAPPED_CLASSES.clear
18
- end
8
+ Neo4j::ActiveNode::Labels::WRAPPED_CLASSES.clear
9
+ Neo4j::ActiveNode::Labels.clear_wrapped_models
19
10
  end
20
11
  end
21
12
  end
@@ -34,7 +34,7 @@ module Neo4j
34
34
  # TODO: Deprecate embedded_db and http in favor of embedded and http
35
35
  #
36
36
  def cypher_session_adaptor(type, path_or_url, options = {})
37
- case type
37
+ case type.to_sym
38
38
  when :embedded_db, :embedded
39
39
  Neo4j::Core::CypherSession::Adaptors::Embedded.new(path_or_url, options)
40
40
  when :http
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '8.0.0.alpha.8'
2
+ VERSION = '8.0.0.alpha.9'
3
3
  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: 8.0.0.alpha.8
4
+ version: 8.0.0.alpha.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Ronge, Brian Underwood, Chris Grigg