redmine_airbrake_backend 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d8491f61028050f6bddc8ab2a4f1b058ac0345a6
4
+ data.tar.gz: 3be0314d2231897aeb5822f2ce244852ae19d98e
5
+ SHA512:
6
+ metadata.gz: 6b69fa46ffcc8ed4eb860d4cff31542d707797c0dbd253709799ab5ea15dcfa2784656099feb17997058e4459bbcc549ca67ea4999f560c7e514cd70e52187b9
7
+ data.tar.gz: e2f410b9e81b87c6f8885684439e863647952dfa0ee158513c412c61d7bbb57ef3e9ee99b69699a4961bedf374648e09a2222917aa0e037c48544c1ad16035e7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- redmine_airbrake_backend (0.2.3)
4
+ redmine_airbrake_backend (0.2.4)
5
5
  hpricot
6
6
  htmlentities
7
7
  rails
@@ -34,7 +34,7 @@ GEM
34
34
  thread_safe (~> 0.1)
35
35
  tzinfo (~> 0.3.37)
36
36
  arel (4.0.0)
37
- atomic (1.1.10)
37
+ atomic (1.1.12)
38
38
  builder (3.1.4)
39
39
  erubis (2.7.0)
40
40
  hike (1.2.3)
@@ -46,7 +46,7 @@ GEM
46
46
  treetop (~> 1.4.8)
47
47
  mime-types (1.23)
48
48
  minitest (4.7.5)
49
- multi_json (1.7.7)
49
+ multi_json (1.7.8)
50
50
  polyglot (0.3.3)
51
51
  rack (1.5.2)
52
52
  rack-test (0.6.2)
@@ -116,8 +116,12 @@ class AirbrakeController < ::ApplicationController
116
116
  end
117
117
 
118
118
  def normalized_backtrace
119
- @notice.error[:backtrace].collect do |e|
120
- "#{e[:file]}|#{e[:method].gsub(/_\d+_/, '')}|#{e[:number]}"
119
+ if @notice.error.present? && @notice.error[:backtrace].present?
120
+ @notice.error[:backtrace].collect do |e|
121
+ "#{e[:file]}|#{e[:method].gsub(/_\d+_/, '')}|#{e[:number]}" rescue nil
122
+ end.compact
123
+ else
124
+ []
121
125
  end
122
126
  end
123
127
 
@@ -1,3 +1,3 @@
1
1
  module RedmineAirbrakeBackend
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
metadata CHANGED
@@ -1,68 +1,60 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redmine_airbrake_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
5
- prerelease:
4
+ version: 0.2.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Florian Schwab
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-08-02 00:00:00.000000000 Z
11
+ date: 2013-08-05 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: hpricot
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: htmlentities
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: bundler
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - ~>
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - ~>
76
67
  - !ruby/object:Gem::Version
@@ -78,17 +69,15 @@ dependencies:
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: rake
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  description: Plugin which adds Airbrake support to Redmine
@@ -125,32 +114,25 @@ files:
125
114
  homepage: https://github.com/ydkn/redmine_airbrake_backend
126
115
  licenses:
127
116
  - MIT
117
+ metadata: {}
128
118
  post_install_message:
129
119
  rdoc_options: []
130
120
  require_paths:
131
121
  - lib
132
122
  required_ruby_version: !ruby/object:Gem::Requirement
133
- none: false
134
123
  requirements:
135
- - - ! '>='
124
+ - - '>='
136
125
  - !ruby/object:Gem::Version
137
126
  version: '0'
138
- segments:
139
- - 0
140
- hash: -1412076873700214175
141
127
  required_rubygems_version: !ruby/object:Gem::Requirement
142
- none: false
143
128
  requirements:
144
- - - ! '>='
129
+ - - '>='
145
130
  - !ruby/object:Gem::Version
146
131
  version: '0'
147
- segments:
148
- - 0
149
- hash: -1412076873700214175
150
132
  requirements: []
151
133
  rubyforge_project:
152
- rubygems_version: 1.8.25
134
+ rubygems_version: 2.0.3
153
135
  signing_key:
154
- specification_version: 3
136
+ specification_version: 4
155
137
  summary: This plugin provides the necessary API to use Redmine as a Airbrake backend
156
138
  test_files: []