rollbar 2.16.2 → 2.22.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (212) hide show
  1. checksums.yaml +5 -5
  2. data/.rubocop.yml +47 -0
  3. data/.travis.yml +182 -94
  4. data/Appraisals +10 -10
  5. data/Gemfile +45 -13
  6. data/README.md +20 -3
  7. data/Rakefile +0 -0
  8. data/data/rollbar.snippet.js +1 -1
  9. data/docs/configuration.md +15 -0
  10. data/gemfiles/rails30.gemfile +21 -14
  11. data/gemfiles/rails31.gemfile +21 -12
  12. data/gemfiles/rails32.gemfile +18 -8
  13. data/gemfiles/rails40.gemfile +18 -6
  14. data/gemfiles/rails41.gemfile +17 -6
  15. data/gemfiles/rails42.gemfile +24 -14
  16. data/gemfiles/rails50.gemfile +20 -11
  17. data/gemfiles/rails51.gemfile +20 -10
  18. data/gemfiles/rails52.gemfile +65 -0
  19. data/gemfiles/rails60.gemfile +67 -0
  20. data/lib/generators/rollbar/rollbar_generator.rb +1 -1
  21. data/lib/rails/rollbar_runner.rb +17 -2
  22. data/lib/rollbar.rb +2 -3
  23. data/lib/rollbar/capistrano.rb +71 -39
  24. data/lib/rollbar/capistrano3.rb +56 -1
  25. data/lib/rollbar/capistrano_tasks.rb +130 -0
  26. data/lib/rollbar/configuration.rb +95 -7
  27. data/lib/rollbar/delay/active_job.rb +17 -0
  28. data/lib/rollbar/delay/girl_friday.rb +2 -2
  29. data/lib/rollbar/delay/resque.rb +4 -6
  30. data/lib/rollbar/delay/shoryuken.rb +15 -9
  31. data/lib/rollbar/delay/sidekiq.rb +6 -8
  32. data/lib/rollbar/delay/sucker_punch.rb +17 -19
  33. data/lib/rollbar/delay/thread.rb +3 -3
  34. data/lib/rollbar/deploy.rb +90 -0
  35. data/lib/rollbar/encoding/encoder.rb +9 -9
  36. data/lib/rollbar/exception_reporter.rb +19 -5
  37. data/lib/rollbar/item.rb +62 -20
  38. data/lib/rollbar/item/backtrace.rb +4 -4
  39. data/lib/rollbar/item/frame.rb +7 -1
  40. data/lib/rollbar/item/locals.rb +56 -0
  41. data/lib/rollbar/json.rb +5 -51
  42. data/lib/rollbar/language_support.rb +4 -20
  43. data/lib/rollbar/lazy_store.rb +5 -5
  44. data/lib/rollbar/logger.rb +1 -0
  45. data/lib/rollbar/logger_proxy.rb +15 -2
  46. data/lib/rollbar/middleware/js.rb +110 -10
  47. data/lib/rollbar/middleware/js/json_value.rb +26 -0
  48. data/lib/rollbar/middleware/rack.rb +4 -1
  49. data/lib/rollbar/middleware/rails/rollbar.rb +10 -1
  50. data/lib/rollbar/notifier.rb +118 -49
  51. data/lib/rollbar/notifier/trace_with_bindings.rb +65 -0
  52. data/lib/rollbar/plugin.rb +54 -6
  53. data/lib/rollbar/plugins.rb +7 -1
  54. data/lib/rollbar/plugins/active_job.rb +5 -1
  55. data/lib/rollbar/plugins/basic_socket.rb +21 -6
  56. data/lib/rollbar/plugins/delayed_job/job_data.rb +3 -3
  57. data/lib/rollbar/plugins/delayed_job/plugin.rb +3 -3
  58. data/lib/rollbar/plugins/goalie.rb +11 -3
  59. data/lib/rollbar/plugins/rails/controller_methods.rb +17 -4
  60. data/lib/rollbar/plugins/rails/railtie_mixin.rb +7 -3
  61. data/lib/rollbar/plugins/rake.rb +2 -2
  62. data/lib/rollbar/plugins/sidekiq/plugin.rb +10 -6
  63. data/lib/rollbar/rake_tasks.rb +3 -86
  64. data/lib/rollbar/request_data_extractor.rb +35 -21
  65. data/lib/rollbar/rollbar_test.rb +147 -0
  66. data/lib/rollbar/scrubbers.rb +7 -3
  67. data/lib/rollbar/scrubbers/params.rb +38 -20
  68. data/lib/rollbar/scrubbers/url.rb +27 -13
  69. data/lib/rollbar/truncation.rb +9 -2
  70. data/lib/rollbar/truncation/min_body_strategy.rb +2 -3
  71. data/lib/rollbar/truncation/remove_any_key_strategy.rb +123 -0
  72. data/lib/rollbar/truncation/remove_extra_strategy.rb +35 -0
  73. data/lib/rollbar/truncation/remove_request_strategy.rb +21 -0
  74. data/lib/rollbar/truncation/strings_strategy.rb +3 -4
  75. data/lib/rollbar/util.rb +75 -45
  76. data/lib/rollbar/util/hash.rb +30 -6
  77. data/lib/rollbar/util/ip_anonymizer.rb +8 -7
  78. data/lib/rollbar/util/ip_obfuscator.rb +1 -1
  79. data/lib/rollbar/version.rb +1 -1
  80. data/lib/tasks/benchmark.rake +103 -0
  81. data/rollbar.gemspec +14 -8
  82. metadata +25 -277
  83. data/gemfiles/ruby_1_8_and_1_9_2.gemfile +0 -49
  84. data/lib/rollbar/json/default.rb +0 -11
  85. data/lib/rollbar/json/oj.rb +0 -16
  86. data/lib/rollbar/tasks/rollbar.cap +0 -47
  87. data/spec/cacert.pem +0 -3988
  88. data/spec/controllers/home_controller_spec.rb +0 -480
  89. data/spec/delay/sidekiq_spec.rb +0 -61
  90. data/spec/delay/sucker_punch_spec.rb +0 -25
  91. data/spec/delayed/backend/test.rb +0 -140
  92. data/spec/delayed/serialization/test.rb +0 -0
  93. data/spec/dummyapp/.gitignore +0 -73
  94. data/spec/dummyapp/Rakefile +0 -7
  95. data/spec/dummyapp/app/assets/javascripts/application.js +0 -3
  96. data/spec/dummyapp/app/assets/stylesheets/application.css.scss +0 -37
  97. data/spec/dummyapp/app/controllers/application_controller.rb +0 -3
  98. data/spec/dummyapp/app/controllers/home_controller.rb +0 -60
  99. data/spec/dummyapp/app/controllers/users_controller.rb +0 -17
  100. data/spec/dummyapp/app/helpers/.gitkeep +0 -0
  101. data/spec/dummyapp/app/mailers/.gitkeep +0 -0
  102. data/spec/dummyapp/app/models/.gitkeep +0 -0
  103. data/spec/dummyapp/app/models/book.rb +0 -5
  104. data/spec/dummyapp/app/models/post.rb +0 -9
  105. data/spec/dummyapp/app/models/user.rb +0 -9
  106. data/spec/dummyapp/app/views/devise/registrations/edit.html.erb +0 -27
  107. data/spec/dummyapp/app/views/devise/registrations/new.html.erb +0 -20
  108. data/spec/dummyapp/app/views/devise/shared/_links.html.erb +0 -25
  109. data/spec/dummyapp/app/views/home/cause_exception.html.erb +0 -1
  110. data/spec/dummyapp/app/views/home/index.html.erb +0 -4
  111. data/spec/dummyapp/app/views/home/report_exception.html.erb +0 -1
  112. data/spec/dummyapp/app/views/js/test.html.erb +0 -1
  113. data/spec/dummyapp/app/views/layouts/_messages.html.erb +0 -5
  114. data/spec/dummyapp/app/views/layouts/_navigation.html.erb +0 -21
  115. data/spec/dummyapp/app/views/layouts/application.html.erb +0 -25
  116. data/spec/dummyapp/app/views/layouts/simple.html.erb +0 -18
  117. data/spec/dummyapp/app/views/users/index.html.erb +0 -8
  118. data/spec/dummyapp/app/views/users/show.html.erb +0 -3
  119. data/spec/dummyapp/config.ru +0 -4
  120. data/spec/dummyapp/config/application.rb +0 -59
  121. data/spec/dummyapp/config/boot.rb +0 -10
  122. data/spec/dummyapp/config/database.yml +0 -25
  123. data/spec/dummyapp/config/environment.rb +0 -5
  124. data/spec/dummyapp/config/environments/development.rb +0 -37
  125. data/spec/dummyapp/config/environments/production.rb +0 -67
  126. data/spec/dummyapp/config/environments/test.rb +0 -37
  127. data/spec/dummyapp/config/initializers/backtrace_silencers.rb +0 -7
  128. data/spec/dummyapp/config/initializers/inflections.rb +0 -15
  129. data/spec/dummyapp/config/initializers/mime_types.rb +0 -5
  130. data/spec/dummyapp/config/initializers/rollbar.rb +0 -26
  131. data/spec/dummyapp/config/initializers/secret_token.rb +0 -7
  132. data/spec/dummyapp/config/initializers/session_store.rb +0 -8
  133. data/spec/dummyapp/config/initializers/wrap_parameters.rb +0 -16
  134. data/spec/dummyapp/config/locales/devise.en.yml +0 -58
  135. data/spec/dummyapp/config/locales/en.yml +0 -5
  136. data/spec/dummyapp/config/routes.rb +0 -17
  137. data/spec/dummyapp/config/secrets.yml +0 -2
  138. data/spec/dummyapp/db/migrate/20121121184652_devise_create_users.rb +0 -46
  139. data/spec/dummyapp/db/migrate/20121121184654_add_name_to_users.rb +0 -5
  140. data/spec/dummyapp/db/migrate/20161219184410_create_books.rb +0 -10
  141. data/spec/dummyapp/db/migrate/20161219185529_add_username_to_users.rb +0 -5
  142. data/spec/dummyapp/db/schema.rb +0 -41
  143. data/spec/dummyapp/db/seeds.rb +0 -12
  144. data/spec/dummyapp/lib/assets/.gitkeep +0 -0
  145. data/spec/dummyapp/public/404.html +0 -26
  146. data/spec/dummyapp/public/422.html +0 -26
  147. data/spec/dummyapp/public/500.html +0 -25
  148. data/spec/dummyapp/public/favicon.ico +0 -0
  149. data/spec/dummyapp/script/rails +0 -6
  150. data/spec/fixtures/file1 +0 -1
  151. data/spec/fixtures/file2 +0 -1
  152. data/spec/fixtures/payloads/message.json +0 -25
  153. data/spec/fixtures/payloads/sample.trace.json +0 -275
  154. data/spec/fixtures/payloads/sample.trace_chain.json +0 -530
  155. data/spec/fixtures/plugins/dummy1.rb +0 -5
  156. data/spec/fixtures/plugins/dummy2.rb +0 -5
  157. data/spec/generators/rollbar/rollbar_generator_rails30_spec.rb +0 -31
  158. data/spec/generators/rollbar/rollbar_generator_spec.rb +0 -51
  159. data/spec/requests/home_spec.rb +0 -49
  160. data/spec/rollbar/configuration_spec.rb +0 -46
  161. data/spec/rollbar/delay/delayed_job_spec.rb +0 -22
  162. data/spec/rollbar/delay/girl_friday_spec.rb +0 -41
  163. data/spec/rollbar/delay/resque_spec.rb +0 -37
  164. data/spec/rollbar/delay/thread_spec.rb +0 -27
  165. data/spec/rollbar/encoding/encoder_spec.rb +0 -63
  166. data/spec/rollbar/item/backtrace_spec.rb +0 -26
  167. data/spec/rollbar/item/frame_spec.rb +0 -267
  168. data/spec/rollbar/item_spec.rb +0 -736
  169. data/spec/rollbar/json/oj_spec.rb +0 -18
  170. data/spec/rollbar/json_spec.rb +0 -110
  171. data/spec/rollbar/lazy_store_spec.rb +0 -99
  172. data/spec/rollbar/logger_proxy_spec.rb +0 -50
  173. data/spec/rollbar/logger_spec.rb +0 -124
  174. data/spec/rollbar/middleware/js_spec.rb +0 -421
  175. data/spec/rollbar/middleware/sinatra_spec.rb +0 -197
  176. data/spec/rollbar/notifier_spec.rb +0 -56
  177. data/spec/rollbar/plugin_spec.rb +0 -209
  178. data/spec/rollbar/plugins/active_job_spec.rb +0 -38
  179. data/spec/rollbar/plugins/delayed_job/job_data_spec.rb +0 -48
  180. data/spec/rollbar/plugins/delayed_job_spec.rb +0 -129
  181. data/spec/rollbar/plugins/rack_spec.rb +0 -152
  182. data/spec/rollbar/plugins/rails_js_spec.rb +0 -19
  183. data/spec/rollbar/plugins/rake_spec.rb +0 -34
  184. data/spec/rollbar/plugins/resque/failure_spec.rb +0 -36
  185. data/spec/rollbar/plugins/sidekiq_spec.rb +0 -171
  186. data/spec/rollbar/plugins/validations_spec.rb +0 -56
  187. data/spec/rollbar/plugins_spec.rb +0 -68
  188. data/spec/rollbar/request_data_extractor_spec.rb +0 -270
  189. data/spec/rollbar/scrubbers/params_spec.rb +0 -314
  190. data/spec/rollbar/scrubbers/url_spec.rb +0 -136
  191. data/spec/rollbar/scrubbers_spec.rb +0 -31
  192. data/spec/rollbar/sidekig/clear_scope_spec.rb +0 -19
  193. data/spec/rollbar/truncation/frames_strategy_spec.rb +0 -70
  194. data/spec/rollbar/truncation/min_body_strategy_spec.rb +0 -57
  195. data/spec/rollbar/truncation/strings_strategy_spec.rb +0 -89
  196. data/spec/rollbar/truncation_spec.rb +0 -27
  197. data/spec/rollbar/util/hash_spec.rb +0 -22
  198. data/spec/rollbar/util/ip_anonymizer_spec.rb +0 -30
  199. data/spec/rollbar/util_spec.rb +0 -80
  200. data/spec/rollbar_bc_spec.rb +0 -380
  201. data/spec/rollbar_spec.rb +0 -1667
  202. data/spec/spec_helper.rb +0 -84
  203. data/spec/support/cause_exception.rb +0 -1
  204. data/spec/support/encoding_helpers.rb +0 -8
  205. data/spec/support/encodings/iso_8859_9 +0 -1
  206. data/spec/support/fixture_helpers.rb +0 -10
  207. data/spec/support/get_ip_raising.rb +0 -7
  208. data/spec/support/helpers.rb +0 -5
  209. data/spec/support/matchers.rb +0 -23
  210. data/spec/support/notifier_helpers.rb +0 -57
  211. data/spec/support/rollbar_api.rb +0 -57
  212. data/spec/support/shared_contexts.rb +0 -12
