octopress/deploy — pull request #34 by JohnKellyFerguson (2014-07-05 08:18:45+00:00)
Title: Pass options to initialization when adding a bucket

Currently, running the command `octopress deploy add-bucket` generates the following error:

```
/octopress-deploy-1.0.0.rc.9/lib/octopress-deploy/s3.rb:8:in `initialize': wrong number of arguments (0 for 1) (ArgumentError)
```

This is because the deployment options used for setting up an S3 bucket are not passed on to the S3's class [initialization method](https://github.com/octopress/deploy/blob/master/lib/octopress-deploy/s3.rb#L8).

This PR adds the options hash as the arguments to the initialization call to S3.

Users should now be able to add buckets when setting up deployment.