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 +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile +4 -1
- data/lib/neo4j/shared/declared_property/index.rb +2 -2
- data/lib/neo4j/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c6ae51fafbda1eedad90d0500b4255243c5599c
|
|
4
|
+
data.tar.gz: ba8dce88dcb6dc10bbcf19a959e9d2bd3797a581
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
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.
|
|
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-
|
|
11
|
+
date: 2016-05-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: orm_adapter
|