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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 13ff3e2233f47a63082a593fa039e19149f28590
4
- data.tar.gz: d2d91dd3125df0135297c3aa8fdfd594653f2bae
3
+ metadata.gz: 27ce6b831695ce18666e307912f64e85e1ca3b79
4
+ data.tar.gz: eafa14e6de6dcfc9802761eef507cad64cf3a083
5
5
  SHA512:
6
- metadata.gz: 7b99fe9b16f64e635150c456f4f3d98df5d74f1dc00cebfc7ab549521f07003cfb9b323f07bdb0d31809e03f60278470ea77185634240a2612a257d9919a12d4
7
- data.tar.gz: ce4338c29e926f3577f814e035238ea61d32acb0ea131ef1bab64763147ad3b390b00faf55d203cd2150d19f1cf94ca3200e5a476953f0717c1683548645fd13
6
+ metadata.gz: 426344a560056aa3762c1a9f7bbb3cf507cab11cc8fd1233cf8f3a87ae5f0030f2c418e0d17bffc1e154fcb13dfca9061a7aaaeb58739ed91d58d2ce50083765
7
+ data.tar.gz: f9a776154bdc5b9ad8c75cc32419156a73e40f46dd9173d1e05bb4d8f7dbed4322dd213666bbaf56ab86f7052f5348fd2cd8fbba2822d6722712b20d358e6654
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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.6
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
- MIIDNDCCAhygAwIBAgIBADANBgkqhkiG9w0BAQUFADBAMREwDwYDVQQDDAh2b25k
14
- cnVjaDEXMBUGCgmSJomT8ixkARkWB3Rpc2NhbGkxEjAQBgoJkiaJk/IsZAEZFgJj
15
- ejAeFw0xMzA1MDMxMzAxMTdaFw0xNDA1MDMxMzAxMTdaMEAxETAPBgNVBAMMCHZv
16
- bmRydWNoMRcwFQYKCZImiZPyLGQBGRYHdGlzY2FsaTESMBAGCgmSJomT8ixkARkW
17
- AmN6MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAncN0MmV/yPenbHDQ
18
- zdds08rxdMV+wxefWw5J0rJtHJ6K/YXyvaJIGUmhas5G1aMao06d3k2eo31ouv7l
19
- NJgwEpLgtkY2SymJlWJcnVW4nAALuAEMAqlXA4rMdr/AiWWfQio8SI+f5iAz4eeH
20
- FzSsWoGVApdW+KCPh3RrUeZdaKcXJvVBjOH39QSY0wZcnb2J60TphqgF7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C2RjZLKYmVYlydVbicAAu4AQwCqVcDisx2v8CJZZ9CKjxIj5/mIDPh
20
+ 54cXNKxagZUCl1b4oI+HdGtR5l1opxcm9UGM4ff1BJjTBlydvYnrROmGqAXuPHY5
21
+ +l9CsFwPwxQPTfE4VVcDUVmMQ/IORgocSVhx1mHxTZlEBweP4GJ59phAeDl4Vt8h
22
+ 2Zok26KN1rok3Jq+iSEw9DuJtoHqgNjGNPNtZOA9knAQOrnPidlibKdfDG53GBKW
23
+ ZIbhk+pfAgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
24
+ BBSVtjoVmQK/PkQOwue1qIXjLS7rjjAfBgNVHREEGDAWgRR2Lm9uZHJ1Y2hAdGlz
25
+ Y2FsaS5jejAfBgNVHRIEGDAWgRR2Lm9uZHJ1Y2hAdGlzY2FsaS5jejANBgkqhkiG
26
+ 9w0BAQUFAAOCAQEAewzbZ+U7K0HZKyezyny8txhuLL21JCT4Vv6NbHbmdtn+UXma
27
+ 0m24dKlBsYU6tzZA4J7By+ARGn6xTssv4LnL3a+Yl/S69oCyjmCaxmkRt+6LMaQo
28
+ V3UO37rdJCCowWcP1k7rU+KsT/2V3mhBliTjYHH/RyEeqlJ9/3JazlCdYbLWobqO
29
+ m3oVhvQvTkxDCHSsYga0FQt6a26k+fX65GAyjY/fJWmceetOyax4e+5xjZ9fKEik
30
+ YpMJ590rUNfDhbfYuAY0l6VDmajngEKkdxCEP0v6KBQeOmH3/+oOxcSVnc3NAp2J
31
+ eE+DjyUv9Cq0yBFpfdrGk1fHwX/dtWcFrsKNxw==
31
32
  -----END CERTIFICATE-----
32
- date: 2013-10-22 00:00:00.000000000 Z
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.0.12
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
- I�ୗ�~���l���-[+����[�:aBz2s}�Ey��2E �?��h�.h8Q��M��L��-�sB��r]�sL�����`�l>&�w_{B�t��~"\���%�� I"W����o`�7��yc��a}5�%̸�G_��Qn'N%SD 5;���Y���r|qٝ��ܡ� Q�/��
2
- �6 QIv8�|����1���b���(ڱb������[U��8幛+یJVb؍���1Q!�%�>�
1
+ �}�Ir���.⾵t��ʺ��^`��H���� ��$ ΨTt)�h���g���,OJ#Ϲ���lۈ<�D ��+Vӕ�4K�������:��N
2
+