...
 
Commits (8)
ruby-http (3.3.0-1) experimental; urgency=medium ruby-http (3.3.0-1) experimental; urgency=medium
* Team upload [ Manas kashyap ]
* New upstream release * New upstream release 3.3.0
* Bump standards version to 4.1.4 (no changes) * Watch file updated to use gemwatch.debian.net
* Minimum ruby-http-form-data version updated
-- Manas kashyap <manaskashyaptech@gmail.com> Sat, 05 May 2018 16:59:13 +0000
[ Pirate Praveen ]
* Refresh packaging with dh-make-ruby -w
* Add Rules-Requires-Root: no and update homepage
* Bump Standards-Version to 4.2.1 (no changes needed)
* Refresh patches
* Disable tests using SSL (Started failing with openssl 1.1)
* Remove debian/ruby-http.examples (Examples are no longer present)
-- Pirate Praveen <praveen@debian.org> Sat, 22 Dec 2018 22:12:34 +0530
ruby-http (2.2.2-1) unstable; urgency=medium ruby-http (2.2.2-1) unstable; urgency=medium
......
...@@ -3,7 +3,7 @@ Section: ruby ...@@ -3,7 +3,7 @@ Section: ruby
Priority: optional Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org> Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Uploaders: Pirate Praveen <praveen@debian.org> Uploaders: Pirate Praveen <praveen@debian.org>
Build-Depends: debhelper (>= 11), Build-Depends: debhelper (>= 11~),
gem2deb, gem2deb,
ruby-addressable, ruby-addressable,
ruby-certificate-authority, ruby-certificate-authority,
...@@ -14,12 +14,13 @@ Build-Depends: debhelper (>= 11), ...@@ -14,12 +14,13 @@ Build-Depends: debhelper (>= 11),
ruby-rspec, ruby-rspec,
ruby-rspec-its, ruby-rspec-its,
ruby-simplecov ruby-simplecov
Standards-Version: 4.1.4 Standards-Version: 4.2.1
Vcs-Git: https://salsa.debian.org/ruby-team/ruby-http.git Vcs-Git: https://salsa.debian.org/ruby-team/ruby-http.git
Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-http Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-http
Homepage: https://github.com/httprb/http.rb Homepage: https://github.com/httprb/http
Testsuite: autopkgtest-pkg-ruby Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all XS-Ruby-Versions: all
Rules-Requires-Root: no
Package: ruby-http Package: ruby-http
Architecture: all Architecture: all
......
--- a/spec/support/ssl_helper.rb --- a/spec/support/ssl_helper.rb
+++ b/spec/support/ssl_helper.rb +++ b/spec/support/ssl_helper.rb
@@ -34,6 +34,8 @@ @@ -35,6 +35,8 @@
end end
class ChildCertificate < ::CertificateAuthority::Certificate class ChildCertificate < ::CertificateAuthority::Certificate
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
def initialize(parent) def initialize(parent)
super() super()
@@ -44,7 +46,8 @@ @@ -45,7 +47,8 @@
self.parent = parent self.parent = parent
......
...@@ -23,7 +23,7 @@ Forwarded: not-needed ...@@ -23,7 +23,7 @@ Forwarded: not-needed
url = "http://git.io/jNeY" url = "http://git.io/jNeY"
client = HTTP.follow client = HTTP.follow
expect(client.get(url).to_s).to include "support for non-ascii URIs" expect(client.get(url).to_s).to include "support for non-ascii URIs"
@@ -173,12 +173,12 @@ @@ -207,12 +207,12 @@
describe "#request" do describe "#request" do
context "with non-ASCII URLs" do context "with non-ASCII URLs" do
...@@ -38,7 +38,7 @@ Forwarded: not-needed ...@@ -38,7 +38,7 @@ Forwarded: not-needed
url = "https://github.com/httprb/http.rb/pull/197/ö無" url = "https://github.com/httprb/http.rb/pull/197/ö無"
client = HTTP.follow client = HTTP.follow
expect(client.get(url).to_s).to include "support for non-ascii URIs" expect(client.get(url).to_s).to include "support for non-ascii URIs"
@@ -189,7 +189,7 @@ @@ -223,7 +223,7 @@
let(:headers) { {"Host" => "another.example.com"} } let(:headers) { {"Host" => "another.example.com"} }
let(:client) { described_class.new :headers => headers } let(:client) { described_class.new :headers => headers }
...@@ -49,7 +49,7 @@ Forwarded: not-needed ...@@ -49,7 +49,7 @@ Forwarded: not-needed
end end
--- a/spec/lib/http_spec.rb --- a/spec/lib/http_spec.rb
+++ b/spec/lib/http_spec.rb +++ b/spec/lib/http_spec.rb
@@ -272,16 +272,16 @@ @@ -278,16 +278,16 @@
context "with host only given" do context "with host only given" do
subject { HTTP.persistent host } subject { HTTP.persistent host }
......
It was working before openssl 1.1
Bug, upstream: https://github.com/httprb/http/issues/465
--- a/spec/lib/http_spec.rb
+++ b/spec/lib/http_spec.rb
@@ -116,7 +116,7 @@
expect(response.to_s).to match(/<!doctype html>/)
end
- context "ssl" do
+ xcontext "ssl" do
it "responds with the endpoint's body" do
response = ssl_client.via(proxy.addr, proxy.port).get dummy_ssl.endpoint
expect(response.to_s).to match(/<!doctype html>/)
@@ -152,7 +152,7 @@
expect(response.status).to eq(407)
end
- context "ssl" do
+ pending "ssl" do
it "responds with the endpoint's body" do
response = ssl_client.via(proxy.addr, proxy.port, "username", "password").get dummy_ssl.endpoint
expect(response.to_s).to match(/<!doctype html>/)
--- a/spec/lib/http/client_spec.rb
+++ b/spec/lib/http/client_spec.rb
@@ -261,7 +261,7 @@
let(:client) { described_class.new(options.merge(extra_options)) }
end
- describe "working with SSL" do
+ xdescribe "working with SSL" do
run_server(:dummy_ssl) { DummyServer.new(:ssl => true) }
let(:extra_options) { {} }
disable-network-tests.patch disable-network-tests.patch
add-missing-x509v3-extensions-in-spec add-missing-x509v3-extensions-in-spec
disable-ssl-tests.patch
require 'rspec/core/rake_task' require 'gem2deb/rake/spectask'
RSpec::Core::RakeTask.new Gem2Deb::Rake::RSpecTask.new do |spec|
spec.pattern = './spec/**/*_spec.rb'
task :default => :spec end
version=3 version=3
http://gemwatch.debian.net/http .*/http-(.*).tar.gz https://gemwatch.debian.net/http .*/http-(.*).tar.gz