octopress / deploy

Deployment for Octopress and Jekyll blogs.
MIT License
75 stars 23 forks source link

Pass options to initialization when adding a bucket #34

Closed johnkferguson closed 10 years ago

johnkferguson commented 10 years ago

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.

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.

parkr commented 10 years ago

:+1:

imathis commented 10 years ago

Thanks!