honeybadger 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/Appraisals +25 -1
  2. data/CHANGELOG.md +47 -0
  3. data/Gemfile +1 -1
  4. data/Gemfile.lock +7 -8
  5. data/MIT-LICENSE +1 -1
  6. data/README.md +117 -6
  7. data/Rakefile +15 -0
  8. data/features/rack.feature +2 -2
  9. data/features/rails.feature +79 -15
  10. data/features/step_definitions/metal_steps.rb +4 -4
  11. data/features/step_definitions/rack_steps.rb +0 -4
  12. data/features/step_definitions/rails_steps.rb +49 -32
  13. data/features/support/honeybadger_failure_shim.rb.template +5 -0
  14. data/features/support/rails.rb +17 -5
  15. data/gemfiles/rack.gemfile +8 -0
  16. data/gemfiles/rack.gemfile.lock +92 -0
  17. data/gemfiles/rails2.3.gemfile +1 -1
  18. data/gemfiles/rails2.3.gemfile.lock +6 -2
  19. data/gemfiles/rails3.0.gemfile +2 -1
  20. data/gemfiles/rails3.0.gemfile.lock +12 -3
  21. data/gemfiles/rails3.1.gemfile +2 -1
  22. data/gemfiles/rails3.1.gemfile.lock +12 -3
  23. data/gemfiles/rails3.2.gemfile +3 -2
  24. data/gemfiles/rails3.2.gemfile.lock +45 -36
  25. data/gemfiles/rails4.gemfile +9 -0
  26. data/gemfiles/rails4.gemfile.lock +174 -0
  27. data/gemfiles/rake.gemfile +8 -0
  28. data/gemfiles/rake.gemfile.lock +91 -0
  29. data/gemfiles/sinatra.gemfile +8 -0
  30. data/gemfiles/sinatra.gemfile.lock +91 -0
  31. data/generators/honeybadger/honeybadger_generator.rb +5 -5
  32. data/honeybadger.gemspec +12 -3
  33. data/lib/honeybadger.rb +7 -14
  34. data/lib/honeybadger/configuration.rb +10 -1
  35. data/lib/honeybadger/notice.rb +38 -20
  36. data/lib/honeybadger/rack.rb +0 -1
  37. data/lib/honeybadger/rails/controller_methods.rb +5 -4
  38. data/lib/honeybadger/rails3_tasks.rb +16 -4
  39. data/lib/honeybadger/sender.rb +10 -19
  40. data/lib/honeybadger/shared_tasks.rb +2 -3
  41. data/lib/honeybadger/tasks.rb +16 -9
  42. data/lib/honeybadger_tasks.rb +2 -3
  43. data/lib/rails/generators/honeybadger/honeybadger_generator.rb +5 -5
  44. data/test/test_helper.rb +2 -7
  45. data/test/unit/backtrace_test.rb +19 -19
  46. data/test/unit/configuration_test.rb +11 -5
  47. data/test/unit/notice_test.rb +21 -3
  48. data/test/unit/rails/action_controller_catcher_test.rb +250 -241
  49. data/test/unit/sender_test.rb +22 -2
  50. metadata +13 -19
@@ -1,8 +1,9 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
- source :rubygems
3
+ source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "3.1.8"
6
6
  gem "honeybadger", :path=>"../"
7
+ gem "better_errors", :require=>false
7
8
 
8
9
  gemspec :path=>"../"
@@ -1,12 +1,11 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.4.0)
5
- activesupport
4
+ honeybadger (1.5.0)
6
5
  json
7
6
 
8
7
  GEM
9
- remote: http://rubygems.org/
8
+ remote: https://rubygems.org/
10
9
  specs:
11
10
  actionmailer (3.1.8)
12
11
  actionpack (= 3.1.8)
@@ -44,6 +43,9 @@ GEM
44
43
  childprocess (~> 0.3.6)
45
44
  cucumber (>= 1.1.1)
46
45
  rspec-expectations (>= 2.7.0)
46
+ better_errors (0.5.0)
47
+ coderay (>= 1.0.0)
48
+ erubis (>= 2.6.6)
47
49
  bourne (1.1.2)
48
50
  mocha (= 0.10.5)
49
51
  builder (3.0.4)
@@ -55,6 +57,7 @@ GEM
55
57
  net-ssh-gateway (>= 1.1.0)
56
58
  childprocess (0.3.6)
57
59
  ffi (~> 1.0, >= 1.0.6)
60
+ coderay (1.0.8)
58
61
  cucumber (1.2.1)
59
62
  builder (>= 2.1.2)
60
63
  diff-lcs (>= 1.1.3)
@@ -64,12 +67,16 @@ GEM
64
67
  erubis (2.7.0)
65
68
  fakeweb (1.3.0)
66
69
  ffi (1.2.0)
70
+ ffi (1.2.0-java)
67
71
  gherkin (2.11.5)
68
72
  json (>= 1.4.6)
73
+ gherkin (2.11.5-java)
74
+ json (>= 1.4.6)
69
75
  highline (1.6.15)
70
76
  hike (1.2.1)
71
77
  i18n (0.6.1)
72
78
  json (1.7.5)
79
+ json (1.7.5-java)
73
80
  mail (2.3.3)
74
81
  i18n (>= 0.4.0)
75
82
  mime-types (~> 1.16)
@@ -143,11 +150,13 @@ GEM
143
150
  tzinfo (0.3.35)
144
151
 
145
152
  PLATFORMS
153
+ java
146
154
  ruby
147
155
 
148
156
  DEPENDENCIES
149
157
  appraisal
150
158
  aruba
159
+ better_errors
151
160
  bourne (>= 1.0)
152
161
  capistrano
153
162
  cucumber (~> 1.2.1)
@@ -1,8 +1,9 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
- source :rubygems
3
+ source "https://rubygems.org"
4
4
 
5
- gem "rails", "3.2.11"
5
+ gem "rails", "3.2.12"
6
6
  gem "honeybadger", :path=>"../"
7
+ gem "better_errors", :require=>false
7
8
 
8
9
  gemspec :path=>"../"
@@ -1,38 +1,37 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.4.0)
5
- activesupport
4
+ honeybadger (1.5.0)
6
5
  json
7
6
 
8
7
  GEM
9
- remote: http://rubygems.org/
8
+ remote: https://rubygems.org/
10
9
  specs:
11
- actionmailer (3.2.11)
12
- actionpack (= 3.2.11)
10
+ actionmailer (3.2.12)
11
+ actionpack (= 3.2.12)
13
12
  mail (~> 2.4.4)
14
- actionpack (3.2.11)
15
- activemodel (= 3.2.11)
16
- activesupport (= 3.2.11)
13
+ actionpack (3.2.12)
14
+ activemodel (= 3.2.12)
15
+ activesupport (= 3.2.12)
17
16
  builder (~> 3.0.0)
18
17
  erubis (~> 2.7.0)
19
18
  journey (~> 1.0.4)
20
- rack (~> 1.4.0)
19
+ rack (~> 1.4.5)
21
20
  rack-cache (~> 1.2)
22
21
  rack-test (~> 0.6.1)
23
22
  sprockets (~> 2.2.1)
24
- activemodel (3.2.11)
25
- activesupport (= 3.2.11)
23
+ activemodel (3.2.12)
24
+ activesupport (= 3.2.12)
26
25
  builder (~> 3.0.0)
27
- activerecord (3.2.11)
28
- activemodel (= 3.2.11)
29
- activesupport (= 3.2.11)
26
+ activerecord (3.2.12)
27
+ activemodel (= 3.2.12)
28
+ activesupport (= 3.2.12)
30
29
  arel (~> 3.0.2)
31
30
  tzinfo (~> 0.3.29)
32
- activeresource (3.2.11)
33
- activemodel (= 3.2.11)
34
- activesupport (= 3.2.11)
35
- activesupport (3.2.11)
31
+ activeresource (3.2.12)
32
+ activemodel (= 3.2.12)
33
+ activesupport (= 3.2.12)
34
+ activesupport (3.2.12)
36
35
  i18n (~> 0.6)
37
36
  multi_json (~> 1.0)
38
37
  appraisal (0.5.1)
@@ -43,6 +42,9 @@ GEM
43
42
  childprocess (~> 0.3.6)
