fibre 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fibre/fiber_pool.rb +5 -1
- data/lib/fibre/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5dd22214ce144b8c37b896197a83acae33044a0
|
4
|
+
data.tar.gz: 0aa70afc6fe9522d85d9a80d4539d6d271572218
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdd8d5203506b8ba7fca2a8b3f2f94add72b94fd88b91f6e8a7cab1734624d67e3be1b5af25e432b5078d0128f0082bbe730aaf5c87325118451f42a1776cd8c
|
7
|
+
data.tar.gz: e8ca22193f920e0bb06f2a10162d53be4c8f87e30d586d165004d137270c2195b0160fc3464ed9bcda7e3f58d2878e94d9ab212f8e0a94cc6d29b76e40f16ec7
|
data/lib/fibre/fiber_pool.rb
CHANGED
@@ -68,11 +68,15 @@ module Fibre
|
|
68
68
|
before!(spec)
|
69
69
|
spec[:block].call# *Fiber.current.args
|
70
70
|
after!(spec)
|
71
|
+
# catch ArgumentError, IOError, EOFError, IndexError, LocalJumpError, NameError, NoMethodError
|
72
|
+
# RangeError, FloatDomainError, RegexpError, RuntimeError, SecurityError, SystemCallError
|
73
|
+
# SystemStackError, ThreadError, TypeError, ZeroDivisionError
|
71
74
|
rescue StandardError => e
|
72
75
|
raise e if error.empty?
|
73
76
|
error!(e)
|
77
|
+
# catch NoMemoryError, ScriptError, SignalException, SystemExit, fatal etc
|
74
78
|
rescue Exception => e
|
75
|
-
raise e
|
79
|
+
raise e
|
76
80
|
end
|
77
81
|
|
78
82
|
unless @queue.empty?
|
data/lib/fibre/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fibre
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- che
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|