pipe_rpc 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d754a16c8369ffd2cfbeda827a6ec49028326c21
4
- data.tar.gz: 20c0a704f6f64b13f2a2a661bec384c3f8d117d6
3
+ metadata.gz: 00b9fd7747019296e0f38f844c0b3ccdfa72145d
4
+ data.tar.gz: ae9824a1ae407666e8f184a11628943170d46e7b
5
5
  SHA512:
6
- metadata.gz: 340cdcba3e23c86ecaba149671f948e27a73e27f97737c3e03507ac9ff8b49b678341270b5e0f2f2529257bcc2cf1f3bcf16b62a02a9708bd13c05f2db99695e
7
- data.tar.gz: 526a134f5533eda00100d4459ef8885688a3a581cb518515ceb7d5e7e0608f3f1888ca1aadd08738718ff935d830c375561d8a5eb2745f6b17a4e6ee65b5b35e
6
+ metadata.gz: 66262aef176a1bcd7e4d4cdca855de91539ae01c60faee5ad0a4503bd0508e5cc4dfdf7fe4b1234fcad5409dd5d482d6143a242c52dfde9a4270aa921a746199
7
+ data.tar.gz: 900ecdb81c9e023da3bf7219085122a1b5f68191205da0ce956332dedcd43999c72d574173167409cd77f9c7a3b7d6f0423cf2d0e456796a284b9e6761183876
@@ -10,8 +10,8 @@ module PipeRpc
10
10
  def code
11
11
  case @error
12
12
  when NoServerError then -32604
13
- when method_call_error? && NoMethodError then -32601
14
- when method_call_error? && ArgumentError then -32602
13
+ when method_call_error? && ::NoMethodError then -32601
14
+ when method_call_error? && ::ArgumentError then -32602
15
15
  when InternalError then -32605
16
16
  else -32603
17
17
  end
@@ -27,7 +27,7 @@ module PipeRpc
27
27
  # method definition and not from where it is called as first location
28
28
  # in the backtrace. To normalize argument and no method errors,
29
29
  # remove the first location for argument errors.
30
- backtrace.shift if @error.is_a?(ArgumentError) and not Object.const_defined?(:MRUBY_VERSION)
30
+ backtrace.shift if @error.is_a?(::ArgumentError) and not Object.const_defined?(:MRUBY_VERSION)
31
31
  end
32
32
  end
33
33
 
@@ -1,3 +1,3 @@
1
1
  module PipeRpc
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pipe_rpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Aue