We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I just upgraded my project from grape 0.11.0 to 0.12.0 and it appears that Rack::Logjam::Grape::Middleware no longer works...
(NoMethodError)undefined method `first' for #<Rack::Response:0x007f9df738d118> /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-logjam-0.2.1/lib/rack/logjam/grape/middleware.rb:18:in `after' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/grape-0.12.0/lib/grape/middleware/base.rb:25:in `call!' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/grape-0.12.0/lib/grape/middleware/base.rb:18:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/grape-librato-1.1.0/lib/grape-librato/middleware.rb:17:in `block in call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/librato-rack-0.4.5/lib/librato/collector/aggregator.rb:70:in `measure' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/grape-librato-1.1.0/lib/grape-librato/middleware.rb:16:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/grape-0.12.0/lib/grape/middleware/error.rb:27:in `block in call!' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/grape-0.12.0/lib/grape/middleware/error.rb:26:in `catch' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/grape-0.12.0/lib/grape/middleware/error.rb:26:in `call!' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/grape-0.12.0/lib/grape/middleware/base.rb:18:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-1.6.4/lib/rack/head.rb:13:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-1.6.4/lib/rack/builder.rb:153:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/grape-0.12.0/lib/grape/endpoint.rb:196:in `call!' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/grape-0.12.0/lib/grape/endpoint.rb:184:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:68:in `optimized_each' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/grape-0.12.0/lib/grape/api.rb:98:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/grape-0.12.0/lib/grape/api.rb:33:in `call!' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/grape-0.12.0/lib/grape/api.rb:29:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/routing/mapper.rb:51:in `serve' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:43:in `block in serve' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:30:in `each' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:30:in `serve' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:821:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/ember-cli-rails-0.3.2/lib/ember-cli/middleware.rb:14:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-cors-0.4.0/lib/rack/cors.rb:80:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-1.6.4/lib/rack/head.rb:13:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/middleware/params_parser.rb:27:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/middleware/flash.rb:260:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/middleware/cookies.rb:560:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/activerecord-4.2.3/lib/active_record/query_cache.rb:36:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/activerecord-4.2.3/lib/active_record/migration.rb:377:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:84:in `run_callbacks' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/middleware/callbacks.rb:27:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/middleware/reloader.rb:73:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/middleware/remote_ip.rb:78:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/railties-4.2.3/lib/rails/rack/logger.rb:38:in `call_app' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/railties-4.2.3/lib/rails/rack/logger.rb:20:in `block in call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:68:in `block in tagged' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:68:in `tagged' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/railties-4.2.3/lib/rails/rack/logger.rb:20:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/middleware/request_id.rb:21:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/activesupport-4.2.3/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/actionpack-4.2.3/lib/action_dispatch/middleware/static.rb:116:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-cors-0.4.0/lib/rack/cors.rb:80:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/railties-4.2.3/lib/rails/engine.rb:518:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/railties-4.2.3/lib/rails/application.rb:165:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/puma-2.11.3/lib/puma/server.rb:507:in `handle_request' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/puma-2.11.3/lib/puma/server.rb:375:in `process_client' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/puma-2.11.3/lib/puma/server.rb:262:in `block in run' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/puma-2.11.3/lib/puma/thread_pool.rb:104:in `call' /Users/jpaas/.rvm/gems/ruby-2.2.2@imdcloud/gems/puma-2.11.3/lib/puma/thread_pool.rb:104:in `block in spawn_thread'
The text was updated successfully, but these errors were encountered:
fixes ninja-loss#1
456ce6d
No branches or pull requests
I just upgraded my project from grape 0.11.0 to 0.12.0 and it appears that Rack::Logjam::Grape::Middleware no longer works...
The text was updated successfully, but these errors were encountered: