pengwynn/faraday_middleware — pull request #49 by pda (2012-08-29 08:46:37+00:00)
Title: Cane compliance

Cane was failing for two separate reasons:

```
Methods exceeded maximum allowed ABC complexity (2):

lib/faraday_middleware/rack_compatible.rb FaradayMiddleware::RackCompatible#prepare_env 13
lib/faraday_middleware/rack_compatible.rb FaradayMiddleware::RackCompatible#restore_env 11

Classes are not documented (1):

lib/faraday_middleware/response/chunked.rb:5 Chunked
```

The former has been fixed by extract-method refactoring in 37641f16f192b08ba80edcee3d1346d416117dbd.

The latter might be a bug in cane, but is resolved by adding example usage documentation in d5548bcfa121e744d37ca88df6df0e08e9332894.