webmachine-ruby
webmachine-ruby copied to clipboard
Webmachine, the HTTP toolkit (in Ruby)
The specs should run in a way that doesn't rely on timeouts, in order to avoid load-dependent heisenspecs, like this one: https://travis-ci.org/seancribbs/webmachine-ruby/jobs/37496051#L1659
The code for the reel adapter sends multiple arguments to the `::Reel::Server::HTTP.supervise` method: https://github.com/webmachine/webmachine-ruby/blob/c5a556c1628ed384b2b96bee79aeb0a954fbd016/lib/webmachine/adapters/reel.rb#L34 The celluloid-supervision gem expects a single hash argument `def supervise(config={}, &block)`: https://github.com/celluloid/celluloid-supervision/blob/357dcdb4702ab0ed6ba391f884317fc7798b9fd5/lib/celluloid/supervision/supervise.rb#L10 Changing the arguments to...
I am trying to add support for an HTTP2 adapter (based on @kenichi's h2 branch of Reel: https://github.com/celluloid/reel/pull/242). The catch is that it will require a different ruby client in...
I'm currently using Rack/Webmachine/Sequel together. Sequel will only allow you to create transactions with a block - there is no API to start and end a transaction manually. This doesn't...
I ran into an issue trying to update webmachine-test to support cookie sessions (ie, keeping track of all cookies set by the server and automatically responding with them to emulate...
This isn't so much an issue as me trying to understand why some callbacks work the way they do. 1) Why is create_path called so early? I see justifications like...
Adapters which do threading need a way to signalize when they can accept requests. It would also be good when they could do that in their shutdown phase, but i...
This has been mentioned in the other PR, and I remember a couple of random build failures in the past. Can someone point me to a failed build or provide...
In l7 the resource and encodings_provided? is available so encode_body can be used. In this case the standard error response would have to be created outside of render_error though. This...
``` ruby #!/usr/bin/env ruby require 'bundler/setup' require 'webmachine' class Resource < Webmachine::Resource def resource_exists? false end def encodings_provided { 'gzip' => :encode_gzip, 'deflate' => :encode_deflate, 'identity' => :encode_identity } end...