api_explorer 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,6 +20,7 @@ module ApiExplorer
20
20
 
21
21
  def execute
22
22
  require 'net/http'
23
+ require 'coderay'
23
24
  headers = params[:header][:name].zip(params[:header][:value])
24
25
  headers.select!{|header| !header[0].empty? && !header[1].empty?}
25
26
 
@@ -1,3 +1,3 @@
1
1
  module ApiExplorer
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -34013,3 +34013,395 @@ Completed 200 OK in 101.8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
34013
34013
 
34014
34014
  Started GET "/assets/api_explorer/maximize.png" for 127.0.0.1 at 2013-11-21 14:41:10 -0200
34015
34015
  Served asset /api_explorer/maximize.png - 304 Not Modified (2ms)
34016
+
34017
+
34018
+ Started GET "/" for 127.0.0.1 at 2013-11-21 15:42:11 -0200
34019
+ Connecting to database specified by database.yml
34020
+
34021
+ ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished):
34022
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in `retrieve_connection'
34023
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_specification.rb:171:in `retrieve_connection'
34024
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in `connection'
34025
+ activerecord (3.2.15) lib/active_record/query_cache.rb:67:in `rescue in call'
34026
+ activerecord (3.2.15) lib/active_record/query_cache.rb:61:in `call'
34027
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
34028
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
34029
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3050941198494996549__call__701537188154711231__callbacks'
34030
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
34031
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
34032
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
34033
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
34034
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
34035
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
34036
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
34037
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
34038
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
34039
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
34040
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
34041
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
34042
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
34043
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
34044
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
34045
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
34046
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
34047
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
34048
+ railties (3.2.15) lib/rails/railtie/configurable.rb:30:in `method_missing'
34049
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
34050
+ thin (1.6.1) lib/thin/connection.rb:80:in `catch'
34051
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
34052
+ eventmachine (1.0.3) lib/eventmachine.rb:1037:in `call'
34053
+ eventmachine (1.0.3) lib/eventmachine.rb:1037:in `block in spawn_threadpool'
34054
+
34055
+
34056
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
34057
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (19.9ms)
34058
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (30.4ms)
34059
+
34060
+
34061
+ Started GET "/api_explorer" for 127.0.0.1 at 2013-11-21 15:42:14 -0200
34062
+
34063
+ ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished):
34064
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in `retrieve_connection'
34065
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_specification.rb:171:in `retrieve_connection'
34066
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in `connection'
34067
+ activerecord (3.2.15) lib/active_record/query_cache.rb:67:in `rescue in call'
34068
+ activerecord (3.2.15) lib/active_record/query_cache.rb:61:in `call'
34069
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
34070
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
34071
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3050941198494996549__call__701537188154711231__callbacks'
34072
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
34073
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
34074
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
34075
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
34076
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
34077
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
34078
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
34079
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
34080
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
34081
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
34082
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
34083
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
34084
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
34085
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
34086
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
34087
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
34088
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
34089
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
34090
+ railties (3.2.15) lib/rails/railtie/configurable.rb:30:in `method_missing'
34091
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
34092
+ thin (1.6.1) lib/thin/connection.rb:80:in `catch'
34093
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
34094
+ eventmachine (1.0.3) lib/eventmachine.rb:1037:in `call'
34095
+ eventmachine (1.0.3) lib/eventmachine.rb:1037:in `block in spawn_threadpool'
34096
+
34097
+
34098
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
34099
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
34100
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.6ms)
34101
+
34102
+
34103
+ Started GET "/api_explorer" for 127.0.0.1 at 2013-11-21 15:42:19 -0200
34104
+
34105
+ ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished):
34106
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in `retrieve_connection'
34107
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_specification.rb:171:in `retrieve_connection'
34108
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in `connection'
34109
+ activerecord (3.2.15) lib/active_record/query_cache.rb:67:in `rescue in call'
34110
+ activerecord (3.2.15) lib/active_record/query_cache.rb:61:in `call'
34111
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
34112
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
34113
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3050941198494996549__call__701537188154711231__callbacks'
34114
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
34115
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
34116
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
34117
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
34118
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
34119
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
34120
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
34121
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
34122
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
34123
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
34124
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
34125
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
34126
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
34127
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
34128
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
34129
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
34130
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
34131
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
34132
+ railties (3.2.15) lib/rails/railtie/configurable.rb:30:in `method_missing'
34133
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
34134
+ thin (1.6.1) lib/thin/connection.rb:80:in `catch'
34135
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
34136
+ eventmachine (1.0.3) lib/eventmachine.rb:1037:in `call'
34137
+ eventmachine (1.0.3) lib/eventmachine.rb:1037:in `block in spawn_threadpool'
34138
+
34139
+
34140
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
34141
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
34142
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.3ms)
34143
+
34144
+
34145
+ Started GET "/api_explorer" for 127.0.0.1 at 2013-11-21 15:42:54 -0200
34146
+ Connecting to database specified by database.yml
34147
+ Processing by ApiExplorer::ApiController#index as HTML
34148
+ Rendered /Users/toptierlabs/Desktop/Proyectos/api_explorer/app/views/api_explorer/api/_headers.html.erb (0.3ms)
34149
+ Rendered /Users/toptierlabs/Desktop/Proyectos/api_explorer/app/views/api_explorer/api/_authentication.html.erb (0.5ms)
34150
+ Rendered /Users/toptierlabs/Desktop/Proyectos/api_explorer/app/views/api_explorer/api/_response.html.erb (0.3ms)
34151
+ Rendered /Users/toptierlabs/Desktop/Proyectos/api_explorer/app/views/api_explorer/api/index.html.erb within layouts/api_explorer/application (3.9ms)
34152
+ Completed 200 OK in 17.4ms (Views: 17.0ms | ActiveRecord: 0.0ms)
34153
+
34154
+
34155
+
34156
+
34157
+ Started GET "/assets/api_explorer/application.js?body=1" for 127.0.0.1 at 2013-11-21 15:42:54 -0200
34158
+ Started GET "/assets/api_explorer/application.css?body=1" for 127.0.0.1 at 2013-11-21 15:42:54 -0200
34159
+
34160
+ Served asset /api_explorer/application.css - 304 Not Modified (3ms)
34161
+
34162
+
34163
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-11-21 15:42:54 -0200
34164
+
34165
+
34166
+ Started GET "/assets/api_explorer/api.css?body=1" for 127.0.0.1 at 2013-11-21 15:42:54 -0200
34167
+
34168
+ Served asset /jquery_ujs.js - 200 OK (2ms)
34169
+ Served asset /api_explorer/api.css - 304 Not Modified (1ms)
34170
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-11-21 15:42:54 -0200
34171
+
34172
+
34173
+ Started GET "/assets/api_explorer/api.js?body=1" for 127.0.0.1 at 2013-11-21 15:42:54 -0200
34174
+ Served asset /api_explorer/api.js - 304 Not Modified (1ms)
34175
+ Served asset /api_explorer/application.js - 304 Not Modified (25ms)
34176
+ Served asset /jquery.js - 200 OK (6ms)
34177
+
34178
+
34179
+ Started GET "/assets/api_explorer/api.js?body=1" for 127.0.0.1 at 2013-11-21 15:42:55 -0200
34180
+ Served asset /api_explorer/api.js - 304 Not Modified (0ms)
34181
+
34182
+
34183
+ Started GET "/assets/api_explorer/application.js?body=1" for 127.0.0.1 at 2013-11-21 15:42:55 -0200
34184
+ Served asset /api_explorer/application.js - 304 Not Modified (0ms)
34185
+
34186
+
34187
+ Started GET "/api_explorer/method?position=1" for 127.0.0.1 at 2013-11-21 15:42:56 -0200
34188
+ Processing by ApiExplorer::ApiController#method as */*
34189
+ Parameters: {"position"=>"1"}
34190
+ Rendered /Users/toptierlabs/Desktop/Proyectos/api_explorer/app/views/api_explorer/api/parameters.html.erb (0.4ms)
34191
+ Completed 200 OK in 4.6ms (Views: 0.2ms | ActiveRecord: 0.0ms)
34192
+
34193
+
34194
+ Started GET "/assets/api_explorer/minimize.png" for 127.0.0.1 at 2013-11-21 15:42:56 -0200
34195
+ Served asset /api_explorer/minimize.png - 304 Not Modified (2ms)
34196
+
34197
+
34198
+ Started GET "/assets/api_explorer/clear.png" for 127.0.0.1 at 2013-11-21 15:42:56 -0200
34199
+ Served asset /api_explorer/clear.png - 304 Not Modified (1ms)
34200
+
34201
+
34202
+ Started POST "/api_explorer/execute" for 127.0.0.1 at 2013-11-21 15:42:57 -0200
34203
+ Processing by ApiExplorer::ApiController#execute as */*
34204
+ Parameters: {"API_TOKEN"=>"", "header"=>{"name"=>[""], "value"=>[""]}, "authentication_type"=>"", "auth"=>{"basic_auth_user"=>"", "basic_auth_password"=>"[FILTERED]", "header_field"=>"", "secret_key"=>""}, "url"=>"v1/users", "method"=>"GET"}
34205
+
34206
+
34207
+ Started GET "/v1/users" for 127.0.0.1 at 2013-11-21 15:42:57 -0200
34208
+
34209
+ ActionController::RoutingError (No route matches [GET] "/v1/users"):
34210
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
34211
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
34212
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
34213
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
34214
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
34215
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
34216
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
34217
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
34218
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
34219
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
34220
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
34221
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
34222
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
34223
+ railties (3.2.15) lib/rails/railtie/configurable.rb:30:in `method_missing'
34224
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
34225
+ thin (1.6.1) lib/thin/connection.rb:80:in `catch'
34226
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
34227
+ eventmachine (1.0.3) lib/eventmachine.rb:1037:in `call'
34228
+ eventmachine (1.0.3) lib/eventmachine.rb:1037:in `block in spawn_threadpool'
34229
+
34230
+
34231
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
34232
+ Completed 500 Internal Server Error in 51.9ms
34233
+
34234
+ NameError (uninitialized constant ApiExplorer::ApiController::CodeRay):
34235
+ /Users/toptierlabs/Desktop/Proyectos/api_explorer/app/controllers/api_explorer/api_controller.rb:66:in `execute'
34236
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
34237
+ actionpack (3.2.15) lib/abstract_controller/base.rb:167:in `process_action'
34238
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:10:in `process_action'
34239
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
34240
+ activesupport (3.2.15) lib/active_support/callbacks.rb:414:in `_run__3736807865364577281__process_action__1130718791849102997__callbacks'
34241
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
34242
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
34243
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
34244
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
34245
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
34246
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
34247
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
34248
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
34249
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
34250
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
34251
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
34252
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
34253
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
34254
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
34255
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
34256
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
34257
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
34258
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `call'
34259
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
34260
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
34261
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
34262
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
34263
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
34264
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
34265
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
34266
+ railties (3.2.15) lib/rails/railtie/configurable.rb:30:in `method_missing'
34267
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
34268
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
34269
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
34270
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
34271
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
34272
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
34273
+ rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
34274
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
34275
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
34276
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
34277
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
34278
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
34279
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
34280
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
34281
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
34282
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
34283
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__1541119218579394905__call__3317081777704163400__callbacks'
34284
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
34285
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
34286
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
34287
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
34288
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
34289
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
34290
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
34291
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
34292
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
34293
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
34294
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
34295
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
34296
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
34297
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
34298
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
34299
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
34300
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
34301
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
34302
+ railties (3.2.15) lib/rails/railtie/configurable.rb:30:in `method_missing'
34303
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
34304
+ thin (1.6.1) lib/thin/connection.rb:80:in `catch'
34305
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
34306
+ eventmachine (1.0.3) lib/eventmachine.rb:1037:in `call'
34307
+ eventmachine (1.0.3) lib/eventmachine.rb:1037:in `block in spawn_threadpool'
34308
+
34309
+
34310
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
34311
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
34312
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.2ms)
34313
+
34314
+
34315
+ Started GET "/api_explorer" for 127.0.0.1 at 2013-11-21 15:44:53 -0200
34316
+ Connecting to database specified by database.yml
34317
+ Processing by ApiExplorer::ApiController#index as HTML
34318
+ Rendered /Users/toptierlabs/Desktop/Proyectos/api_explorer/app/views/api_explorer/api/_headers.html.erb (0.2ms)
34319
+ Rendered /Users/toptierlabs/Desktop/Proyectos/api_explorer/app/views/api_explorer/api/_authentication.html.erb (0.4ms)
34320
+ Rendered /Users/toptierlabs/Desktop/Proyectos/api_explorer/app/views/api_explorer/api/_response.html.erb (0.2ms)
34321
+ Rendered /Users/toptierlabs/Desktop/Proyectos/api_explorer/app/views/api_explorer/api/index.html.erb within layouts/api_explorer/application (3.4ms)
34322
+ Completed 200 OK in 16.3ms (Views: 15.9ms | ActiveRecord: 0.0ms)
34323
+
34324
+
34325
+ Started GET "/assets/api_explorer/application.css?body=1" for 127.0.0.1 at 2013-11-21 15:44:53 -0200
34326
+
34327
+
34328
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-11-21 15:44:53 -0200
34329
+ Served asset /api_explorer/application.css - 304 Not Modified (5ms)
34330
+
34331
+
34332
+
34333
+
34334
+
34335
+
34336
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-11-21 15:44:53 -0200
34337
+ Served asset /jquery.js - 304 Not Modified (3ms)
34338
+
34339
+ Started GET "/assets/api_explorer/application.js?body=1" for 127.0.0.1 at 2013-11-21 15:44:53 -0200
34340
+
34341
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
34342
+ Started GET "/assets/api_explorer/api.css?body=1" for 127.0.0.1 at 2013-11-21 15:44:53 -0200
34343
+ Started GET "/assets/api_explorer/api.js?body=1" for 127.0.0.1 at 2013-11-21 15:44:53 -0200
34344
+ Served asset /api_explorer/api.css - 304 Not Modified (2ms)
34345
+ Served asset /api_explorer/api.js - 304 Not Modified (1ms)
34346
+ Served asset /api_explorer/application.js - 304 Not Modified (13ms)
34347
+
34348
+
34349
+ Started GET "/assets/api_explorer/api.js?body=1" for 127.0.0.1 at 2013-11-21 15:44:54 -0200
34350
+
34351
+ Served asset /api_explorer/api.js - 304 Not Modified (0ms)
34352
+
34353
+ Started GET "/assets/api_explorer/application.js?body=1" for 127.0.0.1 at 2013-11-21 15:44:54 -0200
34354
+ Served asset /api_explorer/application.js - 304 Not Modified (0ms)
34355
+
34356
+
34357
+ Started GET "/api_explorer/method?position=1" for 127.0.0.1 at 2013-11-21 15:44:56 -0200
34358
+ Processing by ApiExplorer::ApiController#method as */*
34359
+ Parameters: {"position"=>"1"}
34360
+ Rendered /Users/toptierlabs/Desktop/Proyectos/api_explorer/app/views/api_explorer/api/parameters.html.erb (0.5ms)
34361
+ Completed 200 OK in 4.5ms (Views: 0.2ms | ActiveRecord: 0.0ms)
34362
+
34363
+
34364
+
34365
+
34366
+ Started GET "/assets/api_explorer/minimize.png" for 127.0.0.1 at 2013-11-21 15:44:56 -0200
34367
+ Started GET "/assets/api_explorer/clear.png" for 127.0.0.1 at 2013-11-21 15:44:56 -0200
34368
+ Served asset /api_explorer/minimize.png - 304 Not Modified (3ms)
34369
+ Served asset /api_explorer/clear.png - 304 Not Modified (3ms)
34370
+
34371
+
34372
+ Started POST "/api_explorer/execute" for 127.0.0.1 at 2013-11-21 15:44:57 -0200
34373
+ Processing by ApiExplorer::ApiController#execute as */*
34374
+ Parameters: {"API_TOKEN"=>"", "header"=>{"name"=>[""], "value"=>[""]}, "authentication_type"=>"", "auth"=>{"basic_auth_user"=>"", "basic_auth_password"=>"[FILTERED]", "header_field"=>"", "secret_key"=>""}, "url"=>"v1/users", "method"=>"GET"}
34375
+
34376
+
34377
+ Started GET "/v1/users" for 127.0.0.1 at 2013-11-21 15:44:57 -0200
34378
+
34379
+ ActionController::RoutingError (No route matches [GET] "/v1/users"):
34380
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
34381
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
34382
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
34383
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
34384
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
34385
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
34386
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
34387
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
34388
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
34389
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
34390
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
34391
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
34392
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
34393
+ railties (3.2.15) lib/rails/railtie/configurable.rb:30:in `method_missing'
34394
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
34395
+ thin (1.6.1) lib/thin/connection.rb:80:in `catch'
34396
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
34397
+ eventmachine (1.0.3) lib/eventmachine.rb:1037:in `call'
34398
+ eventmachine (1.0.3) lib/eventmachine.rb:1037:in `block in spawn_threadpool'
34399
+
34400
+
34401
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
34402
+ Rendered /Users/toptierlabs/Desktop/Proyectos/api_explorer/app/views/api_explorer/api/history.html.erb (0.4ms)
34403
+ Completed 200 OK in 206.3ms (Views: 0.6ms | ActiveRecord: 0.0ms)
34404
+
34405
+
34406
+ Started GET "/assets/api_explorer/maximize.png" for 127.0.0.1 at 2013-11-21 15:44:57 -0200
34407
+ Served asset /api_explorer/maximize.png - 304 Not Modified (2ms)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_explorer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -59,6 +59,22 @@ dependencies:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: 1.1.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: sqlite3
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
62
78
  description: https://github.com/toptierlabs/api_explorer
63
79
  email:
64
80
  - afigueroa@toptierlabs.com