infochimps/swineherd — Issue #4: FileSystem.get is broken for :s3
Author: kornypoet
Created: 2012-03-02 20:20:08+00:00
State: open

```Swineherd::FileSystem.get(:s3, access_key, secret_key)``` does not produce an ```S3FileSystem``` object because the constructor is expecting an ```options``` hash as an argument, and is instead getting a splatted array.

This error is not encountered if you have a Swineherd config file and do not provide any additional arguments to ```FileSystem.get(:s3)```

Proposal is to make ```S3FileSystem.new``` expect exactly two arguments, ```access_key``` and ```secret_key```, with defaults still being pulled from the (potential) config file.