neo4j 8.1.4 → 8.1.5
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/lib/neo4j/migrations/base.rb +6 -4
- data/lib/neo4j/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 13d58b195820ff94f9899f26eb281f1621b1ea64
|
|
4
|
+
data.tar.gz: a49c32fd9ef2a70e2b825d6de8cbf169a61fe88f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 740c3277e7d4a5ec4c34965adf2e4fa871cbe59f3658d89f396861ca0d12d8129426dddc186aab2c940d35134bd077e92650fc2b355d87e5370afd907395ff00
|
|
7
|
+
data.tar.gz: f4e8ba8d4d366202a803b8bc035d31868ca8aa2cd546807021a1ad0e3df220a999b5520add6dd9e7c1c9a874f061d4b6cfd3aa9f63c7debc20b1fbd7d54eda57
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
7
7
|
|
|
8
8
|
### Fixed
|
|
9
9
|
|
|
10
|
+
- Make sure that we handle the state of the SchemaMigration correctly when we get failures in non-transactional migrations (see #1383 / thanks @leviwilson and @ProGM)
|
|
11
|
+
|
|
12
|
+
## [8.1.4] 2017-08-17
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
10
16
|
- Issue where node Cypher variable could change during a `branch` (see issue #1348 / thanks @klobuczek for the report)
|
|
11
17
|
|
|
12
18
|
## [8.1.3] 2017-06-29
|
|
@@ -32,10 +32,11 @@ module Neo4j
|
|
|
32
32
|
begin
|
|
33
33
|
run_migration(:up)
|
|
34
34
|
rescue StandardError => e
|
|
35
|
-
schema.destroy
|
|
35
|
+
schema.destroy if transactions?
|
|
36
36
|
handle_migration_error!(e)
|
|
37
|
+
else
|
|
38
|
+
schema.update!(incomplete: nil)
|
|
37
39
|
end
|
|
38
|
-
schema.update!(incomplete: nil)
|
|
39
40
|
end
|
|
40
41
|
|
|
41
42
|
def migrate_down
|
|
@@ -44,10 +45,11 @@ module Neo4j
|
|
|
44
45
|
begin
|
|
45
46
|
run_migration(:down)
|
|
46
47
|
rescue StandardError => e
|
|
47
|
-
schema.update!(incomplete: nil)
|
|
48
|
+
schema.update!(incomplete: nil) if transactions?
|
|
48
49
|
handle_migration_error!(e)
|
|
50
|
+
else
|
|
51
|
+
schema.destroy
|
|
49
52
|
end
|
|
50
|
-
schema.destroy
|
|
51
53
|
end
|
|
52
54
|
|
|
53
55
|
def run_migration(direction)
|
data/lib/neo4j/version.rb
CHANGED