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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27ce6b831695ce18666e307912f64e85e1ca3b79
4
- data.tar.gz: eafa14e6de6dcfc9802761eef507cad64cf3a083
3
+ metadata.gz: 718cdeb756c2111909595334d460c9bc4e9735f3
4
+ data.tar.gz: 2efc40f20b06c9a677339ccbe6362cd51a8ce093
5
5
  SHA512:
6
- metadata.gz: 426344a560056aa3762c1a9f7bbb3cf507cab11cc8fd1233cf8f3a87ae5f0030f2c418e0d17bffc1e154fcb13dfca9061a7aaaeb58739ed91d58d2ce50083765
7
- data.tar.gz: f9a776154bdc5b9ad8c75cc32419156a73e40f46dd9173d1e05bb4d8f7dbed4322dd213666bbaf56ab86f7052f5348fd2cd8fbba2822d6722712b20d358e6654
6
+ metadata.gz: d277bddc854eda8f1d5cf4fd22ecf2a3c217ebe4914f8acb888fdb18b98ea1ada0daa4b9d214106555cfe27cab90967135d81552d9fc86878fd52578e39c73da
7
+ data.tar.gz: e5af2e566ca1a567b42bfb4c5f62c14d34a952ac924b882e961cd783513a1e7f76dc7a3e0c50b5fa85a18af8ba30b4d5c72298e7f2e704949288179dba6cd988
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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
@@ -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.backtrace.last[0] == '/'
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.0
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: 2014-12-04 00:00:00.000000000 Z
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