grumlin 0.19.0 → 0.19.1

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
  SHA256:
3
- metadata.gz: f899b66f4f483334c271ca60f6ade26d5b403bc10552e03700595e983e0268cb
4
- data.tar.gz: ea689ad161f0b220e37af0fd5aa32adaa50990ebdcdc6d8e8cef7b12b53067e5
3
+ metadata.gz: 0aea0105e4e4a5a87a4d7cfc025c05218ba5cdec2e9fef267a39f013e30d47fd
4
+ data.tar.gz: e115950e317f51ff52cfea2b17df2c390566c04212fd7df0a0b083ac5c286765
5
5
  SHA512:
6
- metadata.gz: f9d3c770966a9f44efc25c7f7ad3a33203daafc0e1f3887db22ef6cd9c37415073c72cb90dd7cb7658c12a5e9ac2aa587c48d590ff417a7ba4c26b1f2586214d
7
- data.tar.gz: 5a9ed3d9e7ff5c717083b5d36b8de17a4ef8b3ed4310c67b35b8ff56d5f7b49e2d74770e47cd1aa96f3544549f9fad9ddba5bf5695ca4bf9e23c04bb4d15f90b
6
+ metadata.gz: ef169bdc88d8be5c589f15ddf4223eb32adfd0a8e34f3ef67671a21c5fb7fecd44f43dfbe57d215047488e0c8e498a3d9f76e8a1c3517b9d055854e76ee42ccd
7
+ data.tar.gz: 1b1fdf883a92daef8b0e40b4576c3d7f4f4b6bb3fa95c774002f57b7d5d0ff4b0010a3a91c8a500ea9c629ea368649d7e45cc97f3d074f64a02b5d906a136d98
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- grumlin (0.19.0)
4
+ grumlin (0.19.1)
5
5
  async-pool (~> 0.3)
6
6
  async-websocket (~> 0.19)
7
7
  oj (~> 3.12)
@@ -64,8 +64,8 @@ module Grumlin
64
64
  # [["label", "id", {create: :properties}, {update: properties}]]
65
65
  # params can override Retryable config from UPSERT_RETRY_PARAMS
66
66
  def upsert_vertices(vertices, batch_size: 100, on_failure: :retry, **params)
67
- with_upsert_error_handling(on_failure, params) do
68
- vertices.each_slice(batch_size) do |slice|
67
+ vertices.each_slice(batch_size) do |slice|
68
+ with_upsert_error_handling(on_failure, params) do
69
69
  slice.reduce(g) do |t, (label, id, create_properties, update_properties)|
70
70
  create_properties, update_properties = cleanup_properties(create_properties, update_properties)
71
71
 
@@ -88,8 +88,8 @@ module Grumlin
88
88
  # [["label", "id", {create: :properties}, {update: properties}]]
89
89
  # params can override Retryable config from UPSERT_RETRY_PARAMS
90
90
  def upsert_edges(edges, batch_size: 100, on_failure: :retry, **params)
91
- with_upsert_error_handling(on_failure, params) do
92
- edges.each_slice(batch_size) do |slice|
91
+ edges.each_slice(batch_size) do |slice|
92
+ with_upsert_error_handling(on_failure, params) do
93
93
  slice.reduce(g) do |t, (label, from, to, create_properties, update_properties)|
94
94
  create_properties, update_properties = cleanup_properties(create_properties, update_properties, T.label)
95
95
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Grumlin
4
- VERSION = "0.19.0"
4
+ VERSION = "0.19.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grumlin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Sinyavskiy