Sha256: f3ebde5d3b23cef66e22e95c943d49b524cbb2f0ffc5d5ef830ccfe5c02f4416

Contents?: true

Size: 1.26 KB

Versions: 3

Compression:

Stored size: 1.26 KB

Contents

require File.expand_path("../lib/down/version", __FILE__)

Gem::Specification.new do |spec|
  spec.name         = "down"
  spec.version      = Down::VERSION

  spec.required_ruby_version = ">= 2.3"

  spec.summary      = "Robust streaming downloads using Net::HTTP, HTTP.rb or wget."
  spec.homepage     = "https://github.com/janko/down"
  spec.authors      = ["Janko Marohnić"]
  spec.email        = ["janko.marohnic@gmail.com"]
  spec.license      = "MIT"

  spec.files        = Dir["README.md", "LICENSE.txt", "CHANGELOG.md", "*.gemspec", "lib/**/*.rb"]
  spec.require_path = "lib"

  spec.add_dependency "addressable", "~> 2.8"

  spec.add_development_dependency "minitest", "~> 5.8"
  spec.add_development_dependency "mocha", "~> 1.5"
  spec.add_development_dependency "rake"
  # http 5.0 drop support of ruby 2.3 and 2.4. We still support those versions.
  if RUBY_VERSION >= "2.5"
    spec.add_development_dependency "http", "~> 5.0"
  else
    spec.add_development_dependency "http", "~> 4.3"
  end
  spec.add_development_dependency "posix-spawn" unless RUBY_ENGINE == "jruby"
  spec.add_development_dependency "http_parser.rb" unless RUBY_ENGINE == "jruby"
  spec.add_development_dependency "docker-api"
  spec.add_development_dependency "warning" if RUBY_VERSION >= "2.4"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
down-5.3.1 down.gemspec
down-5.3.0 down.gemspec
down-5.2.4 down.gemspec