neo4j 5.0.3 → 5.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a74b7d45b24d73d7a6b74a9fd422ac3868812a1e
4
- data.tar.gz: af35506b1d68f73313ab0dea22328c5cb9233186
3
+ metadata.gz: 359bef42ad73e873f209c8f41505be1b655c6b18
4
+ data.tar.gz: 04a53f091e7d5a684baacc71c4fa090a29382993
5
5
  SHA512:
6
- metadata.gz: 2b49582690880a513369153e59db263e513dd437baa090406f051b0e05059a67026761f84b46a42b31fdb4afb1de4ecc35aea7a19e5ff3e273e7aa9aea5617a5
7
- data.tar.gz: 9f74ec13fee9f81dadd6aacaf59fd1845623fb939be6ff90742f761f46b5ab8348b72efa47765c23dbff89f5bbc7f0ae12b67cf8bc6e1de4654bd5bac1604b46
6
+ metadata.gz: 241566d0338d3e51f744a795f0bf5288ebf0d22832e5e715d3c92045b6fe9ca2a91280f1df1219ff00d15fd0b60c289475cc1a359334102dd2d46ccc7878277a
7
+ data.tar.gz: ba461997cdc8ea2b54644f36510b195c958833b499c181b5e7e5e882c4f6245fb28f467d66988088bda6eed72d1ec84ba662efe9badbd0ccb8868652a0d7b193
@@ -7,6 +7,19 @@ This project adheres to [Semantic Versioning](http://semver.org/).
7
7
 
8
8
  ### Changed
9
9
  - `ActiveNode#destroyed?` and `ActiveRel#destroyed?` now only consider the in-memory state of if an object is destroyed without checking the database
10
+
11
+ ### Fixed
12
+ - Added a `before_remove_const` method to clear cached models when Rails `reload!` is called. 5.0.1 included a workaround but this appears to cut to the core of the issue. See https://github.com/neo4jrb/neo4j/pull/855.
13
+ - Fixed bug which caused `QueryProxy` context to repeat (showed up in query logging)
14
+
15
+ ### Added
16
+ - Added ability to view `model_class` from `Association` class for `rails_admin` Neo4j adapter
17
+ - QueryProxy `where` will now look for declared properties matching hash keys. When found, it will send the value through that property's type converter if the type matches the property's unconverted state.
18
+
19
+
20
+ ## [5.0.3] - 2015-07-14
21
+
22
+ ### Changed
10
23
  - Moved `#with_associations` method from `AssociationProxy` to `QueryProxy` so that all `QueryProxy` chains can benefit from it.
11
24
 
12
25
  ## [5.0.2] - 2015-06-30
@@ -385,7 +385,7 @@ module Neo4j::ActiveNode
385
385
  nil,
386
386
  session: neo4j_session,
387
387
  query_proxy: nil,
388
- context: "#{self.name}##{name}")
388
+ context: "#{self.name}")
389
389
  end
390
390
 
391
391
  def build_association(macro, direction, name, options)
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '5.0.3'
2
+ VERSION = '5.0.4'
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: 5.0.3
4
+ version: 5.0.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-07-14 00:00:00.000000000 Z
11
+ date: 2015-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter