px-service-client 2.0.10 → 2.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/px/service/client/future.rb +11 -2
- data/lib/px/service/client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 359de7ea1ddd9e4224a6d1f084389d845aefc89d71e40997750d6bd71ec4d060
|
4
|
+
data.tar.gz: bccc25410bcc2560c80667d41009e17afd9a514e16b4bc55a15d8fb01feda49f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12ef5805ef864c3afc43f4a916bd393952f91df78852033de14446c8c9568c8344a4409754dd78460a697b852dcdc650d64cba95f1b4408a3d09ff00d30b81c4
|
7
|
+
data.tar.gz: 146c8b0f773b3915def77a0fc2185269a336186683e1d32afaeb379f5e4428a6021bfe440d1df1eb2e8be8d6cebe25990c0d125b7b206fd731408ebc3353f495
|
@@ -63,7 +63,12 @@ module Px::Service::Client
|
|
63
63
|
else
|
64
64
|
result = wait_for_value(nil)
|
65
65
|
end
|
66
|
-
|
66
|
+
|
67
|
+
if result.kind_of?(Exception)
|
68
|
+
# Set the backtrack properly to reflect where this method is called
|
69
|
+
result.set_backtrace(caller)
|
70
|
+
raise result
|
71
|
+
end
|
67
72
|
|
68
73
|
result
|
69
74
|
end
|
@@ -74,7 +79,11 @@ module Px::Service::Client
|
|
74
79
|
|
75
80
|
def method_missing(method, *args)
|
76
81
|
if @completed
|
77
|
-
|
82
|
+
if @value.kind_of?(Exception)
|
83
|
+
# Set the backtrack properly to reflect where this method is called
|
84
|
+
@value.set_backtrace(caller)
|
85
|
+
raise @value
|
86
|
+
end
|
78
87
|
|
79
88
|
super unless respond_to_missing?(method)
|
80
89
|
@value.send(method, *args)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: px-service-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Micacchi
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-04-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: will_paginate
|