grumlin 1.0.1 → 1.0.2

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: 82f89299a6e3bff5ab8d9bfd52e3241b846fb760e93ce1ba115e2686ae6bed41
4
- data.tar.gz: 52015bcb65ce1c1918be85b171ebe947fe23cc19da10c5cba2f3497096036088
3
+ metadata.gz: f8c299747c9fc7040421c33f472fdc8fa8801a85f5dbe563ca7cc0a9e648ca8a
4
+ data.tar.gz: da5f78c574be95f4a2bb22da2f7f9544545dfb6c852a973b7d3ea2ef9e9c3722
5
5
  SHA512:
6
- metadata.gz: fa42bd12699272aa6214a1c0a4fa0c11608576f934e29e4ed79fb174b47c81d103b54ec7f3249de24135e13282185787679c2f9d73ffe4f25ad67f07e7045b61
7
- data.tar.gz: 3d284037cc8d76f5ab20e7c7e17039e8845d8969ff0793cff57b8c114740d3ee08a8e58d0c2bf4daa1d821227419f48408490a52649d11165a89356c7548b2ed
6
+ metadata.gz: fae7bdcb40a085d8f3ae56f0fa2e20afc6b7e4acf0d24729ce8ca9ccefca8a0236adc3f7d1aa1edbf9c1ddfb2b25c043f5a199dd5221dab21653a6de1e9c58db
7
+ data.tar.gz: 77ac591dd3fd5563639ecaea63ef16802d5212fb16681a8f6de26808722f9f67789147aab3cf0cd9606ac1c2663a5fc6109ec2d70d30585d165bd5a10ca00e89
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- grumlin (1.0.1)
4
+ grumlin (1.0.2)
5
5
  async-pool (~> 0.3.0)
6
6
  async-websocket (~> 0.22.0)
7
7
  ibsciss-middleware (~> 0.4.0)
@@ -74,8 +74,6 @@ GEM
74
74
  nokogiri (1.13.9)
75
75
  mini_portile2 (~> 2.8.0)
76
76
  racc (~> 1.4)
77
- nokogiri (1.13.9-x86_64-linux)
78
- racc (~> 1.4)
79
77
  oj (3.13.23)
80
78
  overcommit (0.59.1)
81
79
  childprocess (>= 0.6.3, < 5)
data/lib/definitions.yml CHANGED
@@ -21,6 +21,7 @@ steps:
21
21
  - drop
22
22
  - elementMap
23
23
  - emit
24
+ - fail
24
25
  - filter
25
26
  - fold
26
27
  - from
@@ -4,6 +4,7 @@ class Grumlin::RequestErrorFactory
4
4
  ERRORS = {
5
5
  499 => Grumlin::InvalidRequestArgumentsError,
6
6
  500 => Grumlin::ServerError,
7
+ 595 => Grumlin::FailStepError,
7
8
  597 => Grumlin::ScriptEvaluationError,
8
9
  599 => Grumlin::ServerSerializationError,
9
10
  598 => Grumlin::ServerTimeoutError,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Grumlin
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
data/lib/grumlin.rb CHANGED
@@ -96,6 +96,9 @@ module Grumlin
96
96
  # NOTE: Neptune does not return id.
97
97
  end
98
98
 
99
+ class FailStepError < ServerError
100
+ end
101
+
99
102
  class VertexAlreadyExistsError < AlreadyExistsError; end
100
103
 
101
104
  class EdgeAlreadyExistsError < AlreadyExistsError; end
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: 1.0.1
4
+ version: 1.0.2
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-11-25 00:00:00.000000000 Z
11
+ date: 2022-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async-pool