abrt 0.0.6 → 0.1.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/lib/abrt/handler.rb +5 -5
- metadata +28 -27
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27ce6b831695ce18666e307912f64e85e1ca3b79
|
4
|
+
data.tar.gz: eafa14e6de6dcfc9802761eef507cad64cf3a083
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 426344a560056aa3762c1a9f7bbb3cf507cab11cc8fd1233cf8f3a87ae5f0030f2c418e0d17bffc1e154fcb13dfca9061a7aaaeb58739ed91d58d2ce50083765
|
7
|
+
data.tar.gz: f9a776154bdc5b9ad8c75cc32419156a73e40f46dd9173d1e05bb4d8f7dbed4322dd213666bbaf56ab86f7052f5348fd2cd8fbba2822d6722712b20d358e6654
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/abrt/handler.rb
CHANGED
@@ -22,19 +22,19 @@ private
|
|
22
22
|
def self.report(exception, io = abrt_socket)
|
23
23
|
io.write "PUT / HTTP/1.1\r\n\r\n"
|
24
24
|
io.write "PID=#{Process.pid}\0"
|
25
|
-
io.write "EXECUTABLE=#{exception.executable}\0"
|
25
|
+
io.write "EXECUTABLE=#{exception.executable.gsub(/\u0000/, '')}\0"
|
26
26
|
io.write "ANALYZER=Ruby\0"
|
27
27
|
io.write "TYPE=Ruby\0"
|
28
28
|
io.write "BASENAME=rbhook\0"
|
29
|
-
io.write "REASON=#{exception.format.first}\0"
|
30
|
-
io.write "BACKTRACE=#{exception.format.join("\n")}\0"
|
29
|
+
io.write "REASON=#{exception.format.first.gsub(/\u0000/, '')}\0"
|
30
|
+
io.write "BACKTRACE=#{exception.format.join("\n").gsub(/\u0000/, '')}\0"
|
31
31
|
io.close_write
|
32
32
|
|
33
33
|
yield io.read
|
34
34
|
|
35
35
|
io.close
|
36
36
|
rescue StandardError => e
|
37
|
-
syslog.err "can't communicate with ABRT daemon, is it running? #{e.message}"
|
37
|
+
syslog.err "%s", "can't communicate with ABRT daemon, is it running? #{e.message}"
|
38
38
|
end
|
39
39
|
|
40
40
|
def self.write_dump(exception)
|
@@ -49,7 +49,7 @@ private
|
|
49
49
|
(not code) or
|
50
50
|
(code >= 400)
|
51
51
|
then
|
52
|
-
syslog.err "error sending data to ABRT daemon: #{response}"
|
52
|
+
syslog.err "%s", "error sending data to ABRT daemon: #{response}"
|
53
53
|
end
|
54
54
|
end
|
55
55
|
end
|
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.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vít Ondruch
|
@@ -10,39 +10,40 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
13
|
+
MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMRIwEAYDVQQDDAl2Lm9u
|
14
|
+
ZHJ1Y2gxFzAVBgoJkiaJk/IsZAEZFgd0aXNjYWxpMRIwEAYKCZImiZPyLGQBGRYC
|
15
|
+
Y3owHhcNMTQxMjA0MTMyNDA3WhcNMTUxMjA0MTMyNDA3WjBBMRIwEAYDVQQDDAl2
|
16
|
+
L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eOmH3/+oOxcSVnc3NAp2J
|
31
|
+
eE+DjyUv9Cq0yBFpfdrGk1fHwX/dtWcFrsKNxw==
|
31
32
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
33
|
+
date: 2014-12-04 00:00:00.000000000 Z
|
33
34
|
dependencies:
|
34
35
|
- !ruby/object:Gem::Dependency
|
35
36
|
name: rspec
|
36
37
|
requirement: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
|
-
- - ~>
|
39
|
+
- - "~>"
|
39
40
|
- !ruby/object:Gem::Version
|
40
41
|
version: '2.8'
|
41
42
|
type: :development
|
42
43
|
prerelease: false
|
43
44
|
version_requirements: !ruby/object:Gem::Requirement
|
44
45
|
requirements:
|
45
|
-
- - ~>
|
46
|
+
- - "~>"
|
46
47
|
- !ruby/object:Gem::Version
|
47
48
|
version: '2.8'
|
48
49
|
description: Provides ABRT reporting support for libraries/applications written using
|
@@ -57,10 +58,10 @@ files:
|
|
57
58
|
- LICENSE.txt
|
58
59
|
- README.rdoc
|
59
60
|
- Rakefile
|
61
|
+
- config/ruby_event.conf
|
62
|
+
- lib/abrt.rb
|
60
63
|
- lib/abrt/exception.rb
|
61
64
|
- lib/abrt/handler.rb
|
62
|
-
- lib/abrt.rb
|
63
|
-
- config/ruby_event.conf
|
64
65
|
homepage: http://github.com/voxik/abrt-ruby
|
65
66
|
licenses:
|
66
67
|
- MIT
|
@@ -71,17 +72,17 @@ require_paths:
|
|
71
72
|
- lib
|
72
73
|
required_ruby_version: !ruby/object:Gem::Requirement
|
73
74
|
requirements:
|
74
|
-
- -
|
75
|
+
- - ">="
|
75
76
|
- !ruby/object:Gem::Version
|
76
77
|
version: '0'
|
77
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
79
|
requirements:
|
79
|
-
- -
|
80
|
+
- - ">="
|
80
81
|
- !ruby/object:Gem::Version
|
81
82
|
version: '0'
|
82
83
|
requirements: []
|
83
84
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.2.2
|
85
86
|
signing_key:
|
86
87
|
specification_version: 4
|
87
88
|
summary: ABRT support for Ruby.
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
�}�Ir���.⾵t��ʺ��^`��H���� ��$ΨTt�)�h���g���,OJ#Ϲ���lۈ<�D� ��+Vӕ�4�K�������:��N�
|
2
|
+
|