honeybadger 1.11.2 → 1.12.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/Appraisals +56 -46
  3. data/CHANGELOG.md +33 -0
  4. data/Gemfile.lock +1 -1
  5. data/MIT-LICENSE +2 -1
  6. data/Rakefile +3 -1
  7. data/features/standalone.feature +73 -0
  8. data/features/step_definitions/rack_steps.rb +1 -2
  9. data/features/step_definitions/standalone_steps.rb +12 -0
  10. data/features/support/env.rb +2 -0
  11. data/gemfiles/binding_of_caller.gemfile +8 -0
  12. data/gemfiles/rails.gemfile +11 -0
  13. data/gemfiles/standalone.gemfile +7 -0
  14. data/honeybadger.gemspec +22 -11
  15. data/lib/honeybadger.rb +15 -9
  16. data/lib/honeybadger/configuration.rb +9 -4
  17. data/lib/honeybadger/dependency.rb +65 -0
  18. data/lib/honeybadger/exception_extensions.rb +35 -0
  19. data/lib/honeybadger/integrations.rb +4 -0
  20. data/lib/honeybadger/integrations/delayed_job.rb +20 -0
  21. data/lib/honeybadger/integrations/delayed_job/plugin.rb +31 -0
  22. data/lib/honeybadger/integrations/sidekiq.rb +34 -0
  23. data/lib/honeybadger/notice.rb +48 -11
  24. data/lib/honeybadger/payload.rb +29 -0
  25. data/lib/honeybadger/rack.rb +8 -54
  26. data/lib/honeybadger/rack/error_notifier.rb +60 -0
  27. data/lib/honeybadger/rack/user_feedback.rb +74 -0
  28. data/lib/honeybadger/rack/user_informer.rb +28 -0
  29. data/lib/honeybadger/rails.rb +5 -4
  30. data/lib/honeybadger/railtie.rb +4 -3
  31. data/lib/honeybadger/user_feedback.rb +3 -67
  32. data/lib/honeybadger/user_informer.rb +3 -21
  33. data/spec/honeybadger/configuration_spec.rb +5 -1
  34. data/spec/honeybadger/dependency_spec.rb +134 -0
  35. data/spec/honeybadger/exception_extensions_spec.rb +40 -0
  36. data/spec/honeybadger/integrations/delayed_job_spec.rb +48 -0
  37. data/spec/honeybadger/integrations/sidekiq_spec.rb +60 -0
  38. data/spec/honeybadger/notice_spec.rb +176 -35
  39. data/spec/honeybadger/payload_spec.rb +27 -0
  40. data/spec/honeybadger/rails_spec.rb +4 -2
  41. metadata +24 -13
  42. data/gemfiles/rack.gemfile.lock +0 -125
  43. data/gemfiles/rails2.3.gemfile.lock +0 -141
  44. data/gemfiles/rails3.0.gemfile.lock +0 -193
  45. data/gemfiles/rails3.1.gemfile.lock +0 -203
  46. data/gemfiles/rails3.2.gemfile.lock +0 -201
  47. data/gemfiles/rails4.0.gemfile.lock +0 -197
  48. data/gemfiles/rails4.1.gemfile.lock +0 -202
  49. data/gemfiles/rake.gemfile.lock +0 -124
  50. data/gemfiles/sinatra.gemfile.lock +0 -124
@@ -1,125 +0,0 @@
1
- PATH
2
- remote: /Users/josh/code/honeybadger-ruby
3
- specs:
4
- honeybadger (1.11.2)
5
- json
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- addressable (2.3.5)
11
- appraisal (0.5.2)
12
- bundler
13
- rake
14
- aruba (0.5.4)
15
- childprocess (>= 0.3.6)
16
- cucumber (>= 1.1.1)
17
- rspec-expectations (>= 2.7.0)
18
- builder (3.2.2)
19
- capistrano (2.15.5)
20
- highline
21
- net-scp (>= 1.0.0)
22
- net-sftp (>= 2.0.0)
23
- net-ssh (>= 2.0.14)
24
- net-ssh-gateway (>= 1.1.0)
25
- childprocess (0.4.0)
26
- ffi (~> 1.0, >= 1.0.11)
27
- coderay (1.1.0)
28
- crack (0.4.1)
29
- safe_yaml (~> 0.9.0)
30
- cucumber (1.3.10)
31
- builder (>= 2.1.2)
32
- diff-lcs (>= 1.1.3)
33
- gherkin (~> 2.12)
34
- multi_json (>= 1.7.5, < 2.0)
35
- multi_test (>= 0.0.2)
36
- diff-lcs (1.2.5)
37
- ffi (1.9.3)
38
- formatador (0.2.4)
39
- fuubar (1.3.2)
40
- rspec (>= 2.14.0, < 3.1.0)
41
- ruby-progressbar (~> 1.3)
42
- gherkin (2.12.2)
43
- multi_json (~> 1.3)
44
- growl (1.0.3)
45
- guard (1.8.3)
46
- formatador (>= 0.2.4)
47
- listen (~> 1.3)
48
- lumberjack (>= 1.0.2)
49
- pry (>= 0.9.10)
50
- thor (>= 0.14.6)
51
- guard-rspec (3.1.0)
52
- guard (>= 1.8)
53
- rspec (~> 2.13)
54
- highline (1.6.20)
55
- json (1.8.1)
56
- listen (1.3.1)
57
- rb-fsevent (>= 0.9.3)
58
- rb-inotify (>= 0.9)
59
- rb-kqueue (>= 0.2)
60
- lumberjack (1.0.4)
61
- method_source (0.8.2)
62
- multi_json (1.8.4)
63
- multi_test (0.0.3)
64
- net-scp (1.1.2)
65
- net-ssh (>= 2.6.5)
66
- net-sftp (2.1.2)
67
- net-ssh (>= 2.6.5)
68
- net-ssh (2.7.0)
69
- net-ssh-gateway (1.2.0)
70
- net-ssh (>= 2.6.5)
71
- pry (0.9.12.4)
72
- coderay (~> 1.0)
73
- method_source (~> 0.8)
74
- slop (~> 3.4)
75
- rack (1.5.2)
76
- rack-protection (1.5.2)
77
- rack
78
- rake (10.1.1)
79
- rb-fsevent (0.9.4)
80
- rb-inotify (0.9.3)
81
- ffi (>= 0.5.0)
82
- rb-kqueue (0.2.0)
83
- ffi (>= 0.5.0)
84
- rspec (2.14.1)
85
- rspec-core (~> 2.14.0)
86
- rspec-expectations (~> 2.14.0)
87
- rspec-mocks (~> 2.14.0)
88
- rspec-core (2.14.7)
89
- rspec-expectations (2.14.4)
90
- diff-lcs (>= 1.1.3, < 2.0)
91
- rspec-mocks (2.14.4)
92
- ruby-progressbar (1.4.0)
93
- safe_yaml (0.9.7)
94
- sham_rack (1.3.6)
95
- rack
96
- sinatra (1.4.4)
97
- rack (~> 1.4)
98
- rack-protection (~> 1.4)
99
- tilt (~> 1.3, >= 1.3.4)
100
- slop (3.4.7)
101
- thor (0.18.1)
102
- tilt (1.4.1)
103
- webmock (1.17.1)
104
- addressable (>= 2.2.7)
105
- crack (>= 0.3.2)
106
-
107
- PLATFORMS
108
- ruby
109
-
110
- DEPENDENCIES
111
- appraisal
112
- aruba
113
- capistrano (~> 2.0)
114
- cucumber (~> 1.3.10)
115
- fuubar
116
- growl
117
- guard (~> 1.8.3)
118
- guard-rspec
119
- honeybadger!
120
- rack
121
- rake
122
- rspec (~> 2.14.0)
123
- sham_rack (~> 1.3.0)
124
- sinatra
125
- webmock
@@ -1,141 +0,0 @@
1
- PATH
2
- remote: /Users/josh/code/honeybadger-ruby
3
- specs:
4
- honeybadger (1.11.2)
5
- json
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actionmailer (2.3.18)
11
- actionpack (= 2.3.18)
12
- actionpack (2.3.18)
13
- activesupport (= 2.3.18)
14
- rack (~> 1.1.0)
15
- activerecord (2.3.18)
16
- activesupport (= 2.3.18)
17
- activeresource (2.3.18)
18
- activesupport (= 2.3.18)
19
- activesupport (2.3.18)
20
- addressable (2.3.5)
21
- appraisal (0.5.2)
22
- bundler
23
- rake
24
- aruba (0.5.4)
25
- childprocess (>= 0.3.6)
26
- cucumber (>= 1.1.1)
27
- rspec-expectations (>= 2.7.0)
28
- backports (3.3.5)
29
- builder (3.2.2)
30
- capistrano (2.15.5)
31
- highline
32
- net-scp (>= 1.0.0)
33
- net-sftp (>= 2.0.0)
34
- net-ssh (>= 2.0.14)
35
- net-ssh-gateway (>= 1.1.0)
36
- childprocess (0.4.0)
37
- ffi (~> 1.0, >= 1.0.11)
38
- coderay (1.1.0)
39
- crack (0.4.1)
40
- safe_yaml (~> 0.9.0)
41
- cucumber (1.3.10)
42
- builder (>= 2.1.2)
43
- diff-lcs (>= 1.1.3)
44
- gherkin (~> 2.12)
45
- multi_json (>= 1.7.5, < 2.0)
46
- multi_test (>= 0.0.2)
47
- diff-lcs (1.2.5)
48
- ffi (1.9.3)
49
- formatador (0.2.4)
50
- fuubar (1.3.2)
51
- rspec (>= 2.14.0, < 3.1.0)
52
- ruby-progressbar (~> 1.3)
53
- gherkin (2.12.2)
54
- multi_json (~> 1.3)
55
- growl (1.0.3)
56
- guard (1.8.3)
57
- formatador (>= 0.2.4)
58
- listen (~> 1.3)
59
- lumberjack (>= 1.0.2)
60
- pry (>= 0.9.10)
61
- thor (>= 0.14.6)
62
- guard-rspec (3.1.0)
63
- guard (>= 1.8)
64
- rspec (~> 2.13)
65
- highline (1.6.20)
66
- json (1.8.1)
67
- listen (1.3.1)
68
- rb-fsevent (>= 0.9.3)
69
- rb-inotify (>= 0.9)
70
- rb-kqueue (>= 0.2)
71
- lumberjack (1.0.4)
72
- method_source (0.8.2)
73
- multi_json (1.8.4)
74
- multi_test (0.0.3)
75
- net-scp (1.1.2)
76
- net-ssh (>= 2.6.5)
77
- net-sftp (2.1.2)
78
- net-ssh (>= 2.6.5)
79
- net-ssh (2.7.0)
80
- net-ssh-gateway (1.2.0)
81
- net-ssh (>= 2.6.5)
82
- pry (0.9.12.4)
83
- coderay (~> 1.0)
84
- method_source (~> 0.8)
85
- slop (~> 3.4)
86
- rack (1.1.6)
87
- rails (2.3.18)
88
- actionmailer (= 2.3.18)
89
- actionpack (= 2.3.18)
90
- activerecord (= 2.3.18)
91
- activeresource (= 2.3.18)
92
- activesupport (= 2.3.18)
93
- rake (>= 0.8.3)
94
- rake (0.9.5)
95
- rb-fsevent (0.9.4)
96
- rb-inotify (0.9.3)
97
- ffi (>= 0.5.0)
98
- rb-kqueue (0.2.0)
99
- ffi (>= 0.5.0)
100
- rspec (2.14.1)
101
- rspec-core (~> 2.14.0)
102
- rspec-expectations (~> 2.14.0)
103
- rspec-mocks (~> 2.14.0)
104
- rspec-core (2.14.7)
105
- rspec-expectations (2.14.4)
106
- diff-lcs (>= 1.1.3, < 2.0)
107
- rspec-mocks (2.14.4)
108
- ruby-progressbar (1.4.0)
109
- safe_yaml (0.9.7)
110
- sham_rack (1.3.6)
111
- rack
112
- sinatra (1.2.9)
113
- backports
114
- rack (~> 1.1, < 1.5)
115
- tilt (>= 1.2.2, < 2.0)
116
- slop (3.4.7)
117
- thor (0.18.1)
118
- tilt (1.4.1)
119
- webmock (1.17.1)
120
- addressable (>= 2.2.7)
121
- crack (>= 0.3.2)
122
-
123
- PLATFORMS
124
- ruby
125
-
126
- DEPENDENCIES
127
- appraisal
128
- aruba
129
- capistrano (~> 2.0)
130
- cucumber (~> 1.3.10)
131
- fuubar
132
- growl
133
- guard (~> 1.8.3)
134
- guard-rspec
135
- honeybadger!
136
- rails (~> 2.3.18)
137
- rake (= 0.9.5)
138
- rspec (~> 2.14.0)
139
- sham_rack (~> 1.3.0)
140
- sinatra
141
- webmock
@@ -1,193 +0,0 @@
1
- PATH
2
- remote: /Users/josh/code/honeybadger-ruby
3
- specs:
4
- honeybadger (1.11.2)
5
- json
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- abstract (1.0.0)
11
- actionmailer (3.0.20)
12
- actionpack (= 3.0.20)
13
- mail (~> 2.2.19)
14
- actionpack (3.0.20)
15
- activemodel (= 3.0.20)
16
- activesupport (= 3.0.20)
17
- builder (~> 2.1.2)
18
- erubis (~> 2.6.6)
19
- i18n (~> 0.5.0)
20
- rack (~> 1.2.5)
21
- rack-mount (~> 0.6.14)
22
- rack-test (~> 0.5.7)
23
- tzinfo (~> 0.3.23)
24
- activemodel (3.0.20)
25
- activesupport (= 3.0.20)
26
- builder (~> 2.1.2)
27
- i18n (~> 0.5.0)
28
- activerecord (3.0.20)
29
- activemodel (= 3.0.20)
30
- activesupport (= 3.0.20)
31
- arel (~> 2.0.10)
32
- tzinfo (~> 0.3.23)
33
- activeresource (3.0.20)
34
- activemodel (= 3.0.20)
35
- activesupport (= 3.0.20)
36
- activesupport (3.0.20)
37
- addressable (2.3.5)
38
- appraisal (0.5.2)
39
- bundler
40
- rake
41
- arel (2.0.10)
42
- aruba (0.5.4)
43
- childprocess (>= 0.3.6)
44
- cucumber (>= 1.1.1)
45
- rspec-expectations (>= 2.7.0)
46
- backports (3.4.0)
47
- better_errors (1.1.0)
48
- coderay (>= 1.0.0)
49
- erubis (>= 2.6.6)
50
- builder (2.1.2)
51
- capistrano (2.15.5)
52
- highline
53
- net-scp (>= 1.0.0)
54
- net-sftp (>= 2.0.0)
55
- net-ssh (>= 2.0.14)
56
- net-ssh-gateway (>= 1.1.0)
57
- childprocess (0.4.0)
58
- ffi (~> 1.0, >= 1.0.11)
59
- coderay (1.1.0)
60
- crack (0.4.1)
61
- safe_yaml (~> 0.9.0)
62
- cucumber (1.3.10)
63
- builder (>= 2.1.2)
64
- diff-lcs (>= 1.1.3)
65
- gherkin (~> 2.12)
66
- multi_json (>= 1.7.5, < 2.0)
67
- multi_test (>= 0.0.2)
68
- diff-lcs (1.2.5)
69
- erubis (2.6.6)
70
- abstract (>= 1.0.0)
71
- ffi (1.9.3)
72
- formatador (0.2.4)
73
- fuubar (1.3.2)
74
- rspec (>= 2.14.0, < 3.1.0)
75
- ruby-progressbar (~> 1.3)
76
- gherkin (2.12.2)
77
- multi_json (~> 1.3)
78
- growl (1.0.3)
79
- guard (1.8.3)
80
- formatador (>= 0.2.4)
81
- listen (~> 1.3)
82
- lumberjack (>= 1.0.2)
83
- pry (>= 0.9.10)
84
- thor (>= 0.14.6)
85
- guard-rspec (3.1.0)
86
- guard (>= 1.8)
87
- rspec (~> 2.13)
88
- highline (1.6.20)
89
- i18n (0.5.3)
90
- json (1.8.1)
91
- listen (1.3.1)
92
- rb-fsevent (>= 0.9.3)
93
- rb-inotify (>= 0.9)
94
- rb-kqueue (>= 0.2)
95
- lumberjack (1.0.4)
96
- mail (2.2.20)
97
- activesupport (>= 2.3.6)
98
- i18n (>= 0.4.0)
99
- mime-types (~> 1.16)
100
- treetop (~> 1.4.8)
101
- method_source (0.8.2)
102
- mime-types (1.25.1)
103
- multi_json (1.8.4)
104
- multi_test (0.0.3)
105
- net-scp (1.1.2)
106
- net-ssh (>= 2.6.5)
107
- net-sftp (2.1.2)
108
- net-ssh (>= 2.6.5)
109
- net-ssh (2.7.0)
110
- net-ssh-gateway (1.2.0)
111
- net-ssh (>= 2.6.5)
112
- polyglot (0.3.3)
113
- pry (0.9.12.4)
114
- coderay (~> 1.0)
115
- method_source (~> 0.8)
116
- slop (~> 3.4)
117
- rack (1.2.8)
118
- rack-mini-profiler (0.1.31)
119
- rack (>= 1.1.3)
120
- rack-mount (0.6.14)
121
- rack (>= 1.0.0)
122
- rack-test (0.5.7)
123
- rack (>= 1.0)
124
- rails (3.0.20)
125
- actionmailer (= 3.0.20)
126
- actionpack (= 3.0.20)
127
- activerecord (= 3.0.20)
128
- activeresource (= 3.0.20)
129
- activesupport (= 3.0.20)
130
- bundler (~> 1.0)
131
- railties (= 3.0.20)
132
- railties (3.0.20)
133
- actionpack (= 3.0.20)
134
- activesupport (= 3.0.20)
135
- rake (>= 0.8.7)
136
- rdoc (~> 3.4)
137
- thor (~> 0.14.4)
138
- rake (10.1.1)
139
- rb-fsevent (0.9.4)
140
- rb-inotify (0.9.3)
141
- ffi (>= 0.5.0)
142
- rb-kqueue (0.2.0)
143
- ffi (>= 0.5.0)
144
- rdoc (3.12.2)
145
- json (~> 1.4)
146
- rspec (2.14.1)
147
- rspec-core (~> 2.14.0)
148
- rspec-expectations (~> 2.14.0)
149
- rspec-mocks (~> 2.14.0)
150
- rspec-core (2.14.7)
151
- rspec-expectations (2.14.4)
152
- diff-lcs (>= 1.1.3, < 2.0)
153
- rspec-mocks (2.14.4)
154
- ruby-progressbar (1.4.0)
155
- safe_yaml (0.9.7)
156
- sham_rack (1.3.6)
157
- rack
158
- sinatra (1.2.9)
159
- backports
160
- rack (~> 1.1, < 1.5)
161
- tilt (>= 1.2.2, < 2.0)
162
- slop (3.4.7)
163
- thor (0.14.6)
164
- tilt (1.4.1)
165
- treetop (1.4.15)
166
- polyglot
167
- polyglot (>= 0.3.1)
168
- tzinfo (0.3.38)
169
- webmock (1.17.1)
170
- addressable (>= 2.2.7)
171
- crack (>= 0.3.2)
172
-
173
- PLATFORMS
174
- ruby
175
-
176
- DEPENDENCIES
177
- appraisal
178
- aruba
179
- better_errors
180
- capistrano (~> 2.0)
181
- cucumber (~> 1.3.10)
182
- fuubar
183
- growl
184
- guard (~> 1.8.3)
185
- guard-rspec
186
- honeybadger!
187
- rack-mini-profiler (~> 0.1.31)
188
- rails (~> 3.0.17)
189
- rake
190
- rspec (~> 2.14.0)
191
- sham_rack (~> 1.3.0)
192
- sinatra
193
- webmock