neo4j 7.0.5 → 7.0.6

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: 787eaa00ba6db4457245d6b3719e958e72a5af4a
4
- data.tar.gz: 9760d1d25f4bf24ee1032ad6482e6ceb63c5dc49
3
+ metadata.gz: 7c6ae51fafbda1eedad90d0500b4255243c5599c
4
+ data.tar.gz: ba8dce88dcb6dc10bbcf19a959e9d2bd3797a581
5
5
  SHA512:
6
- metadata.gz: 784560630d3a8d94277c262f8e8f206e3d5cc20db89182f96319792c714e0410dc6f0c70cd642428a9b4d8fba508022c2ae0930abb058e4c0d133ff601ea61c5
7
- data.tar.gz: a1bf228abe84f07b5c106ec9c5ee45f66a1f4299dee3f61529c81649220850dbb5a6635eebffd5f3bc173e5c6bb493ddab753a3b2d41a9a5feee73889b171dfc
6
+ metadata.gz: 6b322bd2cd84b6befbfcc57e6a3a330b9ec2ec03cd8a2aceea92d61d29af305896fc878f506d5a2661c98e49c6bfb0216dbfdfaaeb1656ba05122c2895381656
7
+ data.tar.gz: 3259941e9b7d399fd8c17b38d8614ed56b285bab4518b9db1fc409aa6d2d297cc1e3b1ac9c01479806c15b41a72fca19fc3b03575905327656bbaa7877f82065
data/CHANGELOG.md CHANGED
@@ -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
+ ## [7.0.6] - 05-11-2016
7
+
8
+ ### Added
9
+
10
+ - Explination about why you can't have an index and a constraint at the same time
11
+
6
12
  ## [7.0.5] - 05-06-2016
7
13
 
8
14
  ### Fixed
data/Gemfile CHANGED
@@ -2,7 +2,10 @@ source 'http://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'neo4j-core', github: 'neo4jrb/neo4j-core', branch: 'master' if ENV['CI']
5
+ if ENV['CI']
6
+ gem 'neo4j-core', github: 'neo4jrb/neo4j-core', branch: 'master'
7
+ gem 'neo4j-rake_tasks', github: 'neo4jrb/neo4j-rake_tasks', branch: 'master'
8
+ end
6
9
 
7
10
  # gem 'active_attr', github: 'neo4jrb/active_attr', branch: 'performance'
8
11
  # gem 'active_attr', path: '../active_attr'
@@ -16,12 +16,12 @@ module Neo4j::Shared
16
16
  end
17
17
 
18
18
  def index!(type = :exact)
19
- fail Neo4j::InvalidPropertyOptionsError, "Unable to set index on constrainted property #{name}" if constraint?(:unique)
19
+ fail Neo4j::InvalidPropertyOptionsError, "Unable to set index on constrainted property #{name} (constraints get indexes automatically)" if constraint?(:unique)
20
20
  options[:index] = type
21
21
  end
22
22
 
23
23
  def constraint!(type = :unique)
24
- fail Neo4j::InvalidPropertyOptionsError, "Unable to set constraint on indexed property #{name}" if index?(:exact)
24
+ fail Neo4j::InvalidPropertyOptionsError, "Unable to set constraint on indexed property #{name} (constraints get indexes automatically)" if index?(:exact)
25
25
  options[:constraint] = type
26
26
  end
27
27
 
data/lib/neo4j/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '7.0.5'
2
+ VERSION = '7.0.6'
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.0.5
4
+ version: 7.0.6
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-05-08 00:00:00.000000000 Z
11
+ date: 2016-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter