isomorfeus-operation 2.0.11 → 2.0.15

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: 964cf6e2e648b5084229341fd90c1e2a8a272abbf26e3decb91b26a23048920f
4
- data.tar.gz: dc5f2e461753b634eab7221d3d238882d18a9c7fd5ca104cb1acca89cf5ce17e
3
+ metadata.gz: 6e05b835ba65aa04212068db2a37f2a5d82051c80a9c499a590e778741d1e5d1
4
+ data.tar.gz: 1a915c88132536cce35618218f7d1c897ec56e0ff7759375c77218f67411cf9c
5
5
  SHA512:
6
- metadata.gz: 61658a1e62dedc2cca65044f3c6c9c10fcc3133ee02c1aeba774feaf3e3c32a178558b3e6767024de0e21937e5eb2b2f71ca73e99e3333343877c672ab56194b
7
- data.tar.gz: 1ae2b52ef2440e234f797b44fd41cefc62c2c53097f5c30295fb6eb2d28c80ddbafdb4d0c2ed59d0108517e3436e1462cf881c190f558ca29e7433c4aea96bdc
6
+ metadata.gz: fbc6d9a716f9ddbb278a908fa36340b711be4ddb6a950a05daf749ae381c5e238a3f3a413329a31542cc64387a4045705e30e6841bf051210b32f71e407ae10c
7
+ data.tar.gz: c53928322ac2094ad95cfb77bf148e5fe1bd670695e0d1555617b4ad8e4aab4b9ca92f37cbfc6266d017f8378b8848538d0f3ea9ceeef1bdf607f3cd757aa0d2
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  module Operation
3
- VERSION = '2.0.11'
3
+ VERSION = '2.0.15'
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.11
4
+ version: 2.0.15
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-31 00:00:00.000000000 Z
11
+ date: 2022-02-03 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.26
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.26
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.11
117
+ version: 2.0.15
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.11
124
+ version: 2.0.15
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.11
131
+ version: 2.0.15
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.11
138
+ version: 2.0.15
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rake
141
141
  requirement: !ruby/object:Gem::Requirement