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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 492a926d29184ab953032e7c2f217a4fe43040dacde8b063dba27693ceb6ad22
4
- data.tar.gz: 5e9080ff2bbe18661f8605a69bf440c70fcaa85b3fd2964259ad548f2f5baffd
3
+ metadata.gz: 359de7ea1ddd9e4224a6d1f084389d845aefc89d71e40997750d6bd71ec4d060
4
+ data.tar.gz: bccc25410bcc2560c80667d41009e17afd9a514e16b4bc55a15d8fb01feda49f
5
5
  SHA512:
6
- metadata.gz: ce42287217054c783329edfa4b858f375403c3f88c2d5984991945d6be68143815212384a9c972deeab5dc9f5a5f197c783db4d8722091f112632b82c0d51221
7
- data.tar.gz: 07b83e2ff9f15c8ef47df20b7fa34ad89edc98ee51b236e3f646c544cfe17d6d9c6a253a703c6796bf9999b817104a623d43d08a267468366e86443b17759c7f
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
- raise result if result.kind_of?(Exception)
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
- raise @value if @value.kind_of?(Exception)
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)
@@ -1,7 +1,7 @@
1
1
  module Px
2
2
  module Service
3
3
  module Client
4
- VERSION = "2.0.10"
4
+ VERSION = "2.0.11"
5
5
  end
6
6
  end
7
7
  end
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.10
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-03-30 00:00:00.000000000 Z
12
+ date: 2019-04-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: will_paginate