🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

schiphol

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schiphol

bundlerRubygems
Version
1.0.2
Version published
Maintainers
1
Created
Source

Schiphol

... is a smart downloader script for Ruby, with

  • Progress bar for downloads, with ETA.
  • Following for 301/302 redirect links.
  • Automatic file type resolution w/ MIMEs.
  • Automatic retries for failed downloads.

Install

gem install schiphol

Usage

Basic

It can't get simpler.

require 'schiphol'

Schiphol.download('http://www.url.com/path/to/file.html')

Advanced

require 'schiphol'

Schiphol.download(
  'http://www.url.com/path/to/file.html',
  # Default values
  :download_folder => '$GEM$/lib/downloads',
  :target_directory => '',
  :show_progress => true,
  :rectify_extensions => false,
  :max_tries => 3
)

Where $GEM$ represents the gem's directory.

License

This software is released under the GPL.

FAQs

Package last updated on 22 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts