Downloadr
A simple gem to make downloading files in a Ruby application simple without needing to roll your own downloader implementation.
Installation
Add this line to your application's Gemfile:
gem 'downloadr'
And then execute:
$ bundle
Or install it yourself as:
$ gem install downloadr
Usage
require 'downloadr'
Downloadr::HTTP.download("https://www.openssl.org/source/openssl-1.0.1h.tar.gz")
Contributing
- Fork it ( https://github.com/claudijd/downloadr/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