@@ -1,275 +0,0 @@
1
- {
2
- "body": {
3
- "trace": {
4
- "frames": [
5
- {
6
- "method": "main",
7
- "lineno": 832,
8
- "filename": "kernel/loader.rb"
9
- },
10
- {
11
- "method": "epilogue",
12
- "lineno": 720,
13
- "filename": "kernel/loader.rb"
14
- },
15
- {
16
- "method": "run_at_exits",
17
- "lineno": 695,
18
- "filename": "kernel/loader.rb"
19
- },
20
- {
21
- "method": "call",
22
- "lineno": 20,
23
- "filename": "kernel/bootstrap/proc.rb"
24
- },
25
- {
26
- "method": "autorun",
27
- "lineno": 17,
28
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb"
29
- },
30
- {
31
- "method": "run",
32
- "lineno": 103,
33
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb"
34
- },
35
- {
36
- "method": "run",
37
- "lineno": 21,
38
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb"
39
- },
40
- {
41
- "method": "report",
42
- "lineno": 58,
43
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb"
44
- },
45
- {
46
- "method": "run",
47
- "lineno": 24,
48
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb"
49
- },
50
- {
51
- "method": "map",
52
- "lineno": 97,
53
- "filename": "kernel/bootstrap/array.rb"
54
- },
55
- {
56
- "method": "run",
57
- "lineno": 24,
58
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb"
59
- },
60
- {
61
- "method": "run",
62
- "lineno": 497,
63
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb"
64
- },
65
- {
66
- "method": "map",
67
- "lineno": 97,
68
- "filename": "kernel/bootstrap/array.rb"
69
- },
70
- {
71
- "method": "run",
72
- "lineno": 497,
73
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb"
74
- },
75
- {
76
- "method": "run",
77
- "lineno": 496,
78
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb"
79
- },
80
- {
81
- "method": "run_examples",
82
- "lineno": 511,
83
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb"
84
- },
85
- {
86
- "method": "map",
87
- "lineno": 97,
88
- "filename": "kernel/bootstrap/array.rb"
89
- },
90
- {
91
- "method": "run_examples",
92
- "lineno": 515,
93
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb"
94
- },
95
- {
96
- "method": "run",
97
- "lineno": 113,
98
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example.rb"
99
- },
100
- {
101
- "method": "with_around_each_hooks",
102
- "lineno": 248,
103
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example.rb"
104
- },
105
- {
106
- "method": "run",
107
- "lineno": 116,
108
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example.rb"
109
- },
110
- {
111
- "method": "instance_eval_with_args",
112
- "lineno": 16,
113
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb"
114
- },
115
- {
116
- "method": "instance_exec",
117
- "lineno": 101,
118
- "filename": "kernel/common/eval.rb"
119
- },
120
- {
121
- "method": "__script__",
122
- "lineno": 15,
123
- "filename": "/home/travis/build/rollbar/rollbar-gem/spec/requests/home_spec.rb"
124
- },
125
- {
126
- "method": "to",
127
- "lineno": 117,
128
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-expectations-2.99.2/lib/rspec/expectations/expectation_target.rb"
129
- },
130
- {
131
- "method": "to",
132
- "lineno": 59,
133
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-expectations-2.99.2/lib/rspec/expectations/expectation_target.rb"
134
- },
135
- {
136
- "method": "handle_matcher",
137
- "lineno": 24,
138
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb"
139
- },
140
- {
141
- "method": "matches?",
142
- "lineno": 42,
143
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-expectations-2.99.2/lib/rspec/matchers/built_in/raise_error.rb"
144
- },
145
- {
146
- "method": "call",
147
- "lineno": 20,
148
- "filename": "kernel/bootstrap/proc.rb"
149
- },
150
- {
151
- "method": "__script__",
152
- "lineno": 15,
153
- "filename": "/home/travis/build/rollbar/rollbar-gem/spec/requests/home_spec.rb"
154
- },
155
- {
156
- "method": "__script__",
157
- "lineno": 333,
158
- "filename": "/home/travis/.rvm/gems/rbx/gems/actionpack-3.2.17/lib/action_dispatch/testing/integration.rb"
159
- },
160
- {
161
- "method": "get",
162
- "lineno": 33,
163
- "filename": "/home/travis/.rvm/gems/rbx/gems/actionpack-3.2.17/lib/action_dispatch/testing/integration.rb"
164
- },
165
- {
166
- "method": "process",
167
- "lineno": 299,
168
- "filename": "/home/travis/.rvm/gems/rbx/gems/actionpack-3.2.17/lib/action_dispatch/testing/integration.rb"
169
- },
170
- {
171
- "method": "request",
172
- "lineno": 122,
173
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/test.rb"
174
- },
175
- {
176
- "method": "env_for (env_for_with_rollbar)",
177
- "lineno": 8,
178
- "filename": "/home/travis/build/rollbar/rollbar-gem/lib/rollbar/middleware/rack/test_session.rb"
179
- },
180
- {
181
- "method": "env_for_without_rollbar (env_for)",
182
- "lineno": 220,
183
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/test.rb"
184
- },
185
- {
186
- "method": "set_cookie",
187
- "lineno": 24,
188
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/mock_session.rb"
189
- },
190
- {
191
- "method": "merge",
192
- "lineno": 132,
193
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb"
194
- },
195
- {
196
- "method": "each",
197
- "lineno": 76,
198
- "filename": "kernel/bootstrap/array.rb"
199
- },
200
- {
201
- "method": "merge",
202
- "lineno": 133,
203
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb"
204
- },
205
- {
206
- "method": "initialize",
207
- "lineno": 21,
208
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb"
209
- },
210
- {
211
- "method": "parse_query",
212
- "lineno": 70,
213
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-1.4.5/lib/rack/utils.rb"
214
- },
215
- {
216
- "method": "each",
217
- "lineno": 76,
218
- "filename": "kernel/bootstrap/array.rb"
219
- },
220
- {
221
- "method": "parse_query",
222
- "lineno": 72,
223
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-1.4.5/lib/rack/utils.rb"
224
- },
225
- {
226
- "method": "map",
227
- "lineno": 97,
228
- "filename": "kernel/bootstrap/array.rb"
229
- },
230
- {
231
- "method": "call (__yield__)",
232
- "lineno": 172,
233
- "filename": "kernel/common/proc.rb"
234
- },
235
- {
236
- "method": "call",
237
- "lineno": 71,
238
- "filename": "kernel/common/method.rb"
239
- },
240
- {
241
- "method": "unescape",
242
- "lineno": 41,
243
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-1.4.5/lib/rack/utils.rb"
244
- },
245
- {
246
- "method": "decode_www_form_component",
247
- "lineno": 898,
248
- "filename": "/home/travis/.rvm/rubies/rbx/gems/gems/rubysl-uri-2.0.0/lib/uri/common.rb"
249
- }
250
- ],
251
- "exception": {
252
- "message": "invalid %-encoding (8%B)",
253
- "class": "ArgumentError"
254
- }
255
- }
256
- },
257
- "uuid": "d9a419d7-7b11-4435-bf5a-ffaa0fa9ff8c",
258
- "language": "ruby",
259
- "level": "error",
260
- "timestamp": 1416877955,
261
- "server": {
262
- "pid": 3586,
263
- "host": "testing-worker-linux-docker-eeafdf0f-2420-linux-9",
264
- "root": "/home/travis/build/rollbar/rollbar-gem/spec/dummyapp"
265
- },
266
- "environment": "unspecified",
267
- "framework": "Rails: 3.2.17",
268
- "notifier": {
269
- "version": "1.2.9",
270
- "name": "rollbar-gem"
271
- },
272
- "metadata": {
273
- "customer_timestamp": 1416877955
274
- }
275
- }
@@ -1,530 +0,0 @@
1
- {
2
- "body": {
3
- "trace_chain": [
4
- {
5
- "frames": [
6
- {
7
- "method": "main",
8
- "lineno": 832,
9
- "filename": "kernel/loader.rb"
10
- },
11
- {
12
- "method": "epilogue",
13
- "lineno": 720,
14
- "filename": "kernel/loader.rb"
15
- },
16
- {
17
- "method": "run_at_exits",
18
- "lineno": 695,
19
- "filename": "kernel/loader.rb"
20
- },
21
- {
22
- "method": "call",
23
- "lineno": 20,
24
- "filename": "kernel/bootstrap/proc.rb"
25
- },
26
- {
27
- "method": "autorun",
28
- "lineno": 17,
29
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb"
30
- },
31
- {
32
- "method": "run",
33
- "lineno": 103,
34
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb"
35
- },
36
- {
37
- "method": "run",
38
- "lineno": 21,
39
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb"
40
- },
41
- {
42
- "method": "report",
43
- "lineno": 58,
44
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb"
45
- },
46
- {
47
- "method": "run",
48
- "lineno": 24,
49
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb"
50
- },
51
- {
52
- "method": "map",
53
- "lineno": 97,
54
- "filename": "kernel/bootstrap/array.rb"
55
- },
56
- {
57
- "method": "run",
58
- "lineno": 24,
59
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb"
60
- },
61
- {
62
- "method": "run",
63
- "lineno": 497,
64
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb"
65
- },
66
- {
67
- "method": "map",
68
- "lineno": 97,
69
- "filename": "kernel/bootstrap/array.rb"
70
- },
71
- {
72
- "method": "run",
73
- "lineno": 497,
74
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb"
75
- },
76
- {
77
- "method": "run",
78
- "lineno": 496,
79
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb"
80
- },
81
- {
82
- "method": "run_examples",
83
- "lineno": 511,
84
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb"
85
- },
86
- {
87
- "method": "map",
88
- "lineno": 97,
89
- "filename": "kernel/bootstrap/array.rb"
90
- },
91
- {
92
- "method": "run_examples",
93
- "lineno": 515,
94
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb"
95
- },
96
- {
97
- "method": "run",
98
- "lineno": 113,
99
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example.rb"
100
- },
101
- {
102
- "method": "with_around_each_hooks",
103
- "lineno": 248,
104
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example.rb"
105
- },
106
- {
107
- "method": "run",
108
- "lineno": 116,
109
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example.rb"
110
- },
111
- {
112
- "method": "instance_eval_with_args",
113
- "lineno": 16,
114
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb"
115
- },
116
- {
117
- "method": "instance_exec",
118
- "lineno": 101,
119
- "filename": "kernel/common/eval.rb"
120
- },
121
- {
122
- "method": "__script__",
123
- "lineno": 15,
124
- "filename": "/home/travis/build/rollbar/rollbar-gem/spec/requests/home_spec.rb"
125
- },
126
- {
127
- "method": "to",
128
- "lineno": 117,
129
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-expectations-2.99.2/lib/rspec/expectations/expectation_target.rb"
130
- },
131
- {
132
- "method": "to",
133
- "lineno": 59,
134
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-expectations-2.99.2/lib/rspec/expectations/expectation_target.rb"
135
- },
136
- {
137
- "method": "handle_matcher",
138
- "lineno": 24,
139
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb"
140
- },
141
- {
142
- "method": "matches?",
143
- "lineno": 42,
144
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-expectations-2.99.2/lib/rspec/matchers/built_in/raise_error.rb"
145
- },
146
- {
147
- "method": "call",
148
- "lineno": 20,
149
- "filename": "kernel/bootstrap/proc.rb"
150
- },
151
- {
152
- "method": "__script__",
153
- "lineno": 15,
154
- "filename": "/home/travis/build/rollbar/rollbar-gem/spec/requests/home_spec.rb"
155
- },
156
- {
157
- "method": "__script__",
158
- "lineno": 333,
159
- "filename": "/home/travis/.rvm/gems/rbx/gems/actionpack-3.2.17/lib/action_dispatch/testing/integration.rb"
160
- },
161
- {
162
- "method": "get",
163
- "lineno": 33,
164
- "filename": "/home/travis/.rvm/gems/rbx/gems/actionpack-3.2.17/lib/action_dispatch/testing/integration.rb"
165
- },
166
- {
167
- "method": "process",
168
- "lineno": 299,
169
- "filename": "/home/travis/.rvm/gems/rbx/gems/actionpack-3.2.17/lib/action_dispatch/testing/integration.rb"
170
- },
171
- {
172
- "method": "request",
173
- "lineno": 122,
174
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/test.rb"
175
- },
176
- {
177
- "method": "env_for (env_for_with_rollbar)",
178
- "lineno": 8,
179
- "filename": "/home/travis/build/rollbar/rollbar-gem/lib/rollbar/middleware/rack/test_session.rb"
180
- },
181
- {
182
- "method": "env_for_without_rollbar (env_for)",
183
- "lineno": 220,
184
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/test.rb"
185
- },
186
- {
187
- "method": "set_cookie",
188
- "lineno": 24,
189
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/mock_session.rb"
190
- },
191
- {
192
- "method": "merge",
193
- "lineno": 132,
194
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb"
195
- },
196
- {
197
- "method": "each",
198
- "lineno": 76,
199
- "filename": "kernel/bootstrap/array.rb"
200
- },
201
- {
202
- "method": "merge",
203
- "lineno": 133,
204
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb"
205
- },
206
- {
207
- "method": "initialize",
208
- "lineno": 21,
209
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb"
210
- },
211
- {
212
- "method": "parse_query",
213
- "lineno": 70,
214
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-1.4.5/lib/rack/utils.rb"
215
- },
216
- {
217
- "method": "each",
218
- "lineno": 76,
219
- "filename": "kernel/bootstrap/array.rb"
220
- },
221
- {
222
- "method": "parse_query",
223
- "lineno": 72,
224
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-1.4.5/lib/rack/utils.rb"
225
- },
226
- {
227
- "method": "map",
228
- "lineno": 97,
229
- "filename": "kernel/bootstrap/array.rb"
230
- },
231
- {
232
- "method": "call (__yield__)",
233
- "lineno": 172,
234
- "filename": "kernel/common/proc.rb"
235
- },
236
- {
237
- "method": "call",
238
- "lineno": 71,
239
- "filename": "kernel/common/method.rb"
240
- },
241
- {
242
- "method": "unescape",
243
- "lineno": 41,
244
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-1.4.5/lib/rack/utils.rb"
245
- },
246
- {
247
- "method": "decode_www_form_component",
248
- "lineno": 898,
249
- "filename": "/home/travis/.rvm/rubies/rbx/gems/gems/rubysl-uri-2.0.0/lib/uri/common.rb"
250
- }
251
- ],
252
- "exception": {
253
- "message": "Exception1: invalid %-encoding (8%B)",
254
- "class": "ArgumentErrorException1"
255
- }
256
- },
257
- {
258
- "frames": [
259
- {
260
- "method": "main",
261
- "lineno": 832,
262
- "filename": "kernel/loader.rb"
263
- },
264
- {
265
- "method": "epilogue",
266
- "lineno": 720,
267
- "filename": "kernel/loader.rb"
268
- },
269
- {
270
- "method": "run_at_exits",
271
- "lineno": 695,
272
- "filename": "kernel/loader.rb"
273
- },
274
- {
275
- "method": "call",
276
- "lineno": 20,
277
- "filename": "kernel/bootstrap/proc.rb"
278
- },
279
- {
280
- "method": "autorun",
281
- "lineno": 17,
282
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb"
283
- },
284
- {
285
- "method": "run",
286
- "lineno": 103,
287
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb"
288
- },
289
- {
290
- "method": "run",
291
- "lineno": 21,
292
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb"
293
- },
294
- {
295
- "method": "report",
296
- "lineno": 58,
297
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb"
298
- },
299
- {
300
- "method": "run",
301
- "lineno": 24,
302
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb"
303
- },
304
- {
305
- "method": "map",
306
- "lineno": 97,
307
- "filename": "kernel/bootstrap/array.rb"
308
- },
309
- {
310
- "method": "run",
311
- "lineno": 24,
312
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb"
313
- },
314
- {
315
- "method": "run",
316
- "lineno": 497,
317
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb"
318
- },
319
- {
320
- "method": "map",
321
- "lineno": 97,
322
- "filename": "kernel/bootstrap/array.rb"
323
- },
324
- {
325
- "method": "run",
326
- "lineno": 497,
327
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb"
328
- },
329
- {
330
- "method": "run",
331
- "lineno": 496,
332
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb"
333
- },
334
- {
335
- "method": "run_examples",
336
- "lineno": 511,
337
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb"
338
- },
339
- {
340
- "method": "map",
341
- "lineno": 97,
342
- "filename": "kernel/bootstrap/array.rb"
343
- },
344
- {
345
- "method": "run_examples",
346
- "lineno": 515,
347
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb"
348
- },
349
- {
350
- "method": "run",
351
- "lineno": 113,
352
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example.rb"
353
- },
354
- {
355
- "method": "with_around_each_hooks",
356
- "lineno": 248,
357
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example.rb"
358
- },
359
- {
360
- "method": "run",
361
- "lineno": 116,
362
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/example.rb"
363
- },
364
- {
365
- "method": "instance_eval_with_args",
366
- "lineno": 16,
367
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb"
368
- },
369
- {
370
- "method": "instance_exec",
371
- "lineno": 101,
372
- "filename": "kernel/common/eval.rb"
373
- },
374
- {
375
- "method": "__script__",
376
- "lineno": 15,
377
- "filename": "/home/travis/build/rollbar/rollbar-gem/spec/requests/home_spec.rb"
378
- },
379
- {
380
- "method": "to",
381
- "lineno": 117,
382
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-expectations-2.99.2/lib/rspec/expectations/expectation_target.rb"
383
- },
384
- {
385
- "method": "to",
386
- "lineno": 59,
387
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-expectations-2.99.2/lib/rspec/expectations/expectation_target.rb"
388
- },
389
- {
390
- "method": "handle_matcher",
391
- "lineno": 24,
392
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb"
393
- },
394
- {
395
- "method": "matches?",
396
- "lineno": 42,
397
- "filename": "/home/travis/.rvm/gems/rbx/gems/rspec-expectations-2.99.2/lib/rspec/matchers/built_in/raise_error.rb"
398
- },
399
- {
400
- "method": "call",
401
- "lineno": 20,
402
- "filename": "kernel/bootstrap/proc.rb"
403
- },
404
- {
405
- "method": "__script__",
406
- "lineno": 15,
407
- "filename": "/home/travis/build/rollbar/rollbar-gem/spec/requests/home_spec.rb"
408
- },
409
- {
410
- "method": "__script__",
411
- "lineno": 333,
412
- "filename": "/home/travis/.rvm/gems/rbx/gems/actionpack-3.2.17/lib/action_dispatch/testing/integration.rb"
413
- },
414
- {
415
- "method": "get",
416
- "lineno": 33,
417
- "filename": "/home/travis/.rvm/gems/rbx/gems/actionpack-3.2.17/lib/action_dispatch/testing/integration.rb"
418
- },
419
- {
420
- "method": "process",
421
- "lineno": 299,
422
- "filename": "/home/travis/.rvm/gems/rbx/gems/actionpack-3.2.17/lib/action_dispatch/testing/integration.rb"
423
- },
424
- {
425
- "method": "request",
426
- "lineno": 122,
427
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/test.rb"
428
- },
429
- {
430
- "method": "env_for (env_for_with_rollbar)",
431
- "lineno": 8,
432
- "filename": "/home/travis/build/rollbar/rollbar-gem/lib/rollbar/middleware/rack/test_session.rb"
433
- },
434
- {
435
- "method": "env_for_without_rollbar (env_for)",
436
- "lineno": 220,
437
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/test.rb"
438
- },
439
- {
440
- "method": "set_cookie",
441
- "lineno": 24,
442
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/mock_session.rb"
443
- },
444
- {
445
- "method": "merge",
446
- "lineno": 132,
447
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb"
448
- },
449
- {
450
- "method": "each",
451
- "lineno": 76,
452
- "filename": "kernel/bootstrap/array.rb"
453
- },
454
- {
455
- "method": "merge",
456
- "lineno": 133,
457
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb"
458
- },
459
- {
460
- "method": "initialize",
461
- "lineno": 21,
462
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb"
463
- },
464
- {
465
- "method": "parse_query",
466
- "lineno": 70,
467
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-1.4.5/lib/rack/utils.rb"
468
- },
469
- {
470
- "method": "each",
471
- "lineno": 76,
472
- "filename": "kernel/bootstrap/array.rb"
473
- },
474
- {
475
- "method": "parse_query",
476
- "lineno": 72,
477
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-1.4.5/lib/rack/utils.rb"
478
- },
479
- {
480
- "method": "map",
481
- "lineno": 97,
482
- "filename": "kernel/bootstrap/array.rb"
483
- },
484
- {
485
- "method": "call (__yield__)",
486
- "lineno": 172,
487
- "filename": "kernel/common/proc.rb"
488
- },
489
- {
490
- "method": "call",
491
- "lineno": 71,
492
- "filename": "kernel/common/method.rb"
493
- },
494
- {
495
- "method": "unescape",
496
- "lineno": 41,
497
- "filename": "/home/travis/.rvm/gems/rbx/gems/rack-1.4.5/lib/rack/utils.rb"
498
- },
499
- {
500
- "method": "decode_www_form_component",
501
- "lineno": 898,
502
- "filename": "/home/travis/.rvm/rubies/rbx/gems/gems/rubysl-uri-2.0.0/lib/uri/common.rb"
503
- }
504
- ],
505
- "exception": {
506
- "message": "Exception2: invalid %-encoding (8%B)",
507
- "class": "ArgumentErrorException2"
508
- }
509
- }
510
- ]
511
- },
512
- "uuid": "d9a419d7-7b11-4435-bf5a-ffaa0fa9ff8c",
513
- "language": "ruby",
514
- "level": "error",
515
- "timestamp": 1416877955,
516
- "server": {
517
- "pid": 3586,
518
- "host": "testing-worker-linux-docker-eeafdf0f-2420-linux-9",
519
- "root": "/home/travis/build/rollbar/rollbar-gem/spec/dummyapp"
520
- },
521
- "environment": "unspecified",
522
- "framework": "Rails: 3.2.17",
523
- "notifier": {
524
- "version": "1.2.9",
525
- "name": "rollbar-gem"
526
- },
527
- "metadata": {
528
- "customer_timestamp": 1416877955
529
- }
530
- }