abrt 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/abrt.rb +5 -3
- data/lib/abrt/handler.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5e28662ce14404d6c25ab366533c9fb61c304c7ec08d1a5b66daa6c8bc2cad2d
|
4
|
+
data.tar.gz: 633c0790c3b560d3b895f529a8f3a2ea4626282d35f397c2431dcaa54e510d3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b016f9f38adf537b4c00ff3971ff7a1874e354b8b89a17cbb6f7240aa1dd4760c0d80f2e47ce9d4d991c48e101ae9bce09107b0f83fb64e1183ca8a69fea9119
|
7
|
+
data.tar.gz: ce58173fe5230c3ffeccb5dee1a79197620b0c65a538825cfe2b2e9ce55512b1dce43879ef7a0570c3a734aea5548dfc9f509aef8878492c14f8d25bfe3df782
|
data/lib/abrt.rb
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
at_exit do
|
2
|
+
exception = $!
|
3
|
+
|
2
4
|
# Do not report every exception:
|
3
5
|
# SystemExit - raised by Kernel#exit call
|
4
6
|
# Interrupt - typically issued because the user pressed Ctrl+C
|
5
|
-
if
|
6
|
-
|
7
|
-
ABRT.handle_exception(
|
7
|
+
if exception and ![SystemExit, Interrupt].include?(exception.class)
|
8
|
+
require_relative 'abrt/handler'
|
9
|
+
ABRT.handle_exception(exception)
|
8
10
|
end
|
9
11
|
end
|
10
12
|
|
data/lib/abrt/handler.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: abrt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vít Ondruch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -59,8 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '0'
|
61
61
|
requirements: []
|
62
|
-
|
63
|
-
rubygems_version: 2.6.10
|
62
|
+
rubygems_version: 3.1.2
|
64
63
|
signing_key:
|
65
64
|
specification_version: 4
|
66
65
|
summary: ABRT support for Ruby.
|