-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It doesn't appear that anyone is using it, since I haven't received a single bug report. And it's a maintenance burden, e.g. I cannot install posix-spawn on my M1 on Ruby 3.3.1 anymore, and the tests without posix-spawn are failing for some reason. So, we remove it from the docs and recommend one of the three other backends. This will allow us to potentially use WebMock in the future instead of spinning up a real HTTP server.
- Loading branch information
Showing
4 changed files
with
6 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec| | |
|
||
spec.required_ruby_version = ">= 2.3" | ||
|
||
spec.summary = "Robust streaming downloads using Net::HTTP, HTTP.rb or wget." | ||
spec.summary = "Robust streaming downloads using Net::HTTP, http.rb or HTTPX." | ||
spec.homepage = "https://github.com/janko/down" | ||
spec.authors = ["Janko Marohnić"] | ||
spec.email = ["[email protected]"] | ||
|
@@ -21,13 +21,6 @@ Gem::Specification.new do |spec| | |
spec.add_development_dependency "mocha", "~> 1.5" | ||
spec.add_development_dependency "rake" | ||
spec.add_development_dependency "httpx", "~> 0", "< 2.0.0" | ||
# 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 "http", RUBY_VERSION >= "2.5" ? "~> 5.0" : "~> 4.3" | ||
spec.add_development_dependency "warning" if RUBY_VERSION >= "2.4" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.