44
43
  cucumber (>= 1.1.1)
45
44
  rspec-expectations (>= 2.7.0)
45
+ better_errors (0.5.0)
46
+ coderay (>= 1.0.0)
47
+ erubis (>= 2.6.6)
46
48
  bourne (1.3.0)
47
49
  mocha (= 0.13.0)
48
50
  builder (3.0.4)
@@ -54,6 +56,7 @@ GEM
54
56
  net-ssh-gateway (>= 1.1.0)
55
57
  childprocess (0.3.6)
56
58
  ffi (~> 1.0, >= 1.0.6)
59
+ coderay (1.0.8)
57
60
  cucumber (1.2.1)
58
61
  builder (>= 2.1.2)
59
62
  diff-lcs (>= 1.1.3)
@@ -63,22 +66,26 @@ GEM
63
66
  erubis (2.7.0)
64
67
  fakeweb (1.3.0)
65
68
  ffi (1.3.1)
69
+ ffi (1.3.1-java)
66
70
  gherkin (2.11.5)
67
71
  json (>= 1.4.6)
72
+ gherkin (2.11.5-java)
73
+ json (>= 1.4.6)
68
74
  highline (1.6.15)
69
75
  hike (1.2.1)
70
76
  i18n (0.6.1)
71
77
  journey (1.0.4)
72
- json (1.7.6)
78
+ json (1.7.7)
79
+ json (1.7.7-java)
73
80
  mail (2.4.4)
74
81
  i18n (>= 0.4.0)
75
82
  mime-types (~> 1.16)
76
83
  treetop (~> 1.4.8)
77
84
  metaclass (0.0.1)
78
- mime-types (1.19)
85
+ mime-types (1.21)
79
86
  mocha (0.13.0)
80
87
  metaclass (~> 0.0.1)
81
- multi_json (1.5.0)
88
+ multi_json (1.6.1)
82
89
  net-scp (1.0.4)
83
90
  net-ssh (>= 1.99.1)
84
91
  net-sftp (2.0.5)
@@ -87,32 +94,32 @@ GEM
87
94
  net-ssh-gateway (1.1.0)
88
95
  net-ssh (>= 1.99.1)
89
96
  polyglot (0.3.3)
90
- rack (1.4.4)
97
+ rack (1.4.5)
91
98
  rack-cache (1.2)
92
99
  rack (>= 0.4)
93
100
  rack-protection (1.3.2)
94
101
  rack
95
- rack-ssl (1.3.2)
102
+ rack-ssl (1.3.3)
96
103
  rack
97
104
  rack-test (0.6.2)
98
105
  rack (>= 1.0)
99
- rails (3.2.11)
100
- actionmailer (= 3.2.11)
101
- actionpack (= 3.2.11)
102
- activerecord (= 3.2.11)
103
- activeresource (= 3.2.11)
104
- activesupport (= 3.2.11)
106
+ rails (3.2.12)
107
+ actionmailer (= 3.2.12)
108
+ actionpack (= 3.2.12)
109
+ activerecord (= 3.2.12)
110
+ activeresource (= 3.2.12)
111
+ activesupport (= 3.2.12)
105
112
  bundler (~> 1.0)
106
- railties (= 3.2.11)
107
- railties (3.2.11)
108
- actionpack (= 3.2.11)
109
- activesupport (= 3.2.11)
113
+ railties (= 3.2.12)
114
+ railties (3.2.12)
115
+ actionpack (= 3.2.12)
116
+ activesupport (= 3.2.12)
110
117
  rack-ssl (~> 1.3.2)
111
118
  rake (>= 0.8.7)
112
119
  rdoc (~> 3.4)
113
120
  thor (>= 0.14.6, < 2.0)
114
121
  rake (10.0.3)
115
- rdoc (3.12)
122
+ rdoc (3.12.1)
116
123
  json (~> 1.4)
117
124
  rspec (2.12.0)
118
125
  rspec-core (~> 2.12.0)
@@ -134,7 +141,7 @@ GEM
134
141
  multi_json (~> 1.0)
135
142
  rack (~> 1.0)
136
143
  tilt (~> 1.1, != 1.3.0)
