parallel 1.11.0 → 1.11.1

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
  SHA1:
3
- metadata.gz: 7c9109c6823e35d9f0dae9d6b525cd210b050801
4
- data.tar.gz: 0418fc529365106f7d9915e2c8fb0f223835100d
3
+ metadata.gz: b3c6aee00aba4108047f5dd9ff76a2e74e434f1b
4
+ data.tar.gz: ba9fd463a747ec749b30e93ffa6f42af642dcc6f
5
5
  SHA512:
6
- metadata.gz: 228a5ed608242b00fefe9303ff83cd94b5fd35a338f1657c6a6d21d1cedb53a7a205a31abb838addb8ef1763319ca88556a5435204781aa95ed364345db06ee7
7
- data.tar.gz: 962275502b4cabd3ddfd3557616e4939520392beae12d665f90d56638f1cd63143a621e6f7e51b2345fd485bfcd4abbe0d3060171ecff9f0626bd75246481768
6
+ metadata.gz: e1120fd09ea83aae7eeee92405ade029d1331271abfeab51ab470406da750b16280efa457229b3f7cb2aa8468eb46a5763d661461f7a4a2250c13e4c523127f2
7
+ data.tar.gz: ec9e3cd619f647d3dd5a59ac451f0cafa7094bcb1d0f8670552ed5d4951f107f68dd3d294517927b279d5f9660e58005dae321a80209fef16e06f1f0a283605a
@@ -15,13 +15,10 @@ module Parallel
15
15
  end
16
16
 
17
17
  class UndumpableException < StandardError
18
+ attr_reader :backtrace
18
19
  def initialize(original)
19
20
  super "#{original.class}: #{original.message}"
20
- @bracktrace = original.backtrace
21
- end
22
-
23
- def backtrace
24
- @bracktrace
21
+ @backtrace = original.backtrace
25
22
  end
26
23
  end
27
24
 
@@ -30,6 +27,12 @@ module Parallel
30
27
  class ExceptionWrapper
31
28
  attr_reader :exception
32
29
  def initialize(exception)
30
+ # Remove the bindings stack added by the better_errors gem,
31
+ # because it cannot be marshalled
32
+ if exception.instance_variable_defined? :@__better_errors_bindings_stack
33
+ exception.send :remove_instance_variable, :@__better_errors_bindings_stack
34
+ end
35
+
33
36
  @exception =
34
37
  begin
35
38
  Marshal.dump(exception) && exception
@@ -1,3 +1,3 @@
1
1
  module Parallel
2
- VERSION = Version = '1.11.0'
2
+ VERSION = Version = '1.11.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-10 00:00:00.000000000 Z
11
+ date: 2017-03-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it