Lolcommits-uploader
Upload your photos to S3
Installation
Add this line to your application's Gemfile:
gem 'lolcommits-uploader'
And then execute:
$ bundle
Or install it yourself as:
$ gem install lolcommits-uploader
Configuration
Put in your $HOME/.s3-uploader.yaml with the following:
aws_access_key_id: WADUSKEY
aws_secret_access_key: WADUSACCESS
aws_bucket_name: WADUSBUCKET
thumb_enable: true
thumb_pixels: 32
Usage
Tasks:
lolcommits-uploader disable # disable uploader in post-commit
lolcommits-uploader enable # enable uploder in post-commit
lolcommits-uploader upload # upload the last commit photo
lolcommits-uploader upload_all # upload all commits photos
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright
Copyright (c) 2012 Raúl Naveiras. See LICENSE for further details.