activegraph 11.0.0.beta.2-java → 11.0.0.beta.3-java

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
2
  SHA256:
3
- metadata.gz: a97e2df0a3e9a49eb2ca103bfe748ddba1eda40b4f6f5e2e443d797e19294864
4
- data.tar.gz: 1fff9d574b04f38dc3ea38e4ea4bc7dbd56606857ee7a413b64abf497db05ce5
3
+ metadata.gz: dabd800eb8d7b51eeab984f1c12f1fe1a98f74fa5f574d3cb7c4be8b5bcc6639
4
+ data.tar.gz: da816f07c51ebef78a442b4f7596bcaa00e2ba53a44c94241c993f433d837713
5
5
  SHA512:
6
- metadata.gz: 5f7b364eae28776c62e5c8eb360877ae2c671b53055b500701df8b3187b6bb708e09447a121149bea0a983eb533b86f5b2c924555a7230e1ebe016cd0bbafdef
7
- data.tar.gz: f8aa6513ec9d35f8c041c1512391d1373ea5b68cf4a70dcde2bd19b0769a71ce28bbe9aacb661cdb7988831c7021e56c1e758fd1692e5bfbaf2bccf4dfe9489c
6
+ metadata.gz: a6ff1e6885692740d539587f378f760e9b5818aff573820d8abf7d3666398ab78ed3f1a1ed129b9c3e19392e97e1eb7057a970e058bbc4afdfdc051689fc631d
7
+ data.tar.gz: ae09dcb6d8a79a38495c3065fa51d15ebf2a07c411553a1d582687b1662d036912a6fff8fcfce2b354c9b3d5307578cf1d12ff1b085219006f36bfc93e28223f
@@ -3,14 +3,15 @@ module ActiveGraph
3
3
  module Schema
4
4
  class << self
5
5
  def fetch_schema_data
6
- {constraints: fetch_constraint_descriptions.sort,
7
- indexes: fetch_index_descriptions.sort}
6
+ { constraints: fetch_constraint_descriptions.sort, indexes: fetch_index_descriptions.sort }
8
7
  end
9
8
 
10
9
  def synchronize_schema_data(schema_data, remove_missing)
11
10
  queries = []
12
- queries += drop_and_create_queries(fetch_constraint_descriptions, schema_data[:constraints], remove_missing)
13
- queries += drop_and_create_queries(fetch_index_descriptions, schema_data[:indexes], remove_missing)
11
+ ActiveGraph::Base.read_transaction do
12
+ queries += drop_and_create_queries(fetch_constraint_descriptions, schema_data[:constraints], remove_missing)
13
+ queries += drop_and_create_queries(fetch_index_descriptions, schema_data[:indexes], remove_missing)
14
+ end
14
15
  ActiveGraph::Base.write_transaction do
15
16
  queries.each(&ActiveGraph::Base.method(:query))
16
17
  end
@@ -88,9 +88,7 @@ COMMENT
88
88
 
89
89
  ActiveGraph::Base.subscribe_to_query(&method(:puts))
90
90
 
91
- ActiveGraph::Base.transaction do
92
- ActiveGraph::Migrations::Schema.synchronize_schema_data(schema_data, args[:remove_missing])
93
- end
91
+ ActiveGraph::Migrations::Schema.synchronize_schema_data(schema_data, args[:remove_missing])
94
92
 
95
93
  ActiveGraph::Base.transaction do
96
94
  runner = ActiveGraph::Migrations::Runner.new
@@ -1,3 +1,3 @@
1
1
  module ActiveGraph
2
- VERSION = '11.0.0.beta.2'
2
+ VERSION = '11.0.0.beta.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activegraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.0.0.beta.2
4
+ version: 11.0.0.beta.3
5
5
  platform: java
6
6
  authors:
7
7
  - Andreas Ronge, Brian Underwood, Chris Grigg, Heinrich Klobuczek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-23 00:00:00.000000000 Z
11
+ date: 2020-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement