honeybadger 1.8.1 → 1.9.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +14 -0
- data/Gemfile.lock +61 -19
- data/Guardfile +4 -4
- data/MIT-LICENSE +1 -0
- data/README.md +2 -2
- data/Rakefile +4 -14
- data/features/rails.feature +1 -1
- data/gemfiles/rack.gemfile.lock +62 -27
- data/gemfiles/rails2.3.gemfile.lock +73 -36
- data/gemfiles/rails3.0.gemfile.lock +59 -26
- data/gemfiles/rails3.1.gemfile.lock +59 -26
- data/gemfiles/rails3.2.gemfile.lock +63 -30
- data/gemfiles/rails4.gemfile.lock +69 -36
- data/gemfiles/rake.gemfile.lock +62 -27
- data/gemfiles/sinatra.gemfile.lock +62 -27
- data/honeybadger.gemspec +31 -17
- data/lib/honeybadger.rb +2 -3
- data/lib/honeybadger/array.rb +53 -0
- data/lib/honeybadger/configuration.rb +19 -2
- data/lib/honeybadger/monitor.rb +16 -0
- data/lib/honeybadger/monitor/railtie.rb +52 -0
- data/lib/honeybadger/monitor/sender.rb +33 -0
- data/lib/honeybadger/monitor/worker.rb +71 -0
- data/lib/honeybadger/railtie.rb +10 -0
- data/lib/honeybadger/sender.rb +60 -41
- data/{test/unit/backtrace_test.rb → spec/honeybadger/backtrace_spec.rb} +69 -71
- data/{test/unit/capistrano_test.rb → spec/honeybadger/capistrano_spec.rb} +8 -9
- data/{test/unit/configuration_test.rb → spec/honeybadger/configuration_spec.rb} +85 -59
- data/spec/honeybadger/logger_spec.rb +65 -0
- data/spec/honeybadger/monitor/worker_spec.rb +189 -0
- data/{test/unit/notice_test.rb → spec/honeybadger/notice_spec.rb} +169 -185
- data/spec/honeybadger/notifier_spec.rb +252 -0
- data/spec/honeybadger/rack_spec.rb +84 -0
- data/{test/unit/rails/action_controller_catcher_test.rb → spec/honeybadger/rails/action_controller_spec.rb} +65 -57
- data/{test/unit/rails_test.rb → spec/honeybadger/rails_spec.rb} +8 -8
- data/spec/honeybadger/sender_spec.rb +249 -0
- data/spec/honeybadger_tasks_spec.rb +165 -0
- data/spec/spec_helper.rb +18 -0
- data/spec/support/array_including.rb +31 -0
- data/spec/support/backtraced_exception.rb +9 -0
- data/spec/support/collected_sender.rb +12 -0
- data/spec/support/defines_constants.rb +18 -0
- data/{test/test_helper.rb → spec/support/helpers.rb} +8 -61
- metadata +93 -45
- data/test/unit/honeybadger_tasks_test.rb +0 -167
- data/test/unit/logger_test.rb +0 -74
- data/test/unit/notifier_test.rb +0 -265
- data/test/unit/rack_test.rb +0 -88
- data/test/unit/sender_test.rb +0 -290
@@ -1,7 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: /Users/josh/code/honeybadger-ruby
|
3
3
|
specs:
|
4
|
-
honeybadger (1.
|
4
|
+
honeybadger (1.9.0.beta1)
|
5
|
+
faraday
|
5
6
|
json
|
6
7
|
|
7
8
|
GEM
|
@@ -34,17 +35,15 @@ GEM
|
|
34
35
|
appraisal (0.5.2)
|
35
36
|
bundler
|
36
37
|
rake
|
37
|
-
arel (4.0.0
|
38
|
+
arel (4.0.0)
|
38
39
|
aruba (0.5.3)
|
39
40
|
childprocess (>= 0.3.6)
|
40
41
|
cucumber (>= 1.1.1)
|
41
42
|
rspec-expectations (>= 2.7.0)
|
42
|
-
atomic (1.
|
43
|
+
atomic (1.1.13)
|
43
44
|
better_errors (0.9.0)
|
44
45
|
coderay (>= 1.0.0)
|
45
46
|
erubis (>= 2.6.6)
|
46
|
-
bourne (1.4.0)
|
47
|
-
mocha (~> 0.13.2)
|
48
47
|
builder (3.1.4)
|
49
48
|
capistrano (2.15.4)
|
50
49
|
highline
|
@@ -60,33 +59,58 @@ GEM
|
|
60
59
|
diff-lcs (>= 1.1.3)
|
61
60
|
gherkin (~> 2.11.7)
|
62
61
|
multi_json (~> 1.3)
|
63
|
-
diff-lcs (1.
|
62
|
+
diff-lcs (1.2.4)
|
64
63
|
erubis (2.7.0)
|
65
64
|
fakeweb (1.3.0)
|
66
|
-
|
65
|
+
faraday (0.8.8)
|
66
|
+
multipart-post (~> 1.2.0)
|
67
|
+
ffi (1.9.0)
|
68
|
+
formatador (0.2.4)
|
69
|
+
fuubar (1.2.1)
|
70
|
+
rspec (~> 2.0)
|
71
|
+
rspec-instafail (~> 0.2.0)
|
72
|
+
ruby-progressbar (~> 1.0)
|
67
73
|
gherkin (2.11.8)
|
68
74
|
multi_json (~> 1.3)
|
75
|
+
growl (1.0.3)
|
76
|
+
guard (1.8.3)
|
77
|
+
formatador (>= 0.2.4)
|
78
|
+
listen (~> 1.3)
|
79
|
+
lumberjack (>= 1.0.2)
|
80
|
+
pry (>= 0.9.10)
|
81
|
+
thor (>= 0.14.6)
|
82
|
+
guard-rspec (3.0.2)
|
83
|
+
guard (>= 1.8)
|
84
|
+
rspec (~> 2.13)
|
69
85
|
highline (1.6.19)
|
70
86
|
hike (1.2.3)
|
71
|
-
i18n (0.6.
|
87
|
+
i18n (0.6.5)
|
72
88
|
json (1.8.0)
|
89
|
+
listen (1.3.1)
|
90
|
+
rb-fsevent (>= 0.9.3)
|
91
|
+
rb-inotify (>= 0.9)
|
92
|
+
rb-kqueue (>= 0.2)
|
93
|
+
lumberjack (1.0.4)
|
73
94
|
mail (2.5.4)
|
74
95
|
mime-types (~> 1.16)
|
75
96
|
treetop (~> 1.4.8)
|
76
|
-
|
77
|
-
mime-types (1.
|
78
|
-
minitest (4.
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
net-scp (1.1.1)
|
97
|
+
method_source (0.8.2)
|
98
|
+
mime-types (1.25)
|
99
|
+
minitest (4.7.5)
|
100
|
+
multi_json (1.8.1)
|
101
|
+
multipart-post (1.2.0)
|
102
|
+
net-scp (1.1.2)
|
83
103
|
net-ssh (>= 2.6.5)
|
84
104
|
net-sftp (2.1.2)
|
85
105
|
net-ssh (>= 2.6.5)
|
86
|
-
net-ssh (2.6.
|
106
|
+
net-ssh (2.6.8)
|
87
107
|
net-ssh-gateway (1.2.0)
|
88
108
|
net-ssh (>= 2.6.5)
|
89
109
|
polyglot (0.3.3)
|
110
|
+
pry (0.9.12.2)
|
111
|
+
coderay (~> 1.0.5)
|
112
|
+
method_source (~> 0.8)
|
113
|
+
slop (~> 3.4)
|
90
114
|
rack (1.5.2)
|
91
115
|
rack-protection (1.5.0)
|
92
116
|
rack
|
@@ -106,38 +130,45 @@ GEM
|
|
106
130
|
rake (>= 0.8.7)
|
107
131
|
rdoc (~> 3.4)
|
108
132
|
thor (>= 0.17.0, < 2.0)
|
109
|
-
rake (10.0
|
133
|
+
rake (10.1.0)
|
134
|
+
rb-fsevent (0.9.3)
|
135
|
+
rb-inotify (0.9.2)
|
136
|
+
ffi (>= 0.5.0)
|
137
|
+
rb-kqueue (0.2.0)
|
138
|
+
ffi (>= 0.5.0)
|
110
139
|
rdoc (3.12.2)
|
111
140
|
json (~> 1.4)
|
112
|
-
rspec (2.
|
113
|
-
rspec-core (~> 2.
|
114
|
-
rspec-expectations (~> 2.
|
115
|
-
rspec-mocks (~> 2.
|
116
|
-
rspec-core (2.
|
117
|
-
rspec-expectations (2.
|
118
|
-
diff-lcs (
|
119
|
-
rspec-
|
141
|
+
rspec (2.14.1)
|
142
|
+
rspec-core (~> 2.14.0)
|
143
|
+
rspec-expectations (~> 2.14.0)
|
144
|
+
rspec-mocks (~> 2.14.0)
|
145
|
+
rspec-core (2.14.5)
|
146
|
+
rspec-expectations (2.14.2)
|
147
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
148
|
+
rspec-instafail (0.2.4)
|
149
|
+
rspec-mocks (2.14.3)
|
150
|
+
ruby-progressbar (1.2.0)
|
120
151
|
sham_rack (1.3.6)
|
121
152
|
rack
|
122
|
-
|
123
|
-
sinatra (1.3.5)
|
153
|
+
sinatra (1.4.3)
|
124
154
|
rack (~> 1.4)
|
125
|
-
rack-protection (~> 1.
|
126
|
-
tilt (~> 1.3, >= 1.3.
|
127
|
-
|
155
|
+
rack-protection (~> 1.4)
|
156
|
+
tilt (~> 1.3, >= 1.3.4)
|
157
|
+
slop (3.4.6)
|
158
|
+
sprockets (2.10.0)
|
128
159
|
hike (~> 1.2)
|
129
160
|
multi_json (~> 1.0)
|
130
161
|
rack (~> 1.0)
|
131
162
|
tilt (~> 1.1, != 1.3.0)
|
132
|
-
sprockets-rails (2.0.0
|
163
|
+
sprockets-rails (2.0.0)
|
133
164
|
actionpack (>= 3.0)
|
134
165
|
activesupport (>= 3.0)
|
135
166
|
sprockets (~> 2.8)
|
136
167
|
thor (0.18.1)
|
137
|
-
thread_safe (0.1.
|
168
|
+
thread_safe (0.1.3)
|
138
169
|
atomic
|
139
170
|
tilt (1.4.1)
|
140
|
-
treetop (1.4.
|
171
|
+
treetop (1.4.15)
|
141
172
|
polyglot
|
142
173
|
polyglot (>= 0.3.1)
|
143
174
|
tzinfo (0.3.37)
|
@@ -149,14 +180,16 @@ DEPENDENCIES
|
|
149
180
|
appraisal
|
150
181
|
aruba
|
151
182
|
better_errors
|
152
|
-
bourne (>= 1.0)
|
153
183
|
capistrano
|
154
184
|
cucumber (~> 1.2.1)
|
155
185
|
fakeweb (~> 1.3.0)
|
186
|
+
fuubar
|
187
|
+
growl
|
188
|
+
guard
|
189
|
+
guard-rspec
|
156
190
|
honeybadger!
|
157
191
|
rails (= 4.0.0.beta1)
|
158
192
|
rake
|
159
|
-
rspec (~> 2.
|
193
|
+
rspec (~> 2.14.0)
|
160
194
|
sham_rack (~> 1.3.0)
|
161
|
-
shoulda (~> 2.11.3)
|
162
195
|
sinatra
|
data/gemfiles/rake.gemfile.lock
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: /Users/josh/code/honeybadger-ruby
|
3
3
|
specs:
|
4
|
-
honeybadger (1.
|
4
|
+
honeybadger (1.9.0.beta1)
|
5
|
+
faraday
|
5
6
|
json
|
6
7
|
|
7
8
|
GEM
|
@@ -14,8 +15,6 @@ GEM
|
|
14
15
|
childprocess (>= 0.3.6)
|
15
16
|
cucumber (>= 1.1.1)
|
16
17
|
rspec-expectations (>= 2.7.0)
|
17
|
-
bourne (1.4.0)
|
18
|
-
mocha (~> 0.13.2)
|
19
18
|
builder (3.1.4)
|
20
19
|
capistrano (2.15.4)
|
21
20
|
highline
|
@@ -25,48 +24,82 @@ GEM
|
|
25
24
|
net-ssh-gateway (>= 1.1.0)
|
26
25
|
childprocess (0.3.9)
|
27
26
|
ffi (~> 1.0, >= 1.0.11)
|
27
|
+
coderay (1.0.9)
|
28
28
|
cucumber (1.2.5)
|
29
29
|
builder (>= 2.1.2)
|
30
30
|
diff-lcs (>= 1.1.3)
|
31
31
|
gherkin (~> 2.11.7)
|
32
32
|
multi_json (~> 1.3)
|
33
|
-
diff-lcs (1.
|
33
|
+
diff-lcs (1.2.4)
|
34
34
|
fakeweb (1.3.0)
|
35
|
-
|
35
|
+
faraday (0.8.8)
|
36
|
+
multipart-post (~> 1.2.0)
|
37
|
+
ffi (1.9.0)
|
38
|
+
formatador (0.2.4)
|
39
|
+
fuubar (1.2.1)
|
40
|
+
rspec (~> 2.0)
|
41
|
+
rspec-instafail (~> 0.2.0)
|
42
|
+
ruby-progressbar (~> 1.0)
|
36
43
|
gherkin (2.11.8)
|
37
44
|
multi_json (~> 1.3)
|
45
|
+
growl (1.0.3)
|
46
|
+
guard (1.8.3)
|
47
|
+
formatador (>= 0.2.4)
|
48
|
+
listen (~> 1.3)
|
49
|
+
lumberjack (>= 1.0.2)
|
50
|
+
pry (>= 0.9.10)
|
51
|
+
thor (>= 0.14.6)
|
52
|
+
guard-rspec (3.0.2)
|
53
|
+
guard (>= 1.8)
|
54
|
+
rspec (~> 2.13)
|
38
55
|
highline (1.6.19)
|
39
56
|
json (1.8.0)
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
57
|
+
listen (1.3.1)
|
58
|
+
rb-fsevent (>= 0.9.3)
|
59
|
+
rb-inotify (>= 0.9)
|
60
|
+
rb-kqueue (>= 0.2)
|
61
|
+
lumberjack (1.0.4)
|
62
|
+
method_source (0.8.2)
|
63
|
+
multi_json (1.8.1)
|
64
|
+
multipart-post (1.2.0)
|
65
|
+
net-scp (1.1.2)
|
45
66
|
net-ssh (>= 2.6.5)
|
46
67
|
net-sftp (2.1.2)
|
47
68
|
net-ssh (>= 2.6.5)
|
48
|
-
net-ssh (2.6.
|
69
|
+
net-ssh (2.6.8)
|
49
70
|
net-ssh-gateway (1.2.0)
|
50
71
|
net-ssh (>= 2.6.5)
|
72
|
+
pry (0.9.12.2)
|
73
|
+
coderay (~> 1.0.5)
|
74
|
+
method_source (~> 0.8)
|
75
|
+
slop (~> 3.4)
|
51
76
|
rack (1.5.2)
|
52
77
|
rack-protection (1.5.0)
|
53
78
|
rack
|
54
|
-
rake (10.0
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
rspec
|
61
|
-
|
62
|
-
|
79
|
+
rake (10.1.0)
|
80
|
+
rb-fsevent (0.9.3)
|
81
|
+
rb-inotify (0.9.2)
|
82
|
+
ffi (>= 0.5.0)
|
83
|
+
rb-kqueue (0.2.0)
|
84
|
+
ffi (>= 0.5.0)
|
85
|
+
rspec (2.14.1)
|
86
|
+
rspec-core (~> 2.14.0)
|
87
|
+
rspec-expectations (~> 2.14.0)
|
88
|
+
rspec-mocks (~> 2.14.0)
|
89
|
+
rspec-core (2.14.5)
|
90
|
+
rspec-expectations (2.14.2)
|
91
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
92
|
+
rspec-instafail (0.2.4)
|
93
|
+
rspec-mocks (2.14.3)
|
94
|
+
ruby-progressbar (1.2.0)
|
63
95
|
sham_rack (1.3.6)
|
64
96
|
rack
|
65
|
-
|
66
|
-
sinatra (1.3.5)
|
97
|
+
sinatra (1.4.3)
|
67
98
|
rack (~> 1.4)
|
68
|
-
rack-protection (~> 1.
|
69
|
-
tilt (~> 1.3, >= 1.3.
|
99
|
+
rack-protection (~> 1.4)
|
100
|
+
tilt (~> 1.3, >= 1.3.4)
|
101
|
+
slop (3.4.6)
|
102
|
+
thor (0.18.1)
|
70
103
|
tilt (1.4.1)
|
71
104
|
|
72
105
|
PLATFORMS
|
@@ -75,13 +108,15 @@ PLATFORMS
|
|
75
108
|
DEPENDENCIES
|
76
109
|
appraisal
|
77
110
|
aruba
|
78
|
-
bourne (>= 1.0)
|
79
111
|
capistrano
|
80
112
|
cucumber (~> 1.2.1)
|
81
113
|
fakeweb (~> 1.3.0)
|
114
|
+
fuubar
|
115
|
+
growl
|
116
|
+
guard
|
117
|
+
guard-rspec
|
82
118
|
honeybadger!
|
83
119
|
rake
|
84
|
-
rspec (~> 2.
|
120
|
+
rspec (~> 2.14.0)
|
85
121
|
sham_rack (~> 1.3.0)
|
86
|
-
shoulda (~> 2.11.3)
|
87
122
|
sinatra
|
@@ -1,7 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: /Users/josh/code/honeybadger-ruby
|
3
3
|
specs:
|
4
|
-
honeybadger (1.
|
4
|
+
honeybadger (1.9.0.beta1)
|
5
|
+
faraday
|
5
6
|
json
|
6
7
|
|
7
8
|
GEM
|
@@ -14,8 +15,6 @@ GEM
|
|
14
15
|
childprocess (>= 0.3.6)
|
15
16
|
cucumber (>= 1.1.1)
|
16
17
|
rspec-expectations (>= 2.7.0)
|
17
|
-
bourne (1.4.0)
|
18
|
-
mocha (~> 0.13.2)
|
19
18
|
builder (3.1.4)
|
20
19
|
capistrano (2.15.4)
|
21
20
|
highline
|
@@ -25,48 +24,82 @@ GEM
|
|
25
24
|
net-ssh-gateway (>= 1.1.0)
|
26
25
|
childprocess (0.3.9)
|
27
26
|
ffi (~> 1.0, >= 1.0.11)
|
27
|
+
coderay (1.0.9)
|
28
28
|
cucumber (1.2.5)
|
29
29
|
builder (>= 2.1.2)
|
30
30
|
diff-lcs (>= 1.1.3)
|
31
31
|
gherkin (~> 2.11.7)
|
32
32
|
multi_json (~> 1.3)
|
33
|
-
diff-lcs (1.
|
33
|
+
diff-lcs (1.2.4)
|
34
34
|
fakeweb (1.3.0)
|
35
|
-
|
35
|
+
faraday (0.8.8)
|
36
|
+
multipart-post (~> 1.2.0)
|
37
|
+
ffi (1.9.0)
|
38
|
+
formatador (0.2.4)
|
39
|
+
fuubar (1.2.1)
|
40
|
+
rspec (~> 2.0)
|
41
|
+
rspec-instafail (~> 0.2.0)
|
42
|
+
ruby-progressbar (~> 1.0)
|
36
43
|
gherkin (2.11.8)
|
37
44
|
multi_json (~> 1.3)
|
45
|
+
growl (1.0.3)
|
46
|
+
guard (1.8.3)
|
47
|
+
formatador (>= 0.2.4)
|
48
|
+
listen (~> 1.3)
|
49
|
+
lumberjack (>= 1.0.2)
|
50
|
+
pry (>= 0.9.10)
|
51
|
+
thor (>= 0.14.6)
|
52
|
+
guard-rspec (3.0.2)
|
53
|
+
guard (>= 1.8)
|
54
|
+
rspec (~> 2.13)
|
38
55
|
highline (1.6.19)
|
39
56
|
json (1.8.0)
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
57
|
+
listen (1.3.1)
|
58
|
+
rb-fsevent (>= 0.9.3)
|
59
|
+
rb-inotify (>= 0.9)
|
60
|
+
rb-kqueue (>= 0.2)
|
61
|
+
lumberjack (1.0.4)
|
62
|
+
method_source (0.8.2)
|
63
|
+
multi_json (1.8.1)
|
64
|
+
multipart-post (1.2.0)
|
65
|
+
net-scp (1.1.2)
|
45
66
|
net-ssh (>= 2.6.5)
|
46
67
|
net-sftp (2.1.2)
|
47
68
|
net-ssh (>= 2.6.5)
|
48
|
-
net-ssh (2.6.
|
69
|
+
net-ssh (2.6.8)
|
49
70
|
net-ssh-gateway (1.2.0)
|
50
71
|
net-ssh (>= 2.6.5)
|
72
|
+
pry (0.9.12.2)
|
73
|
+
coderay (~> 1.0.5)
|
74
|
+
method_source (~> 0.8)
|
75
|
+
slop (~> 3.4)
|
51
76
|
rack (1.5.2)
|
52
77
|
rack-protection (1.5.0)
|
53
78
|
rack
|
54
|
-
rake (10.0
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
rspec
|
61
|
-
|
62
|
-
|
79
|
+
rake (10.1.0)
|
80
|
+
rb-fsevent (0.9.3)
|
81
|
+
rb-inotify (0.9.2)
|
82
|
+
ffi (>= 0.5.0)
|
83
|
+
rb-kqueue (0.2.0)
|
84
|
+
ffi (>= 0.5.0)
|
85
|
+
rspec (2.14.1)
|
86
|
+
rspec-core (~> 2.14.0)
|
87
|
+
rspec-expectations (~> 2.14.0)
|
88
|
+
rspec-mocks (~> 2.14.0)
|
89
|
+
rspec-core (2.14.5)
|
90
|
+
rspec-expectations (2.14.2)
|
91
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
92
|
+
rspec-instafail (0.2.4)
|
93
|
+
rspec-mocks (2.14.3)
|
94
|
+
ruby-progressbar (1.2.0)
|
63
95
|
sham_rack (1.3.6)
|
64
96
|
rack
|
65
|
-
|
66
|
-
sinatra (1.3.5)
|
97
|
+
sinatra (1.4.3)
|
67
98
|
rack (~> 1.4)
|
68
|
-
rack-protection (~> 1.
|
69
|
-
tilt (~> 1.3, >= 1.3.
|
99
|
+
rack-protection (~> 1.4)
|
100
|
+
tilt (~> 1.3, >= 1.3.4)
|
101
|
+
slop (3.4.6)
|
102
|
+
thor (0.18.1)
|
70
103
|
tilt (1.4.1)
|
71
104
|
|
72
105
|
PLATFORMS
|
@@ -75,13 +108,15 @@ PLATFORMS
|
|
75
108
|
DEPENDENCIES
|
76
109
|
appraisal
|
77
110
|
aruba
|
78
|
-
bourne (>= 1.0)
|
79
111
|
capistrano
|
80
112
|
cucumber (~> 1.2.1)
|
81
113
|
fakeweb (~> 1.3.0)
|
114
|
+
fuubar
|
115
|
+
growl
|
116
|
+
guard
|
117
|
+
guard-rspec
|
82
118
|
honeybadger!
|
83
119
|
rake
|
84
|
-
rspec (~> 2.
|
120
|
+
rspec (~> 2.14.0)
|
85
121
|
sham_rack (~> 1.3.0)
|
86
|
-
shoulda (~> 2.11.3)
|
87
122
|
sinatra
|