airbrake-api 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,41 @@
1
+ HTTP/1.1 200 OK
2
+
3
+ <?xml version="1.0" encoding="UTF-8"?>
4
+ <groups type="array">
5
+ <group>
6
+ <action>index</action>
7
+ <controller>shades</controller>
8
+ <created-at type="datetime">2010-04-16T21:45:30Z</created-at>
9
+ <error-class>ActiveRecord::StatementInvalid</error-class>
10
+ <error-message>ActiveRecord::StatementInvalid: Mysql::Error: Unknown column 'otype' in 'order clause': SELECT shades.id, shades.member_id, shades.equity_id, shades.etype, shades.shade_type, shade_executions.shade_id, shade_executions.price_in_cents, shade_executions.tra</error-message>
11
+ <file>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb</file>
12
+ <id type="integer">1696170</id>
13
+ <lighthouse-ticket-id type="integer" nil="true"></lighthouse-ticket-id>
14
+ <line-number type="integer">219</line-number>
15
+ <most-recent-notice-at type="datetime">2010-04-24T02:27:11Z</most-recent-notice-at>
16
+ <notice-hash>71ce436b9c091d468daf479eeee4b216</notice-hash>
17
+ <notices-count type="integer">455</notices-count>
18
+ <project-id type="integer">248</project-id>
19
+ <rails-env>production</rails-env>
20
+ <resolved type="boolean">false</resolved>
21
+ <updated-at type="datetime">2010-04-24T02:27:11Z</updated-at>
22
+ </group>
23
+ <group>
24
+ <action>index</action>
25
+ <controller>member_ballots</controller>
26
+ <created-at type="datetime">2010-04-16T20:19:25Z</created-at>
27
+ <error-class>ActiveRecord::StatementInvalid</error-class>
28
+ <error-message>ActiveRecord::StatementInvalid: Mysql::Error: Unknown column 'group_count' in 'order clause': SELECT `members`.* FROM `members` right join member_ballots on member_ballots.member_id = members.id WHERE (member_ballots.posting_id = 4703) ORDER BY `group_cou</error-message>
29
+ <file>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb</file>
30
+ <id type="integer">1695879</id>
31
+ <lighthouse-ticket-id type="integer" nil="true"></lighthouse-ticket-id>
32
+ <line-number type="integer">219</line-number>
33
+ <most-recent-notice-at type="datetime">2010-04-24T02:25:41Z</most-recent-notice-at>
34
+ <notice-hash>8e80ee8d42a6922f28d936eb25b1203e</notice-hash>
35
+ <notices-count type="integer">895</notices-count>
36
+ <project-id type="integer">248</project-id>
37
+ <rails-env>production</rails-env>
38
+ <resolved type="boolean">false</resolved>
39
+ <updated-at type="datetime">2010-04-24T02:25:41Z</updated-at>
40
+ </group>
41
+ </groups>
@@ -0,0 +1,101 @@
1
+ HTTP/1.1 200 OK
2
+
3
+ <?xml version="1.0" encoding="UTF-8"?>
4
+ <notices type="array">
5
+ <notice>
6
+ <created-at type="datetime">2010-05-21T10:31:41Z</created-at>
7
+ <error-message>NoMethodError: undefined method `oh_no_not_that' for nil:NilClass</error-message>
8
+ <group-id type="integer">1696170</group-id>
9
+ <id type="integer">1234</id>
10
+ <project-id type="integer">248</project-id>
11
+ <updated-at type="datetime">2010-05-21T10:31:41Z</updated-at>
12
+ </notice>
13
+ <notice>
14
+ <created-at type="datetime">2010-05-21T05:22:47Z</created-at>
15
+ <error-message>NoMethodError: undefined method `oh_no_not_that' for nil:NilClass</error-message>
16
+ <group-id type="integer">1696170</group-id>
17
+ <id type="integer">1234</id>
18
+ <project-id type="integer">248</project-id>
19
+ <updated-at type="datetime">2010-05-21T05:22:47Z</updated-at>
20
+ </notice>
21
+ <notice>
22
+ <created-at type="datetime">2010-05-20T23:54:26Z</created-at>
23
+ <error-message>NoMethodError: undefined method `oh_no_not_that' for nil:NilClass</error-message>
24
+ <group-id type="integer">1696170</group-id>
25
+ <id type="integer">1234</id>
26
+ <project-id type="integer">248</project-id>
27
+ <updated-at type="datetime">2010-05-20T23:54:26Z</updated-at>
28
+ </notice>
29
+ <notice>
30
+ <created-at type="datetime">2010-05-20T17:38:06Z</created-at>
31
+ <error-message>NoMethodError: undefined method `oh_no_not_that' for nil:NilClass</error-message>
32
+ <group-id type="integer">1696170</group-id>
33
+ <id type="integer">1234</id>
34
+ <project-id type="integer">248</project-id>
35
+ <updated-at type="datetime">2010-05-20T17:38:06Z</updated-at>
36
+ </notice>
37
+ <notice>
38
+ <created-at type="datetime">2010-05-20T11:08:22Z</created-at>
39
+ <error-message>NoMethodError: undefined method `oh_no_not_that' for nil:NilClass</error-message>
40
+ <group-id type="integer">1696170</group-id>
41
+ <id type="integer">1234</id>
42
+ <project-id type="integer">248</project-id>
43
+ <updated-at type="datetime">2010-05-20T11:08:22Z</updated-at>
44
+ </notice>
45
+ <notice>
46
+ <created-at type="datetime">2010-05-20T11:07:09Z</created-at>
47
+ <error-message>NoMethodError: undefined method `oh_no_not_that' for nil:NilClass</error-message>
48
+ <group-id type="integer">1696170</group-id>
49
+ <id type="integer">1234</id>
50
+ <project-id type="integer">248</project-id>
51
+ <updated-at type="datetime">2010-05-20T11:07:09Z</updated-at>
52
+ </notice>
53
+ <notice>
54
+ <created-at type="datetime">2010-05-20T11:05:02Z</created-at>
55
+ <error-message>NoMethodError: undefined method `oh_no_not_that' for nil:NilClass</error-message>
56
+ <group-id type="integer">1696170</group-id>
57
+ <id type="integer">1234</id>
58
+ <project-id type="integer">248</project-id>
59
+ <updated-at type="datetime">2010-05-20T11:05:02Z</updated-at>
60
+ </notice>
61
+ <notice>
62
+ <created-at type="datetime">2010-05-20T11:04:50Z</created-at>
63
+ <error-message>NoMethodError: undefined method `oh_no_not_that' for nil:NilClass</error-message>
64
+ <group-id type="integer">1696170</group-id>
65
+ <id type="integer">1234</id>
66
+ <project-id type="integer">248</project-id>
67
+ <updated-at type="datetime">2010-05-20T11:04:50Z</updated-at>
68
+ </notice>
69
+ <notice>
70
+ <created-at type="datetime">2010-05-20T07:45:50Z</created-at>
71
+ <error-message>NoMethodError: undefined method `oh_no_not_that' for nil:NilClass</error-message>
72
+ <group-id type="integer">1696170</group-id>
73
+ <id type="integer">1234</id>
74
+ <project-id type="integer">248</project-id>
75
+ <updated-at type="datetime">2010-05-20T07:45:50Z</updated-at>
76
+ </notice>
77
+ <notice>
78
+ <created-at type="datetime">2010-05-20T05:07:31Z</created-at>
79
+ <error-message>NoMethodError: undefined method `oh_no_not_that' for nil:NilClass</error-message>
80
+ <group-id type="integer">1696170</group-id>
81
+ <id type="integer">1234</id>
82
+ <project-id type="integer">248</project-id>
83
+ <updated-at type="datetime">2010-05-20T05:07:31Z</updated-at>
84
+ </notice>
85
+ <notice>
86
+ <created-at type="datetime">2010-05-20T04:43:33Z</created-at>
87
+ <error-message>NoMethodError: undefined method `oh_no_not_that' for nil:NilClass</error-message>
88
+ <group-id type="integer">1696170</group-id>
89
+ <id type="integer">1234</id>
90
+ <project-id type="integer">248</project-id>
91
+ <updated-at type="datetime">2010-05-20T04:43:33Z</updated-at>
92
+ </notice>
93
+ <notice>
94
+ <created-at type="datetime">2010-05-20T04:43:15Z</created-at>
95
+ <error-message>NoMethodError: undefined method `oh_no_not_that' for nil:NilClass</error-message>
96
+ <group-id type="integer">1696170</group-id>
97
+ <id type="integer">1234</id>
98
+ <project-id type="integer">248</project-id>
99
+ <updated-at type="datetime">2010-05-20T04:43:15Z</updated-at>
100
+ </notice>
101
+ </notices>
@@ -0,0 +1,25 @@
1
+ HTTP/1.1 200 OK
2
+
3
+ <?xml version="1.0" encoding="UTF-8"?>
4
+ <projects>
5
+ <project>
6
+ <id>1</id>
7
+ <name>Venkman</name>
8
+ <api-key>c3bb6f719742fd1e5768d6d1361cfb49</api-key>
9
+ </project>
10
+ <project>
11
+ <id>2</id>
12
+ <name>Stantz</name>
13
+ <api-key>fda6ef9f6ba8382c875468cd70d33ecf</api-key>
14
+ </project>
15
+ <project>
16
+ <id>3</id>
17
+ <name>Spengler</name>
18
+ <api-key>2430242dc52b9fec75095457ac808899</api-key>
19
+ </project>
20
+ <project>
21
+ <id>4</id>
22
+ <name>Zeddemore</name>
23
+ <api-key>051d21b089e532e4bcce2fe1e7fb0e0b</api-key>
24
+ </project>
25
+ </projects>
@@ -0,0 +1,207 @@
1
+ HTTP/1.1 200 OK
2
+
3
+ <?xml version="1.0" encoding="UTF-8"?>
4
+ <group>
5
+ <action>index</action>
6
+ <controller>shades</controller>
7
+ <created-at type="datetime">2010-04-16T21:45:30Z</created-at>
8
+ <error-class>ActiveRecord::StatementInvalid</error-class>
9
+ <error-message>ActiveRecord::StatementInvalid: Mysql::Error: Unknown column 'otype' in 'order clause': SELECT shades.* FROM shades ORDER BY 'otype desc'</error-message>
10
+ <file>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb</file>
11
+ <id type="integer">1696170</id>
12
+ <lighthouse-ticket-id type="integer" nil="true"></lighthouse-ticket-id>
13
+ <line-number type="integer">219</line-number>
14
+ <most-recent-notice-at type="datetime">2010-04-24T02:27:11Z</most-recent-notice-at>
15
+ <notice-hash>71ce436b9c091d468daf479eeee4b216</notice-hash>
16
+ <notices-count type="integer">455</notices-count>
17
+ <project-id type="integer">248</project-id>
18
+ <rails-env>production</rails-env>
19
+ <resolved type="boolean">true</resolved>
20
+ <updated-at type="datetime">2010-04-24T02:27:11Z</updated-at>
21
+ <environment>
22
+ <rack-session-record>#&lt;ActiveRecord::SessionStore::Session:0x2b6486cfc9a0&gt;</rack-session-record>
23
+ <action-controller-rescue-request>#&lt;ActionController::Request:0x2b6486d02788&gt;</action-controller-rescue-request>
24
+ <server-name>_</server-name>
25
+ <http-user-agent>Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)</http-user-agent>
26
+ <rack-run-once>false</rack-run-once>
27
+ <content-length>0</content-length>
28
+ <http-via>1.0 v1-akamaitech.net(ghost) (AkamaiGHost), 1.1 akamai.net(ghost) (AkamaiGHost)</http-via>
29
+ <http-accept-encoding>gzip</http-accept-encoding>
30
+ <path-info>/company/sigm/shades</path-info>
31
+ <rack-url-scheme>http</rack-url-scheme>
32
+ <passenger-app-spawner-idle-time>0</passenger-app-spawner-idle-time>
33
+ <http-te>chunked;q=1.0</http-te>
34
+ <rack-input>#&lt;Rack::RewindableInput:0x2b6486d037a0&gt;</rack-input>
35
+ <http-host>www.myapp.com</http-host>
36
+ <http-accept-language>en-us,en;q=0.5</http-accept-language>
37
+ <server-addr>127.0.0.1</server-addr>
38
+ <http-cache-control>no-cache, max-age=0</http-cache-control>
39
+ <server-protocol>HTTP/1.0</server-protocol>
40
+ <rack-errors>#&lt;IO:0x2b647c6aeeb8&gt;</rack-errors>
41
+ <script-name></script-name>
42
+ <action-controller-request-request-parameters></action-controller-request-request-parameters>
43
+ <remote-addr>127.0.0.1</remote-addr>
44
+ <server-software>nginx/0.6.35</server-software>
45
+ <passenger-spawn-method>smart-lv2</passenger-spawn-method>
46
+ <passenger-environment>production</passenger-environment>
47
+ <http-akamai-origin-hop>2</http-akamai-origin-hop>
48
+ <rack-multithread>false</rack-multithread>
49
+ <http-accept-charset>ISO-8859-1,utf-8;q=0.7,*;q=0.7</http-accept-charset>
50
+ <http-true-client-ip>67.195.110.176</http-true-client-ip>
51
+ <rack.request.query_hash>
52
+ <options>true</options>
53
+ <sort-order>asc</sort-order>
54
+ <sort-key>strike_price_in_cents</sort-key>
55
+ </rack.request.query_hash>
56
+ <rack-version>10</rack-version>
57
+ <action_controller.request.path_parameters>
58
+ <action>index</action>
59
+ <controller>shades</controller>
60
+ <company-id>sigm</company-id>
61
+ </action_controller.request.path_parameters>
62
+ <rack-multiprocess>true</rack-multiprocess>
63
+ <http-x-akamai-config-log-detail>true</http-x-akamai-config-log-detail>
64
+ <request-uri>/company/sigm/shades?options=true&amp;sort_key=strike_price_in_cents&amp;sort_order=asc</request-uri>
65
+ <document-root>/data/myapp/current/public</document-root>
66
+ <server-port>81</server-port>
67
+ <scgi>1</scgi>
68
+ <passenger-app-type>rails</passenger-app-type>
69
+ <passenger-use-global-queue>true</passenger-use-global-queue>
70
+ <action-controller-rescue-response>#&lt;ActionController::Response:0x2b6486d02468&gt;</action-controller-rescue-response>
71
+ <remote-port>33166</remote-port>
72
+ <http-pragma>no-cache</http-pragma>
73
+ <rack-request-query-string>options=true&amp;sort_key=strike_price_in_cents&amp;sort_order=asc</rack-request-query-string>
74
+ <rack.session.options>
75
+ <domain></domain>
76
+ <id>4060bb6302450f0f0e94acc4ec9964e3</id>
77
+ <secure>false</secure>
78
+ <expire-after></expire-after>
79
+ <cookie-only>true</cookie-only>
80
+ <key>_tk_www_session</key>
81
+ <path>/</path>
82
+ <secret>270022c1d7400e0aba2f515d59d3bd56f18d036428c0a16a1292b6d4d1f0a90c67e5247f8e15d67abcc690fe94bac1793789cdef843a679231d7e43d104ad674</secret>
83
+ <httponly>true</httponly>
84
+ </rack.session.options>
85
+ <query-string>options=true&amp;sort_key=strike_price_in_cents&amp;sort_order=asc</query-string>
86
+ <rack.session>
87
+ <sliding-session-expires-at>Fri Apr 23 21:27:12 -0700 2010</sliding-session-expires-at>
88
+ </rack.session>
89
+ <http-x-forwarded-for>67.195.110.176, 96.17.69.188, 67.131.237.20</http-x-forwarded-for>
90
+ <http-accept>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</http-accept>
91
+ <action_controller.request.query_parameters>
92
+ <options>true</options>
93
+ <sort-order>asc</sort-order>
94
+ <sort-key>strike_price_in_cents</sort-key>
95
+ </action_controller.request.query_parameters>
96
+ <passenger-framework-spawner-idle-time>0</passenger-framework-spawner-idle-time>
97
+ <http-connection>close</http-connection>
98
+ <http-x-real-ip>67.131.237.20</http-x-real-ip>
99
+ <request-method>GET</request-method>
100
+ </environment>
101
+ <session>
102
+ <data>
103
+ <sliding-session-expires-at>Fri Apr 23 21:27:12 -0700 2010</sliding-session-expires-at>
104
+ </data>
105
+ </session>
106
+ <request>
107
+ <rails-root>/data/myapp/releases/20100416200739</rails-root>
108
+ <url>http://www.myapp.com/company/sigm/shades?options=true&amp;sort_key=strike_price_in_cents&amp;sort_order=asc</url>
109
+ <params>
110
+ <options>true</options>
111
+ <sort-order>asc</sort-order>
112
+ <action>index</action>
113
+ <controller>shades</controller>
114
+ <company-id>sigm</company-id>
115
+ <sort-key>strike_price_in_cents</sort-key>
116
+ </params>
117
+ </request>
118
+ <backtrace>
119
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:219:in `log_without_newrelic_instrumentation'</line>
120
+ <line>/data/myapp/releases/20100416200739/vendor/plugins/newrelic_rpm/lib/new_relic/agent/instrumentation/active_record_instrumentation.rb:52:in `log'</line>
121
+ <line>/data/myapp/releases/20100416200739/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:62:in `trace_method_execution_with_scope'</line>
122
+ <line>/data/myapp/releases/20100416200739/vendor/plugins/newrelic_rpm/lib/new_relic/agent/instrumentation/active_record_instrumentation.rb:50:in `log'</line>
123
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:323:in `execute'</line>
124
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:608:in `select'</line>
125
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `select_all_without_query_cache'</line>
126
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:60:in `select_all'</line>
127
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:81:in `cache_sql'</line>
128
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:60:in `select_all'</line>
129
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/base.rb:661:in `find_by_sql_without_trace_ActiveRecord___self_name__find_by_sql'</line>
130
+ <line>/data/myapp/releases/20100416200739/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:161:in `find_by_sql'</line>
131
+ <line>/data/myapp/releases/20100416200739/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:62:in `trace_method_execution_with_scope'</line>
132
+ <line>/data/myapp/releases/20100416200739/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:160:in `find_by_sql'</line>
133
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/base.rb:1548:in `find_every'</line>
134
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/base.rb:615:in `find'</line>
135
+ <line>/data/myapp/releases/20100416200739/vendor/gems/will_paginate-2.2.2/lib/will_paginate/finder.rb:82:in `send'</line>
136
+ <line>/data/myapp/releases/20100416200739/vendor/gems/will_paginate-2.2.2/lib/will_paginate/finder.rb:82:in `paginate'</line>
137
+ <line>/data/myapp/releases/20100416200739/vendor/gems/will_paginate-2.2.2/lib/will_paginate/collection.rb:87:in `create'</line>
138
+ <line>/data/myapp/releases/20100416200739/vendor/gems/will_paginate-2.2.2/lib/will_paginate/finder.rb:76:in `paginate'</line>
139
+ <line>/data/myapp/releases/20100416200739/app/controllers/shades_controller.rb:85:in `pagination_for_index'</line>
140
+ <line>/data/myapp/releases/20100416200739/app/controllers/shades_controller.rb:10:in `index'</line>
141
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `send'</line>
142
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `perform_action_without_filters'</line>
143
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters'</line>
144
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'</line>
145
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'</line>
146
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'</line>
147
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:10:in `realtime'</line>
148
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'</line>
149
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'</line>
150
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'</line>
151
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action_without_newrelic_trace'</line>
152
+ <line>/data/myapp/releases/20100416200739/vendor/plugins/newrelic_rpm/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:138:in `perform_action'</line>
153
+ <line>/data/myapp/releases/20100416200739/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:62:in `trace_method_execution_with_scope'</line>
154
+ <line>/data/myapp/releases/20100416200739/vendor/plugins/newrelic_rpm/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:122:in `perform_action'</line>
155
+ <line>/data/myapp/releases/20100416200739/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:38:in `trace_method_execution_no_scope'</line>
156
+ <line>/data/myapp/releases/20100416200739/vendor/plugins/newrelic_rpm/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:117:in `perform_action'</line>
157
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send'</line>
158
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters'</line>
159
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process'</line>
160
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process'</line>
161
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call'</line>
162
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call'</line>
163
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch'</line>
164
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call'</line>
165
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'</line>
166
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call'</line>
167
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call'</line>
168
+ <line>/data/myapp/releases/20100416200739/vendor/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'</line>
169
+ <line>/data/myapp/releases/20100416200739/vendor/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'</line>
170
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call'</line>
171
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:in `call'</line>
172
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'</line>
173
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'</line>
174
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache'</line>
175
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call'</line>
176
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'</line>
177
+ <line>/data/myapp/releases/20100416200739/vendor/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb:24:in `call'</line>
178
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call'</line>
179
+ <line>/data/myapp/releases/20100416200739/vendor/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'</line>
180
+ <line>/data/myapp/releases/20100416200739/vendor/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'</line>
181
+ <line>/data/myapp/releases/20100416200739/vendor/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'</line>
182
+ <line>/data/myapp/releases/20100416200739/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call'</line>
183
+ <line>/usr/lib/passenger/lib/phusion_passenger/rack/request_handler.rb:95:in `process_request'</line>
184
+ <line>/usr/lib/passenger/lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'</line>
185
+ <line>/usr/lib/passenger/lib/phusion_passenger/railz/application_spawner.rb:378:in `start_request_handler'</line>
186
+ <line>/usr/lib/passenger/lib/phusion_passenger/railz/application_spawner.rb:336:in `handle_spawn_application'</line>
187
+ <line>/usr/lib/passenger/lib/phusion_passenger/utils.rb:183:in `safe_fork'</line>
188
+ <line>/usr/lib/passenger/lib/phusion_passenger/railz/application_spawner.rb:334:in `handle_spawn_application'</line>
189
+ <line>/usr/lib/passenger/lib/phusion_passenger/abstract_server.rb:352:in `__send__'</line>
190
+ <line>/usr/lib/passenger/lib/phusion_passenger/abstract_server.rb:352:in `main_loop'</line>
191
+ <line>/usr/lib/passenger/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'</line>
192
+ <line>/usr/lib/passenger/lib/phusion_passenger/abstract_server.rb:163:in `start'</line>
193
+ <line>/usr/lib/passenger/lib/phusion_passenger/railz/application_spawner.rb:213:in `start'</line>
194
+ <line>/usr/lib/passenger/lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'</line>
195
+ <line>/usr/lib/passenger/lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'</line>
196
+ <line>/usr/lib/passenger/lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'</line>
197
+ <line>/usr/lib/passenger/lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'</line>
198
+ <line>/usr/lib/passenger/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'</line>
199
+ <line>/usr/lib/passenger/lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'</line>
200
+ <line>/usr/lib/passenger/lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'</line>
201
+ <line>/usr/lib/passenger/lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'</line>
202
+ <line>/usr/lib/passenger/lib/phusion_passenger/abstract_server.rb:352:in `__send__'</line>
203
+ <line>/usr/lib/passenger/lib/phusion_passenger/abstract_server.rb:352:in `main_loop'</line>
204
+ <line>/usr/lib/passenger/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'</line>
205
+ <line>/usr/lib/passenger/bin/passenger-spawn-server:63</line>
206
+ </backtrace>
207
+ </group>
@@ -0,0 +1,50 @@
1
+ require 'simplecov'
2
+ SimpleCov.start do
3
+ add_group 'Airbrake API', 'lib/airbrake-api'
4
+ add_group 'Specs', 'spec'
5
+ end
6
+
7
+ require 'rspec'
8
+ require 'fakeweb'
9
+
10
+ require 'active_support'
11
+ require 'active_support/core_ext'
12
+ require 'i18n'
13
+ require 'airbrake'
14
+
15
+ require File.expand_path('../../lib/airbrake-api', __FILE__)
16
+
17
+ FakeWeb.allow_net_connect = false
18
+
19
+ DEFAULTS = {:content_type => "application/xml; charset=utf-8", :status => ["403", "Forbidden"]}
20
+
21
+ def fixture_request(verb, url, file)
22
+ FakeWeb.register_uri(verb, url, DEFAULTS.merge(:response => File.join(File.dirname(__FILE__), 'fixtures', file)))
23
+ end
24
+
25
+ # errors
26
+ fixture_request :get, 'http://myapp.airbrakeapp.com/errors.xml?auth_token=abcdefg123456', 'errors.xml'
27
+ fixture_request :get, "http://myapp.airbrakeapp.com/errors.xml?auth_token=abcdefg123456&page=2", 'paginated_errors.xml'
28
+ fixture_request :get, "http://myapp.airbrakeapp.com/errors/1696170.xml?auth_token=abcdefg123456", 'individual_error.xml'
29
+ fixture_request :put, 'http://myapp.airbrakeapp.com/errors/1696170.xml?auth_token=abcdefg123456&group[resolved]=true', 'update_error.xml'
30
+
31
+ # notices
32
+ fixture_request :get, "http://myapp.airbrakeapp.com/errors/1696170/notices.xml?auth_token=abcdefg123456", 'notices.xml'
33
+ fixture_request :get, "http://myapp.airbrakeapp.com/errors/1696170/notices.xml?auth_token=abcdefg123456&page=1", 'notices.xml'
34
+ fixture_request :get, "http://myapp.airbrakeapp.com/errors/1696170/notices.xml?page=1&auth_token=abcdefg123456", 'notices.xml'
35
+ fixture_request :get, "http://myapp.airbrakeapp.com/errors/1696170/notices.xml?auth_token=abcdefg123456&page=2", 'paginated_notices.xml'
36
+ fixture_request :get, "http://myapp.airbrakeapp.com/errors/1696170/notices/1234.xml?auth_token=abcdefg123456", 'individual_notice.xml'
37
+ fixture_request :get, "http://myapp.airbrakeapp.com/errors/1696170/notices/666.xml?auth_token=abcdefg123456", 'broken_notice.xml'
38
+ fixture_request :get, "http://myapp.airbrakeapp.com/errors/1696171/notices.xml?auth_token=abcdefg123456", 'notices.xml'
39
+ fixture_request :get, "http://myapp.airbrakeapp.com/errors/1696171/notices.xml?auth_token=abcdefg123456&page=1", 'notices.xml'
40
+ fixture_request :get, "http://myapp.airbrakeapp.com/errors/1696171/notices.xml?auth_token=abcdefg123456&page=2", 'notices.xml'
41
+ fixture_request :get, "http://myapp.airbrakeapp.com/errors/1696171/notices.xml?auth_token=abcdefg123456&page=3", 'paginated_notices.xml'
42
+ fixture_request :get, "http://myapp.airbrakeapp.com/errors/1696171/notices/1234.xml?auth_token=abcdefg123456", 'notices.xml'
43
+
44
+
45
+ # projects
46
+ fixture_request :get, "http://myapp.airbrakeapp.com/data_api/v1/projects.xml?auth_token=abcdefg123456", 'projects.xml'
47
+
48
+ # ssl responses
49
+ fixture_request :get, "https://sslapp.airbrakeapp.com/errors/1696170.xml?auth_token=abcdefg123456", 'individual_error.xml'
50
+ FakeWeb.register_uri(:get, "http://sslapp.airbrakeapp.com/errors/1696170.xml?auth_token=abcdefg123456", DEFAULTS.merge(:body => " ", :status => ["403", "Forbidden"]))
metadata ADDED
@@ -0,0 +1,220 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: airbrake-api
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.2.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Steve Agalloco
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-09-24 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: httparty
16
+ requirement: &2152600160 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 0.8.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2152600160
25
+ - !ruby/object:Gem::Dependency
26
+ name: hashie
27
+ requirement: &2152631120 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: 1.1.0
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *2152631120
36
+ - !ruby/object:Gem::Dependency
37
+ name: parallel
38
+ requirement: &2152630660 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: 0.5.0
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *2152630660
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: &2152630200 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 0.9.2
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *2152630200
58
+ - !ruby/object:Gem::Dependency
59
+ name: rspec
60
+ requirement: &2152629740 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: 2.6.0
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *2152629740
69
+ - !ruby/object:Gem::Dependency
70
+ name: yard
71
+ requirement: &2152629280 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: 0.7.2
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *2152629280
80
+ - !ruby/object:Gem::Dependency
81
+ name: maruku
82
+ requirement: &2152628820 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ~>
86
+ - !ruby/object:Gem::Version
87
+ version: '0.6'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: *2152628820
91
+ - !ruby/object:Gem::Dependency
92
+ name: simplecov
93
+ requirement: &2152628360 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ~>
97
+ - !ruby/object:Gem::Version
98
+ version: 0.4.2
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: *2152628360
102
+ - !ruby/object:Gem::Dependency
103
+ name: fakeweb
104
+ requirement: &2152627900 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 1.3.0
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: *2152627900
113
+ - !ruby/object:Gem::Dependency
114
+ name: nokogiri
115
+ requirement: &2152627440 !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ~>
119
+ - !ruby/object:Gem::Version
120
+ version: '1.4'
121
+ type: :development
122
+ prerelease: false
123
+ version_requirements: *2152627440
124
+ - !ruby/object:Gem::Dependency
125
+ name: airbrake
126
+ requirement: &2152626980 !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: '3.0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: *2152626980
135
+ - !ruby/object:Gem::Dependency
136
+ name: i18n
137
+ requirement: &2152626520 !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ~>
141
+ - !ruby/object:Gem::Version
142
+ version: 0.6.0
143
+ type: :development
144
+ prerelease: false
145
+ version_requirements: *2152626520
146
+ description: A ruby wrapper for the Airbrake API
147
+ email:
148
+ - steve.agalloco@gmail.com
149
+ executables: []
150
+ extensions: []
151
+ extra_rdoc_files: []
152
+ files:
153
+ - .gitignore
154
+ - .rspec
155
+ - .travis.yml
156
+ - Gemfile
157
+ - README.md
158
+ - Rakefile
159
+ - airbrake-api.gemspec
160
+ - lib/airbrake-api.rb
161
+ - lib/airbrake-api/client.rb
162
+ - lib/airbrake-api/core_extensions.rb
163
+ - lib/airbrake-api/error.rb
164
+ - lib/airbrake-api/notice.rb
165
+ - lib/airbrake-api/project.rb
166
+ - lib/airbrake-api/version.rb
167
+ - lib/airbrake_api.rb
168
+ - spec/airbrake_api/error_spec.rb
169
+ - spec/airbrake_api/notice_spec.rb
170
+ - spec/airbrake_api/project_spec.rb
171
+ - spec/airbrake_api_spec.rb
172
+ - spec/fixtures/broken_notice.xml
173
+ - spec/fixtures/errors.xml
174
+ - spec/fixtures/individual_error.xml
175
+ - spec/fixtures/individual_notice.xml
176
+ - spec/fixtures/notices.xml
177
+ - spec/fixtures/paginated_errors.xml
178
+ - spec/fixtures/paginated_notices.xml
179
+ - spec/fixtures/projects.xml
180
+ - spec/fixtures/update_error.xml
181
+ - spec/spec_helper.rb
182
+ homepage: https://github.com/spagalloco/airbrake-api
183
+ licenses: []
184
+ post_install_message:
185
+ rdoc_options: []
186
+ require_paths:
187
+ - lib
188
+ required_ruby_version: !ruby/object:Gem::Requirement
189
+ none: false
190
+ requirements:
191
+ - - ! '>='
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ required_rubygems_version: !ruby/object:Gem::Requirement
195
+ none: false
196
+ requirements:
197
+ - - ! '>='
198
+ - !ruby/object:Gem::Version
199
+ version: '0'
200
+ requirements: []
201
+ rubyforge_project:
202
+ rubygems_version: 1.8.6
203
+ signing_key:
204
+ specification_version: 3
205
+ summary: A ruby wrapper for the Airbrake API
206
+ test_files:
207
+ - spec/airbrake_api/error_spec.rb
208
+ - spec/airbrake_api/notice_spec.rb
209
+ - spec/airbrake_api/project_spec.rb
210
+ - spec/airbrake_api_spec.rb
211
+ - spec/fixtures/broken_notice.xml
212
+ - spec/fixtures/errors.xml
213
+ - spec/fixtures/individual_error.xml
214
+ - spec/fixtures/individual_notice.xml
215
+ - spec/fixtures/notices.xml
216
+ - spec/fixtures/paginated_errors.xml
217
+ - spec/fixtures/paginated_notices.xml
218
+ - spec/fixtures/projects.xml
219
+ - spec/fixtures/update_error.xml
220
+ - spec/spec_helper.rb