137
- thor (0.16.0)
144
+ thor (0.17.0)
138
145
  tilt (1.3.3)
139
146
  treetop (1.4.12)
140
147
  polyglot
@@ -142,17 +149,19 @@ GEM
142
149
  tzinfo (0.3.35)
143
150
 
144
151
  PLATFORMS
152
+ java
145
153
  ruby
146
154
 
147
155
  DEPENDENCIES
148
156
  appraisal
149
157
  aruba
158
+ better_errors
150
159
  bourne (>= 1.0)
151
160
  capistrano
152
161
  cucumber (~> 1.2.1)
153
162
  fakeweb (~> 1.3.0)
154
163
  honeybadger!
155
- rails (= 3.2.11)
164
+ rails (= 3.2.12)
156
165
  rake
157
166
  rspec (~> 2.12.0)
158
167
  sham_rack (~> 1.3.0)
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "4.0.0.beta", :git=>"git://github.com/rails/rails.git"
6
+ gem "honeybadger", :path=>"../"
7
+ gem "better_errors", :require=>false
8
+
9
+ gemspec :path=>"../"
@@ -0,0 +1,174 @@
1
+ GIT
2
+ remote: git://github.com/rails/rails.git
3
+ revision: 351b0d90922dced4746eb445f243fea221e8114f
4
+ specs:
5
+ actionmailer (4.0.0.beta)
6
+ actionpack (= 4.0.0.beta)
7
+ mail (~> 2.5.3)
8
+ actionpack (4.0.0.beta)
9
+ activesupport (= 4.0.0.beta)
10
+ builder (~> 3.1.0)
11
+ erubis (~> 2.7.0)
12
+ rack (~> 1.4.3)
13
+ rack-test (~> 0.6.1)
14
+ activemodel (4.0.0.beta)
15
+ activesupport (= 4.0.0.beta)
16
+ builder (~> 3.1.0)
17
+ activerecord (4.0.0.beta)
18
+ activemodel (= 4.0.0.beta)
19
+ activerecord-deprecated_finders (= 0.0.2)
20
+ activesupport (= 4.0.0.beta)
21
+ arel (~> 3.0.2)
22
+ activesupport (4.0.0.beta)
23
+ i18n (~> 0.6)
24
+ minitest (~> 4.1)
25
+ multi_json (~> 1.3)
26
+ thread_safe (~> 0.1)
27
+ tzinfo (~> 0.3.33)
28
+ rails (4.0.0.beta)
29
+ actionmailer (= 4.0.0.beta)
30
+ actionpack (= 4.0.0.beta)
31
+ activerecord (= 4.0.0.beta)
32
+ activesupport (= 4.0.0.beta)
33
+ bundler (>= 1.2.2, < 2.0)
34
+ railties (= 4.0.0.beta)
35
+ sprockets-rails (~> 2.0.0.rc1)
36
+ railties (4.0.0.beta)
37
+ actionpack (= 4.0.0.beta)
38
+ activesupport (= 4.0.0.beta)
39
+ rake (>= 0.8.7)
40
+ rdoc (~> 3.4)
41
+ thor (>= 0.15.4, < 2.0)
42
+
43
+ PATH
44
+ remote: /Users/josh/code/honeybadger-ruby
45
+ specs:
46
+ honeybadger (1.5.0)
47
+ json
48
+
49
+ GEM
50
+ remote: https://rubygems.org/
51
+ specs:
52
+ activerecord-deprecated_finders (0.0.2)
53
+ appraisal (0.5.1)
54
+ bundler
55
+ rake
56
+ arel (3.0.2)
57
+ aruba (0.5.1)
58
+ childprocess (~> 0.3.6)
59
+ cucumber (>= 1.1.1)
60
+ rspec-expectations (>= 2.7.0)
61
+ atomic (1.0.1)
62
+ atomic (1.0.1-java)
63
+ better_errors (0.5.0)
64
+ coderay (>= 1.0.0)
65
+ erubis (>= 2.6.6)
66
+ bourne (1.3.0)
67
+ mocha (= 0.13.0)
68
+ builder (3.1.4)
69
+ capistrano (2.14.1)
70
+ highline
71
+ net-scp (>= 1.0.0)
72
+ net-sftp (>= 2.0.0)
73
+ net-ssh (>= 2.0.14)
74
+ net-ssh-gateway (>= 1.1.0)
75
+ childprocess (0.3.6)
76
+ ffi (~> 1.0, >= 1.0.6)
77
+ coderay (1.0.8)
78
+ cucumber (1.2.1)
79
+ builder (>= 2.1.2)
80
+ diff-lcs (>= 1.1.3)
81
+ gherkin (~> 2.11.0)
82
+ json (>= 1.4.6)
83
+ diff-lcs (1.1.3)
84
+ erubis (2.7.0)
85
+ fakeweb (1.3.0)
86
+ ffi (1.3.1)
87
+ ffi (1.3.1-java)
88
+ gherkin (2.11.5)
89
+ json (>= 1.4.6)
90
+ gherkin (2.11.5-java)
91
+ json (>= 1.4.6)
92
+ highline (1.6.15)
93
+ hike (1.2.1)
94
+ i18n (0.6.1)
95
+ json (1.7.6)
96
+ json (1.7.6-java)
97
+ mail (2.5.3)
98
+ i18n (>= 0.4.0)
99
+ mime-types (~> 1.16)
100
+ treetop (~> 1.4.8)
101
+ metaclass (0.0.1)
102
+ mime-types (1.19)
103
+ minitest (4.4.0)
104
+ mocha (0.13.0)
105
+ metaclass (~> 0.0.1)
106
+ multi_json (1.5.0)
107
+ net-scp (1.0.4)
108
+ net-ssh (>= 1.99.1)
109
+ net-sftp (2.0.5)
110
+ net-ssh (>= 2.0.9)
111
+ net-ssh (2.6.3)
112
+ net-ssh-gateway (1.1.0)
113
+ net-ssh (>= 1.99.1)
114
+ polyglot (0.3.3)
115
+ rack (1.4.4)
116
+ rack-protection (1.3.2)
117
+ rack
118
+ rack-test (0.6.2)
119
+ rack (>= 1.0)
120
+ rake (10.0.3)
121
+ rdoc (3.12)
122
+ json (~> 1.4)
123
+ rspec (2.12.0)
124
+ rspec-core (~> 2.12.0)
125
+ rspec-expectations (~> 2.12.0)
126
+ rspec-mocks (~> 2.12.0)
127
+ rspec-core (2.12.2)
128
+ rspec-expectations (2.12.1)
129
+ diff-lcs (~> 1.1.3)
130
+ rspec-mocks (2.12.1)
131
+ sham_rack (1.3.4)
132
+ rack
133
+ shoulda (2.11.3)
134
+ sinatra (1.3.3)
135
+ rack (~> 1.3, >= 1.3.6)
136
+ rack-protection (~> 1.2)
137
+ tilt (~> 1.3, >= 1.3.3)
138
+ sprockets (2.8.2)
139
+ hike (~> 1.2)
140
+ multi_json (~> 1.0)
141
+ rack (~> 1.0)
142
+ tilt (~> 1.1, != 1.3.0)
143
+ sprockets-rails (2.0.0.rc1)
144
+ actionpack (>= 3.0)
145
+ activesupport (>= 3.0)
146
+ sprockets (~> 2.8)
147
+ thor (0.16.0)
148
+ thread_safe (0.1.0)
149
+ atomic
150
+ tilt (1.3.3)
151
+ treetop (1.4.12)
152
+ polyglot
153
+ polyglot (>= 0.3.1)
154
+ tzinfo (0.3.35)
155
+
156
+ PLATFORMS
157
+ java
158
+ ruby
159
+
160
+ DEPENDENCIES
161
+ appraisal
162
+ aruba
163
+ better_errors
164
+ bourne (>= 1.0)
165
+ capistrano
166
+ cucumber (~> 1.2.1)
167
+ fakeweb (~> 1.3.0)
168
+ honeybadger!
169
+ rails (= 4.0.0.beta)!
170
+ rake
171
+ rspec (~> 2.12.0)
172
+ sham_rack (~> 1.3.0)
173
+ shoulda (~> 2.11.3)
174
+ sinatra