service_actor 3.9.2 → 3.9.3

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: f2483bd7441afe757bcfb29be028fdf518575f1c87c5c3470858248c78702db8
4
- data.tar.gz: 78f16e2ad2d5ca6169e3c21ede1672c23e24037f753c5072a6dee834444f53ca
3
+ metadata.gz: e0f34532a18ec537f1bfed394344d917b7692ae8b7c8711cf91e6f840c501cd9
4
+ data.tar.gz: e8b42b94b3f20c6fa671d9e3e36686f36c1961d505046c11df025648e1cd04c9
5
5
  SHA512:
6
- metadata.gz: 9a80ea6854ca7084e4cf9f1acb3d706d4e749b52965f88a13ce48eb9769e5ce700195f18b760454a60855f92d408b29dd48fa7a58587d3f8b0a7a1647f53942e
7
- data.tar.gz: 467f81ee0496d1a22888df3388e41cf16755d288a2a6416ca0c9c774bfe5ab3d4a883e6a730a240271227626aa7a7dc65c3ce177e292051f28d477d718dfecf7
6
+ metadata.gz: 39f81ccfa9ad2e5e6b493e7654b3a979cea9935ab11a8c333d8272e160df2e6463e14e5ccf5b6637b993feb4ff8b5bdcf262ddb8da3be9ca6ac7b712f4f92014
7
+ data.tar.gz: 12c34d599551e6260fbb84a4ebb9930dddc2c46d24e77eace106c652456c145256543000de36c613801acb3f8f3f6db44ab070b457db015fbd738a304cba649d
@@ -116,7 +116,10 @@ module ServiceActor::Playable
116
116
  end
117
117
 
118
118
  def play_interactor(actor)
119
- result.merge!(actor.call(result.to_h).to_h)
119
+ interactor = actor.call(result.to_h)
120
+ result.merge!(interactor.to_h)
121
+ fail! if interactor.failure?
122
+ result
120
123
  end
121
124
  end
122
125
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ServiceActor
4
- VERSION = "3.9.2"
4
+ VERSION = "3.9.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: service_actor
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.9.2
4
+ version: 3.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sunny Ripert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-27 00:00:00.000000000 Z
11
+ date: 2024-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zeitwerk