neo4j 9.2.3 → 9.2.4

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
- SHA1:
3
- metadata.gz: 1fab4999b62a5b300e1bc9416771935979862fb7
4
- data.tar.gz: b1ff4cdb1e8ef291bc09b74d06d929dbbc7c364a
2
+ SHA256:
3
+ metadata.gz: 5ccc0365414111846000de82681e95729588db5e32446fea0489976e3a5032c8
4
+ data.tar.gz: c51126aa8984c5f537d347b0577d30200f4bb15ac1acae0e3e4a8c085aeb59c1
5
5
  SHA512:
6
- metadata.gz: c4499e6cc4a361ca12f318bc3e8591f0dd10c29f1e74fed2a80be665813b91ee6c632215728e0b45f8afd4f41a472dd2083f4fb056d633d3d06b0c7966a68fa7
7
- data.tar.gz: 1a49df0d5c4fc95e9f2476310647986a0be423b0f0162484b7046600da9db1724c62bc70787817f704c43547af814a2c36312ceccf794a2202c0637c14e5eb3c
6
+ metadata.gz: 2c49c1a3b0a60606cb524e410309c036cb31e4f1e7fd4e8815fe5191fa66f8eecf550a16ebfc2b45fb7a3b14c3836defcaf81d54fc3fbb619c55beebc37c9aa4
7
+ data.tar.gz: edb708f9c7871143049866706743035cbcf85d2b93905ca76d448b685e4cdbbafdf30edfaf5113f0f98f53307ab259879c3c6ab442936dfe6d680893b68c7195
@@ -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
+ ## [9.2.4] 2018-05-20
7
+
8
+ ## Fixed
9
+
10
+ - BigDecimal handling on properties (thanks @klobuczek / see #1507)
11
+
6
12
  ## [9.2.3] 2018-05-10
7
13
 
8
14
  ## Fixed
data/Gemfile CHANGED
@@ -4,10 +4,12 @@ gemspec
4
4
 
5
5
  # gem 'neo4j-core', github: 'neo4jrb/neo4j-core', branch: 'master' if ENV['CI']
6
6
 
7
- branch = ENV['TRAVIS_PULL_REQUEST_BRANCH'] || ENV['TRAVIS_BRANCH']
8
- slug = ENV['TRAVIS_PULL_REQUEST_SLUG'] || ENV['TRAVIS_REPO_SLUG']
7
+ branch = ENV['NEO4J_CORE_BRANCH'] || ENV['TRAVIS_PULL_REQUEST_BRANCH'] || ENV['TRAVIS_BRANCH']
8
+ slug = !ENV['TRAVIS_PULL_REQUEST_SLUG'].to_s.empty? ? ENV['TRAVIS_PULL_REQUEST_SLUG'] : ENV['TRAVIS_REPO_SLUG']
9
9
  if branch
10
- if `curl --head https://github.com/#{slug}-core/tree/#{branch} | head -1` =~ /200 OK/
10
+ command = "curl --head https://github.com/#{slug}-core/tree/#{branch} | head -1"
11
+ result = `#{command}`
12
+ if result =~ /200 OK/
11
13
  gem 'neo4j-core', github: "#{slug}-core", branch: branch
12
14
  else
13
15
  gem 'neo4j-core', github: 'neo4jrb/neo4j-core', branch: 'master'
@@ -66,7 +66,7 @@ module Neo4j::Shared
66
66
  end
67
67
 
68
68
  def db_type
69
- BigDecimal
69
+ String
70
70
  end
71
71
 
72
72
  def to_db(value)
@@ -77,9 +77,12 @@ module Neo4j::Shared
77
77
  value.to_d
78
78
  else
79
79
  BigDecimal.new(value.to_s)
80
- end
80
+ end.to_s
81
+ end
82
+
83
+ def to_ruby(value)
84
+ value.to_d
81
85
  end
82
- alias to_ruby to_db
83
86
  end
84
87
  end
85
88
 
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '9.2.3'
2
+ VERSION = '9.2.4'
3
3
  end
@@ -16,9 +16,9 @@ Gem::Specification.new do |s|
16
16
  s.rubyforge_project = 'neo4j'
17
17
  s.summary = 'A graph database for Ruby'
18
18
  s.license = 'MIT'
19
- s.description = <<-EOF
19
+ s.description = <<-DESCRIPTION
20
20
  A Neo4j OGM (Object-Graph-Mapper) for Ruby heavily inspired by ActiveRecord.
21
- EOF
21
+ DESCRIPTION
22
22
 
23
23
  s.require_path = 'lib'
24
24
  s.files = Dir.glob('{bin,lib,config}/**/*') + %w(README.md CHANGELOG.md CONTRIBUTORS Gemfile neo4j.gemspec)
@@ -36,7 +36,7 @@ A Neo4j OGM (Object-Graph-Mapper) for Ruby heavily inspired by ActiveRecord.
36
36
  s.add_dependency('activemodel', '>= 4.0')
37
37
  s.add_dependency('activesupport', '>= 4.0')
38
38
  s.add_dependency('neo4j-community', '~> 2.0') if RUBY_PLATFORM =~ /java/
39
- s.add_dependency('neo4j-core', '>= 7.2.2')
39
+ s.add_dependency('neo4j-core', '>= 7.2.2', '< 9.0.0')
40
40
  s.add_dependency('orm_adapter', '~> 0.5.0')
41
41
  s.add_development_dependency('guard')
42
42
  s.add_development_dependency('guard-rspec')
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: 9.2.3
4
+ version: 9.2.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: 2018-05-11 00:00:00.000000000 Z
11
+ date: 2018-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -45,6 +45,9 @@ dependencies:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 7.2.2
48
+ - - "<"
49
+ - !ruby/object:Gem::Version
50
+ version: 9.0.0
48
51
  type: :runtime
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -52,6 +55,9 @@ dependencies:
52
55
  - - ">="
53
56
  - !ruby/object:Gem::Version
54
57
  version: 7.2.2
58
+ - - "<"
59
+ - !ruby/object:Gem::Version
60
+ version: 9.0.0
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: orm_adapter
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -367,7 +373,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
367
373
  version: '0'
368
374
  requirements: []
369
375
  rubyforge_project: neo4j
370
- rubygems_version: 2.6.13
376
+ rubygems_version: 2.7.6
371
377
  signing_key:
372
378
  specification_version: 4
373
379
  summary: A graph database for Ruby