abrt 0.1.1 → 0.2.0
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/config/ruby_event.conf +4 -0
- data/lib/abrt.rb +2 -1
- data/lib/abrt/handler.rb +2 -2
- metadata +20 -20
- 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: 2501d89f6c16702849722f9196ba462078236d6e
|
4
|
+
data.tar.gz: 3231f8e7e9838bad4e51e27d9a99c857428da743
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f345989e917f250d9ef53d6f97903b63279f5e94c2c81438bea1e3e61ad4a1f55a4619f4019daa524d325ab67389e4485e838b248282b4f82c016952964f6ce4
|
7
|
+
data.tar.gz: 1c1defa71c263ac7ddf4c30b6645ee084c95c63b31ee2cd570f71a5b1ceead03e4e11abb3a3f6425343da8e531d8c77840e8c0b24721270caf15a9f284979d38
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/config/ruby_event.conf
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
EVENT=post-create analyzer=Ruby
|
2
2
|
abrt-action-analyze-python
|
3
3
|
|
4
|
+
# Send micro report
|
5
|
+
EVENT=report_uReport analyzer=Ruby
|
6
|
+
/usr/libexec/abrt-action-ureport
|
7
|
+
|
4
8
|
EVENT=report_Bugzilla analyzer=Ruby
|
5
9
|
test -f component || abrt-action-save-package-data
|
6
10
|
reporter-bugzilla -b -c /etc/libreport/plugins/bugzilla.conf
|
data/lib/abrt.rb
CHANGED
@@ -1,9 +1,10 @@
|
|
1
|
+
|
1
2
|
at_exit do
|
2
3
|
# Do not report every exception:
|
3
4
|
# SystemExit - raised by Kernel#exit call
|
4
5
|
# Interrupt - typically issued because the user pressed Ctrl+C
|
5
6
|
if $! and ![SystemExit, Interrupt].include?($!.class)
|
6
|
-
require 'abrt/handler'
|
7
|
+
require File.join(File.dirname(__FILE__), 'abrt/handler')
|
7
8
|
ABRT.handle_exception($!)
|
8
9
|
end
|
9
10
|
end
|
data/lib/abrt/handler.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'socket'
|
2
2
|
require 'syslog'
|
3
|
-
require '
|
3
|
+
require File.join(File.dirname(__FILE__), 'exception')
|
4
4
|
|
5
5
|
module ABRT
|
6
6
|
|
@@ -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.executable[0] == '/'
|
13
|
+
write_dump(exception) if exception.executable[0, 1] == '/'
|
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.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vít Ondruch
|
@@ -12,25 +12,25 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMRIwEAYDVQQDDAl2Lm9u
|
14
14
|
ZHJ1Y2gxFzAVBgoJkiaJk/IsZAEZFgd0aXNjYWxpMRIwEAYKCZImiZPyLGQBGRYC
|
15
|
-
|
15
|
+
Y3owHhcNMTcwMjAyMTUwOTIwWhcNMTgwMjAyMTUwOTIwWjBBMRIwEAYDVQQDDAl2
|
16
16
|
Lm9uZHJ1Y2gxFzAVBgoJkiaJk/IsZAEZFgd0aXNjYWxpMRIwEAYKCZImiZPyLGQB
|
17
|
-
|
18
|
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30
|
+
/3+Ao9z7CP1Hnzxdm6toBJpsPuFIpq8i5mGbipuCZwHVko8ubeWfv52hre5YhSrU
|
31
|
+
bcjJ746afvaBadn04rkcQddejjrOBBjLmPEEuw==
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
33
|
+
date: 2017-02-02 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: rspec
|
@@ -38,14 +38,14 @@ dependencies:
|
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '3.5'
|
42
42
|
type: :development
|
43
43
|
prerelease: false
|
44
44
|
version_requirements: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
48
|
+
version: '3.5'
|
49
49
|
description: Provides ABRT reporting support for libraries/applications written using
|
50
50
|
Ruby.
|
51
51
|
email: v.ondruch@tiscali.cz
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project:
|
85
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.5.2
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: ABRT support for Ruby.
|
metadata.gz.sig
CHANGED
Binary file
|