grumlin 0.19.3 → 0.19.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/grumlin/request_dispatcher.rb +4 -4
- data/lib/grumlin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b15930a9bee5daea1b1c30e3967aa80e7894ff864594dd2c773e6f505211ff6f
|
4
|
+
data.tar.gz: 9a9f11ebb808adc6443e3bc9be2c57b04027890a364bcdbb74e1e84e877f29f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 174b21af80bf277e521fe255fc72fc4c2b238caffc2677abb0dc5f3fb2c848e6905dee572d3a4f986813e68a894ca0820a4570a8e642aefb96dd6bf02235e851
|
7
|
+
data.tar.gz: 810a0e36f59f762c92a0a55239654580d307056c077f42171541988aa37a90bb6728342598c7df2b97fcc024192b1ac7c7940dd1ebccec683e7470866e185c1a
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
grumlin (0.19.
|
4
|
+
grumlin (0.19.4)
|
5
5
|
async-pool (~> 0.3)
|
6
6
|
async-websocket (~> 0.19)
|
7
7
|
oj (~> 3.12)
|
@@ -47,7 +47,7 @@ GEM
|
|
47
47
|
benchmark-ips (2.10.0)
|
48
48
|
childprocess (4.0.0)
|
49
49
|
concurrent-ruby (1.1.8)
|
50
|
-
console (1.15.
|
50
|
+
console (1.15.3)
|
51
51
|
fiber-local
|
52
52
|
diff-lcs (1.4.4)
|
53
53
|
docile (1.4.0)
|
@@ -72,7 +72,7 @@ GEM
|
|
72
72
|
racc (~> 1.4)
|
73
73
|
nokogiri (1.13.1-x86_64-linux)
|
74
74
|
racc (~> 1.4)
|
75
|
-
oj (3.13.
|
75
|
+
oj (3.13.13)
|
76
76
|
overcommit (0.57.0)
|
77
77
|
childprocess (>= 0.6.3, < 5)
|
78
78
|
iniparse (~> 1.4)
|
@@ -107,13 +107,13 @@ module Grumlin
|
|
107
107
|
end
|
108
108
|
|
109
109
|
def already_exists_error(status)
|
110
|
-
return VertexAlreadyExistsError if status[:message]
|
111
|
-
return EdgeAlreadyExistsError if status[:message]
|
110
|
+
return VertexAlreadyExistsError if status[:message]&.include?(VERTEX_ALREADY_EXISTS)
|
111
|
+
return EdgeAlreadyExistsError if status[:message]&.include?(EDGE_ALREADY_EXISTS)
|
112
112
|
end
|
113
113
|
|
114
114
|
def concurrent_insert_error(status)
|
115
|
-
return ConcurrentVertexInsertFailedError if status[:message]
|
116
|
-
return ConcurrentEdgeInsertFailedError if status[:message]
|
115
|
+
return ConcurrentVertexInsertFailedError if status[:message]&.include?(CONCURRENT_VERTEX_INSERT_FAILED)
|
116
|
+
return ConcurrentEdgeInsertFailedError if status[:message]&.include?(CONCURRENT_EDGE_INSERT_FAILED)
|
117
117
|
end
|
118
118
|
end
|
119
119
|
end
|
data/lib/grumlin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grumlin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gleb Sinyavskiy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-pool
|