neo4j 8.1.0 → 8.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/neo4j/tasks/migration.rake +15 -1
- 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: 090456c199b41f299bf9510c21c3b443b35bfb70
|
4
|
+
data.tar.gz: 428930321914f7728175b2d4fab9a0be48b6ec5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79bc8fb14b59d11aec66a712455268c74ea92284e973dee79e0b1260a65f51746a67a465815050b6a0ca6b745efd9d48d69bcd7d67dd935d722a7ee581f9a4eb
|
7
|
+
data.tar.gz: 85bd031790e5fa6102ffb711ab3a4289ee467b1796e0a3fe634b254f30f2d8267828f3ed3f1bef126ef17277271262af3cee4999986d975c40babbd5c70c28a6
|
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
|
+
## [8.1.1] 2017-06-15
|
7
|
+
|
8
|
+
### Added
|
9
|
+
|
10
|
+
- Comment to the top of the `schema.yml` file to help explain it's presence
|
11
|
+
|
6
12
|
## [8.1.0] 2017-06-07
|
7
13
|
|
8
14
|
### Fixed
|
@@ -48,6 +48,20 @@ namespace :neo4j do
|
|
48
48
|
# TODO: Make sure these tasks don't run in versions of Neo4j before 3.0
|
49
49
|
namespace :schema do
|
50
50
|
SCHEMA_YAML_PATH = 'db/neo4j/schema.yml'
|
51
|
+
SCHEMA_YAML_COMMENT = <<COMMENT
|
52
|
+
# This file is auto-generated from the current state of the database. Instead
|
53
|
+
# of editing this file, please use the migrations feature of ActiveNode to
|
54
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
55
|
+
#
|
56
|
+
# Note that this schema.yml definition is the authoritative source for your
|
57
|
+
# database schema. If you need to create the application database on another
|
58
|
+
# system, you should be using neo4j:schema:load, not running all the migrations
|
59
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
60
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
61
|
+
#
|
62
|
+
# It's strongly recommended that you check this file into your version control system.
|
63
|
+
|
64
|
+
COMMENT
|
51
65
|
|
52
66
|
def check_neo4j_version_3
|
53
67
|
if Neo4j::ActiveBase.current_session.version > '3.0.0'
|
@@ -68,7 +82,7 @@ namespace :neo4j do
|
|
68
82
|
schema_data[:versions] = runner.complete_migration_versions.sort
|
69
83
|
|
70
84
|
FileUtils.mkdir_p(File.dirname(SCHEMA_YAML_PATH))
|
71
|
-
File.open(SCHEMA_YAML_PATH, 'w') { |file| file << schema_data.to_yaml }
|
85
|
+
File.open(SCHEMA_YAML_PATH, 'w') { |file| file << SCHEMA_YAML_COMMENT + schema_data.to_yaml }
|
72
86
|
|
73
87
|
puts "Dumped updated schema file to #{SCHEMA_YAML_PATH}"
|
74
88
|
end
|
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: 8.1.
|
4
|
+
version: 8.1.1
|
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-06-
|
11
|
+
date: 2017-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: orm_adapter
|