isomorfeus-operation 2.0.10 → 2.0.14

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: 11eb1d2688af952a0064d3d788f59778e4499f65f429fb7c8e886dd203953d68
4
- data.tar.gz: 4fc116244afe595e7e1da3c75875004bb0ecd9dbd0e6b3663656587ad299fcbb
3
+ metadata.gz: 7af2c43eb65e83a5233581c8aef7e5f127b0fb32fe5882fdebf95f41e391334d
4
+ data.tar.gz: cc617193a97083734e11401dda63f86a8b5bebaeab284567982b57d2c901685f
5
5
  SHA512:
6
- metadata.gz: f9dbb4b65e85c31de5d062264d4d3cc4f1d7d73f9b86c4d0a6b501e36e49ccaffc88f8a1ce6483c21187b1ad320e7be1bae829f0bf97fa50a2ce9d3f1ab4fe3b
7
- data.tar.gz: 7363c4dd98cc7d88af181987fd42700618b6f10ee2c4bd5f1d907f37600ca25f41a822028f5e5ca3dd97f767a72f3ee42c1431e547443b1f916e5781cb7c456e
6
+ metadata.gz: 3af25afed7c8702b36f9fcbe9b67df6326d02517f888bbbf5a5dad12088237d4aa4b56eeba2f581b01c53ac23d2351d467cf4dfd0041389c79c3984839353065
7
+ data.tar.gz: 26146fc3d5633484119640d64ddf3413958f79914ed17d5e2fe9830e60f1e4dc0ce4ca2bea481c883df56e9b2bc03bf682d6e31a5910e5ab2120d19b0d58bb20
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  module Operation
3
- VERSION = '2.0.10'
3
+ VERSION = '2.0.14'
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.10
4
+ version: 2.0.14
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-01-26 00:00:00.000000000 Z
11
+ date: 2022-02-02 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.6
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.6
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.14
89
+ version: 10.6.25
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.14
96
+ version: 10.6.25
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.10
117
+ version: 2.0.14
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.10
124
+ version: 2.0.14
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.10
131
+ version: 2.0.14
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.10
138
+ version: 2.0.14
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rake
141
141
  requirement: !ruby/object:Gem::Requirement