neo4j 8.0.9 → 8.0.10

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: fc09e0db3b07a0f05f219a74459e92f2fd8d5608
4
- data.tar.gz: 9ff7c8b776e319f637b092875d7cff3d864c05c7
3
+ metadata.gz: 97be80f038ef5c3fdbe57df68dc4e729fa45ce75
4
+ data.tar.gz: 897c71d36b6c7f69ec40dd158a2a6436cedd658b
5
5
  SHA512:
6
- metadata.gz: 0bb9384a76be7214bfe25f5da802bff6f2fe466109be96d46d63eb9afabcf45720041126adfe9738dc096503cb4e6d4e17024c7818fb1490da8b89a16447def2
7
- data.tar.gz: 6b02ced40ca6f29e705b1893150b728b60b6bbeeb984d6bc3b250f3deaa35a1436c9639825bbb08ba3874064c13ff4a271722a6bc2fccf7763073cd93fe465f5
6
+ metadata.gz: 25d52eb08146e7a9aff501ba86a92edcbb8144dc532110e9136e416a3cc10c046bb7dfee506612c9e04296f37d60888dac813ad4574eade9e236b1a87a8bcc11
7
+ data.tar.gz: ad3e6b98b3405b82feeadeedec1f1d692386900c1f665f9be62070451dd2c2fc136202d696f0220c3ff52832b4c9741e0ddd3021e8ca89e52c345de291104eb0
@@ -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
+ ## [8.0.9] 2016-03-15
7
+
8
+ ### Fixed
9
+
10
+ - Fix more Ruby 2.4 deprecations re: Integer (see #1363 / thanks @jboler)
11
+
6
12
  ## [8.0.9] 2016-03-09
7
13
 
8
14
  ### Fixed
@@ -94,7 +94,7 @@ module Neo4j
94
94
  end
95
95
 
96
96
  def exists?(node_condition = nil, target = nil)
97
- unless [Integer, Fixnum, String, Hash, NilClass].include?(node_condition.class)
97
+ unless [Integer, String, Hash, NilClass].any? { |c| node_condition.is_a?(c) }
98
98
  fail(Neo4j::InvalidParameterError, ':exists? only accepts ids or conditions')
99
99
  end
100
100
  query_with_target(target) do |var|
@@ -2,7 +2,7 @@ module Neo4j
2
2
  module ActiveNode
3
3
  module QueryMethods
4
4
  def exists?(node_condition = nil)
5
- unless [Integer, Fixnum, String, Hash, NilClass].include?(node_condition.class)
5
+ unless [Integer, String, Hash, NilClass].any? { |c| node_condition.is_a?(c) }
6
6
  fail(Neo4j::InvalidParameterError, ':exists? only accepts ids or conditions')
7
7
  end
8
8
  query_start = exists_query_start(node_condition)
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '8.0.9'
2
+ VERSION = '8.0.10'
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: 8.0.9
4
+ version: 8.0.10
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: 2017-03-09 00:00:00.000000000 Z
11
+ date: 2017-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter