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,202 +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 (4.1.0.beta1)
11
- actionpack (= 4.1.0.beta1)
12
- actionview (= 4.1.0.beta1)
13
- mail (~> 2.5.4)
14
- actionpack (4.1.0.beta1)
15
- actionview (= 4.1.0.beta1)
16
- activesupport (= 4.1.0.beta1)
17
- rack (~> 1.5.2)
18
- rack-test (~> 0.6.2)
19
- actionview (4.1.0.beta1)
20
- activesupport (= 4.1.0.beta1)
21
- builder (~> 3.1)
22
- erubis (~> 2.7.0)
23
- activemodel (4.1.0.beta1)
24
- activesupport (= 4.1.0.beta1)
25
- builder (~> 3.1)
26
- activerecord (4.1.0.beta1)
27
- activemodel (= 4.1.0.beta1)
28
- activesupport (= 4.1.0.beta1)
29
- arel (~> 5.0.0)
30
- activesupport (4.1.0.beta1)
31
- i18n (~> 0.6, >= 0.6.9)
32
- json (~> 1.7, >= 1.7.7)
33
- minitest (~> 5.1)
34
- thread_safe (~> 0.1)
35
- tzinfo (~> 1.1)
36
- addressable (2.3.5)
37
- appraisal (0.5.2)
38
- bundler
39
- rake
40
- arel (5.0.0)
41
- aruba (0.5.4)
42
- childprocess (>= 0.3.6)
43
- cucumber (>= 1.1.1)
44
- rspec-expectations (>= 2.7.0)
45
- atomic (1.1.14)
46
- better_errors (1.1.0)
47
- coderay (>= 1.0.0)
48
- erubis (>= 2.6.6)
49
- builder (3.2.2)
50
- capistrano (3.0.1)
51
- i18n
52
- rake (>= 10.0.0)
53
- sshkit (>= 0.0.23)
54
- childprocess (0.4.0)
55
- ffi (~> 1.0, >= 1.0.11)
56
- coderay (1.1.0)
57
- crack (0.4.1)
58
- safe_yaml (~> 0.9.0)
59
- cucumber (1.3.10)
60
- builder (>= 2.1.2)
61
- diff-lcs (>= 1.1.3)
62
- gherkin (~> 2.12)
63
- multi_json (>= 1.7.5, < 2.0)
64
- multi_test (>= 0.0.2)
65
- diff-lcs (1.2.5)
66
- erubis (2.7.0)
67
- ffi (1.9.3)
68
- formatador (0.2.4)
69
- fuubar (1.3.2)
70
- rspec (>= 2.14.0, < 3.1.0)
71
- ruby-progressbar (~> 1.3)
72
- gherkin (2.12.2)
73
- multi_json (~> 1.3)
74
- growl (1.0.3)
75
- guard (1.8.3)
76
- formatador (>= 0.2.4)
77
- listen (~> 1.3)
78
- lumberjack (>= 1.0.2)
79
- pry (>= 0.9.10)
80
- thor (>= 0.14.6)
81
- guard-rspec (3.1.0)
82
- guard (>= 1.8)
83
- rspec (~> 2.13)
84
- hike (1.2.3)
85
- i18n (0.6.9)
86
- json (1.8.1)
87
- listen (1.3.1)
88
- rb-fsevent (>= 0.9.3)
89
- rb-inotify (>= 0.9)
90
- rb-kqueue (>= 0.2)
91
- lumberjack (1.0.4)
92
- mail (2.5.4)
93
- mime-types (~> 1.16)
94
- treetop (~> 1.4.8)
95
- method_source (0.8.2)
96
- mime-types (1.25.1)
97
- minitest (5.2.1)
98
- multi_json (1.8.4)
99
- multi_test (0.0.3)
100
- net-scp (1.1.2)
101
- net-ssh (>= 2.6.5)
102
- net-ssh (2.7.0)
103
- polyglot (0.3.3)
104
- pry (0.9.12.4)
105
- coderay (~> 1.0)
106
- method_source (~> 0.8)
107
- slop (~> 3.4)
108
- rack (1.5.2)
109
- rack-mini-profiler (0.9.0)
110
- rack (>= 1.1.3)
111
- rack-protection (1.5.2)
112
- rack
113
- rack-test (0.6.2)
114
- rack (>= 1.0)
115
- rails (4.1.0.beta1)
116
- actionmailer (= 4.1.0.beta1)
117
- actionpack (= 4.1.0.beta1)
118
- actionview (= 4.1.0.beta1)
119
- activemodel (= 4.1.0.beta1)
120
- activerecord (= 4.1.0.beta1)
121
- activesupport (= 4.1.0.beta1)
122
- bundler (>= 1.3.0, < 2.0)
123
- railties (= 4.1.0.beta1)
124
- sprockets-rails (~> 2.0.0)
125
- railties (4.1.0.beta1)
126
- actionpack (= 4.1.0.beta1)
127
- activesupport (= 4.1.0.beta1)
128
- rake (>= 0.8.7)
129
- thor (>= 0.18.1, < 2.0)
130
- rake (10.1.1)
131
- rb-fsevent (0.9.4)
132
- rb-inotify (0.9.3)
133
- ffi (>= 0.5.0)
134
- rb-kqueue (0.2.0)
135
- ffi (>= 0.5.0)
136
- rspec (2.14.1)
137
- rspec-core (~> 2.14.0)
138
- rspec-expectations (~> 2.14.0)
139
- rspec-mocks (~> 2.14.0)
140
- rspec-core (2.14.7)
141
- rspec-expectations (2.14.4)
142
- diff-lcs (>= 1.1.3, < 2.0)
143
- rspec-mocks (2.14.4)
144
- ruby-progressbar (1.4.0)
145
- safe_yaml (0.9.7)
146
- sham_rack (1.3.6)
147
- rack
148
- sinatra (1.4.4)
149
- rack (~> 1.4)
150
- rack-protection (~> 1.4)
151
- tilt (~> 1.3, >= 1.3.4)
152
- slop (3.4.7)
153
- sprockets (2.10.1)
154
- hike (~> 1.2)
155
- multi_json (~> 1.0)
156
- rack (~> 1.0)
157
- tilt (~> 1.1, != 1.3.0)
158
- sprockets-rails (2.0.1)
159
- actionpack (>= 3.0)
160
- activesupport (>= 3.0)
161
- sprockets (~> 2.8)
162
- sshkit (1.2.0)
163
- net-scp (>= 1.1.2)
164
- net-ssh
165
- term-ansicolor
166
- term-ansicolor (1.2.2)
167
- tins (~> 0.8)
168
- thor (0.18.1)
169
- thread_safe (0.1.3)
170
- atomic
171
- tilt (1.4.1)
172
- tins (0.13.1)
173
- treetop (1.4.15)
174
- polyglot
175
- polyglot (>= 0.3.1)
176
- tzinfo (1.1.0)
177
- thread_safe (~> 0.1)
178
- webmock (1.17.1)
179
- addressable (>= 2.2.7)
180
- crack (>= 0.3.2)
181
-
182
- PLATFORMS
183
- ruby
184
-
185
- DEPENDENCIES
186
- appraisal
187
- aruba
188
- better_errors
189
- capistrano (~> 3.0)
190
- cucumber (~> 1.3.10)
191
- fuubar
192
- growl
193
- guard (~> 1.8.3)
194
- guard-rspec
195
- honeybadger!
196
- rack-mini-profiler
197
- rails (~> 4.1.0.beta1)
198
- rake
199
- rspec (~> 2.14.0)
200
- sham_rack (~> 1.3.0)
201
- sinatra
202
- webmock
@@ -1,124 +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
- rake
121
- rspec (~> 2.14.0)
122
- sham_rack (~> 1.3.0)
123
- sinatra
124
- webmock
@@ -1,124 +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
- rake
121
- rspec (~> 2.14.0)
122
- sham_rack (~> 1.3.0)
123
- sinatra
124
- webmock