isomorfeus-operation 2.0.12 → 2.0.16

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: 599c49c36a1336f2bf3a4d034113ce3d6533add4d9a29c541a4da35a018579ab
4
- data.tar.gz: 80a8834c23af55c60ae3d0eb3f5c294cfbc23a8d72f188f74de5c290ecf120ba
3
+ metadata.gz: b51f341b9b7814d3433250b3e8e2bcd32405dcfbb9c0f8c9239496b0d4ba048c
4
+ data.tar.gz: 205bb0b66242e639cbbea7766136441683f5ea45c9e1f118432a64d87bf3dedd
5
5
  SHA512:
6
- metadata.gz: 65ced255bda5df5de6da6f8bcbe5e87e2b52ec7852803526aea86c6b7f4656d7a5568dacf8f9c3bb368bc4ef156a852dc24b0c33283607c8ec526e337affaf07
7
- data.tar.gz: e60cdc5e420b70b4ec3165f0f7efec192f58fadd9bd572cc078f438c11f8ff9266175999d5d124e8af103a0fca692fa77b301ea590a27e3936b128cb87de7b3a
6
+ metadata.gz: e62e559c98bce11d4123b255584c73a20a2b2fb7414dccf2d2eb57cdcc59ca7854c4e64fe6f4a807ded370c2fcc1ef64d47a26ed920d24c44a5cb295bb3031dc
7
+ data.tar.gz: 1391c10614740c69ff1210a02e2cf4dc2debfe141759d293bc60975e629119cc3d48e427c07bd341f49603d9e20f4ecc21612a3dfc16cea7ec248549b1f19d92
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  module Operation
3
- VERSION = '2.0.12'
3
+ VERSION = '2.0.16'
4
4
  end
5
5
  end
@@ -39,12 +39,8 @@ module LucidOperation
39
39
  def promise_run(**props_hash)
40
40
  props = validated_props(props_hash)
41
41
  Isomorfeus::Transport.promise_send_path('Isomorfeus::Operation::Handler::OperationHandler', self.name, props).then do |agent|
42
- unless agent.processed
43
- agent.processed = true
44
- if agent.response.key?(:error)
45
- Isomorfeus.raise_error(message: agent.response[:error])
46
- end
47
- agent.result = agent.response[:result]
42
+ agent.process do |agnt|
43
+ agnt.response[:result]
48
44
  end
49
45
  if agent.result.key?(:rejected)
50
46
  if agent.result.key?(:error)
@@ -11,12 +11,8 @@ module LucidQuickOp
11
11
  def promise_run(**props_hash)
12
12
  props = validated_props(props_hash)
13
13
  Isomorfeus::Transport.promise_send_path('Isomorfeus::Operation::Handler::OperationHandler', self.name, props).then do |agent|
14
- unless agent.processed
15
- agent.processed = true
16
- if agent.response.key?(:error)
17
- Isomorfeus.raise_error(message: agent.response[:error])
18
- end
19
- agent.result = agent.response[:result]
14
+ agent.process do
15
+ agent.response[:result]
20
16
  end
21
17
  if agent.result.key?(:rejected)
22
18
  if agent.result.key?(:error)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-operation
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.12
4
+ version: 2.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-01 00:00:00.000000000 Z
11
+ date: 2022-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -72,28 +72,28 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.14.7
75
+ version: 0.14.8
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.14.7
82
+ version: 0.14.8
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: isomorfeus-preact
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 10.6.23
89
+ version: 10.6.27
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 10.6.23
96
+ version: 10.6.27
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: isomorfeus-redux
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -114,28 +114,28 @@ dependencies:
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 2.0.12
117
+ version: 2.0.16
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 2.0.12
124
+ version: 2.0.16
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: isomorfeus
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: 2.0.12
131
+ version: 2.0.16
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: 2.0.12
138
+ version: 2.0.16
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rake
141
141
  requirement: !ruby/object:Gem::Requirement