Plugin for RubyGems to fix its s3 fetch / download functionality
This is a RubyGems plugin. To use it, simply install it and RubyGems will automatically detect and use it.
gem install s3_source
To add an s3 gem source, edit your .gemrc file (usually found at ~/.gemrc). You must add the s3 bucket to the regular sources
, then add the
s3_source
key with a set of credentials for each s3 hostname.
:sources:
- s3://bucket1/path
- s3://bucket2/
- https://rubygems.org/
s3_source: {
bucket1: {
id: "AOUEAOEU123123AOEUAO",
secret: "aodnuhtdao/saeuhto+19283oaehu/asoeu+123h"
},
bucket2: {
id: "AOUEAOEU123123AOEUAO",
secret: "aodnuhtdao/saeuhto+19283oaehu/asoeu+123h"
}
}
- Fork it ( https://github.com/[my-github-username]/s3_source/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request