abrt 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/abrt/exception.rb +1 -1
- data/lib/abrt/handler.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 718cdeb756c2111909595334d460c9bc4e9735f3
|
4
|
+
data.tar.gz: 2efc40f20b06c9a677339ccbe6362cd51a8ce093
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d277bddc854eda8f1d5cf4fd22ecf2a3c217ebe4914f8acb888fdb18b98ea1ada0daa4b9d214106555cfe27cab90967135d81552d9fc86878fd52578e39c73da
|
7
|
+
data.tar.gz: e5af2e566ca1a567b42bfb4c5f62c14d34a952ac924b882e961cd783513a1e7f76dc7a3e0c50b5fa85a18af8ba30b4d5c72298e7f2e704949288179dba6cd988
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/abrt/exception.rb
CHANGED
@@ -13,7 +13,7 @@ module ABRT
|
|
13
13
|
# Obtains executable name from backtrace. This should be more reliable then
|
14
14
|
# use of $0 aka $PROGRAM_NAME.
|
15
15
|
def executable
|
16
|
-
backtrace.last[/(.*?):/, 1]
|
16
|
+
backtrace && backtrace.last && backtrace.last[/(.*?):/, 1] || $PROGRAM_NAME
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
data/lib/abrt/handler.rb
CHANGED
@@ -10,7 +10,7 @@ module ABRT
|
|
10
10
|
syslog.notice "detected unhandled Ruby exception in '#{exception.executable}'"
|
11
11
|
|
12
12
|
# Report only scripts with absolute path.
|
13
|
-
write_dump(exception) if exception.
|
13
|
+
write_dump(exception) if exception.executable[0] == '/'
|
14
14
|
end
|
15
15
|
|
16
16
|
private
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: abrt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vít Ondruch
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
YpMJ590rUNfDhbfYuAY0l6VDmajngEKkdxCEP0v6KBQeOmH3/+oOxcSVnc3NAp2J
|
31
31
|
eE+DjyUv9Cq0yBFpfdrGk1fHwX/dtWcFrsKNxw==
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
33
|
+
date: 2015-05-04 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: rspec
|
metadata.gz.sig
CHANGED
Binary file
|